2019-10-09 13:25:54 |
Pedro Guimarães |
description |
Juju: 2.6.9
k8s: 1.16
vSphere: 6.5
Running vsphere integrator with an admin account.
When creating PVs, they fail because folder "juju-kubernetes" was not found.
As per VMWare documentation: https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/storageclass.html
Note: VMDK is created inside kubevols folder in datastore which is mentioned in ‘vsphere’ cloudprovider configuration. The cloudprovider config is created during setup of Kubernetes cluster on vSphere.
I will try manually creating this folder and see if the error changes. |
Juju: 2.6.9
k8s: 1.16
vSphere: 6.5
Running vsphere integrator with an admin account.
When creating PVs, they fail because folder "juju-kubernetes" was not found.
As per VMWare documentation: https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/storageclass.html
Note: VMDK is created inside kubevols folder in datastore which is mentioned in ‘vsphere’ cloudprovider configuration. The cloudprovider config is created during setup of Kubernetes cluster on vSphere.
I will try manually creating this folder and see if the error changes.
------
Manually creating the folder did not work.
Actually, Kubernetes is looking for the folder where the k8s VMs are placed and not finding because the value is hard-wired for "juju-kubernetes" out of the box.
There is a manual step to fix it, described on the comments below. |
|