Kubernetes setup troubleshooting
We need to set up the proper environment variables to connect remotely to the ESX server to deploy the Kubernetes cluster. The following environment variables should be set in order to progress with Kubernetes setup on vSphere:
export GOVC_URL='https://[USERNAME]:[PASSWORD]@[ESXI-HOSTNAME-IP]/sdk' export GOVC_DATASTORE='[DATASTORE-NAME]' export GOVC_DATACENTER='[DATACENTER-NAME]' #username & password used to login to the deployed kube VM export GOVC_RESOURCE_POOL='*/Resources' export GOVC_GUEST_LOGIN='kube:kube' export GOVC_INSECURE=true
Note
Use ESX and vSphere version v5.5 for this tutorial.
Upload the kube.vmdk
to the ESX datastore. The VMDK will be stored in the kube
directory, which will get created by the ...
Get Troubleshooting Docker now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.