VMware/Jumpbox: Difference between revisions
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
########################### | ########################### | ||
snap install yq | snap install yq | ||
snap install k9s | |||
ln -s /snap/k9s/current/bin/k9s /usr/local/bin/k9s | |||
################################# | ################################# | ||
## INSTALL KUBECTL-VSPHERE CLI ## | ## INSTALL KUBECTL-VSPHERE CLI ## | ||
Line 40: | Line 42: | ||
tanzu plugin group get vmware-tkg/default:v2.5.1 | tanzu plugin group get vmware-tkg/default:v2.5.1 | ||
tanzu plugin install --group vmware-tkg/default:v2.5.1 | tanzu plugin install --group vmware-tkg/default:v2.5.1 | ||
tanzu context create tkgs.dersllc.com --kubeconfig ~/.kube/config --kubecontext tkgs.dersllc.com | |||
tanzu cluster list -A | |||
tanzu plugin install --group vmware-tmc/default | |||
tanzu plugin install --group vmware-tap/default |
Revision as of 19:23, 14 August 2024
Jumpbox Setup
OS
Ubuntu 24.04 UEFI
IP: edit the /etc/netplan/50-cloud-init.yaml REBOOT
Software
####################### ## INSTALL TANZU CLI ## ####################### sudo mkdir -p /etc/apt/keyrings/ sudo apt-get update sudo apt-get install -y ca-certificates curl gpg curl -fsSL https://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub | sudo gpg --dearmor -o /etc/apt/keyrings/tanzu-archive-keyring.gpg echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/tanzu-archive-keyring.gpg] https://storage.googleapis.com/tanzu-cli-os-packages/apt tanzu-cli-jessie main" | sudo tee /etc/apt/sources.list.d/tanzu.list sudo apt-get update sudo apt-get install -y tanzu-cli ################### ## INSTALL SNAPD ## ################### apt-get install snapd unzip ########################### ## INSTALL Snap Software ## ########################### snap install yq snap install k9s ln -s /snap/k9s/current/bin/k9s /usr/local/bin/k9s ################################# ## INSTALL KUBECTL-VSPHERE CLI ## ################################# wget --no-check-certificate https://tkgs.dersllc.com/wcp/plugin/linux-amd64/vsphere-plugin.zip unzip vsphere-plugin.zip mv bin/* /usr/local/bin/ chmod +x /usr/local/bin/* rm -rf ./bin vsphere-plugin.zip
kubectl-vsphere login --insecure-skip-tls-verify -u admin --server tkgs.dersllc.com --tanzu-kubernetes-cluster-namespace tmc --tanzu-kubernetes-cluster-name hub
tanzu init tanzu plugin group get vmware-tkg/default:v2.5.1 tanzu plugin install --group vmware-tkg/default:v2.5.1 tanzu context create tkgs.dersllc.com --kubeconfig ~/.kube/config --kubecontext tkgs.dersllc.com tanzu cluster list -A tanzu plugin install --group vmware-tmc/default tanzu plugin install --group vmware-tap/default