Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created April 4, 2021 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/9ae33ba5d72522d5a8e2d13ef4b42185 to your computer and use it in GitHub Desktop.
Save gowatana/9ae33ba5d72522d5a8e2d13ef4b42185 to your computer and use it in GitHub Desktop.
export SCP=192.168.24.11
export TKC_NS=lab-ns-51
export TKC_NAME=tanzu-cluster-51
export VSPHERE_USERNAME=administrator@vsphere.local
export KUBECTL_VSPHERE_PASSWORD=VMware1!
kubectl vsphere login \
--server=$SCP \
--tanzu-kubernetes-cluster-namespace=$TKC_NS \
--tanzu-kubernetes-cluster-name=$TKC_NAME \
--vsphere-username=$VSPHERE_USERNAME \
--insecure-skip-tls-verify
kubectl config use-context $TKC_NAME
@gowatana
Copy link
Author

gowatana commented Apr 4, 2021

下記の投稿むけ。

vSphere with Tanzu NSX-ALB(Avi)版ラボ環境構築。Part-05 Tanzu Kubernetes クラスタの作成
https://vm.gowatana.jp/entry/2021/04/04/201906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment