You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you get to "Step-5", I originally put my vsphere.conf file at /etc/kubernetes, but I ran into this issue: kubernetes/kubeadm#484. I moved it to /etc/kubernetes/pki temporarily, and I was able to get things working.
My /etc/kubernetes/pki/vsphere.conf file:
[Global]
user = "[email protected]"
password = "MYSUPERSECRETPASSWORD"
server = "MYVCENTERSERVER.MYDOMAIN.com"
port = "443" #Optional
insecure-flag = "1" #set to 1 if the vCenter uses a self-signed cert
datacenter = "MYDATACENTER"
datastore = "MYDATASTORE" #Datastore to use for provisioning volumes using storage classes/dynamic provisioning
working-dir = "Kubernetes"
vm-name = "kubemaster" #Optional
[Disk]
scsicontrollertype = pvscsi
Add the following lines to /etc/kubernetes/manifests/kube-apiserver.yaml on the Master server under the spec > containers > command section
I have the same problem