Code Monkey home page Code Monkey logo

Comments (2)

divyenpatel avatar divyenpatel commented on June 3, 2024

@DougBernhardt Did you follow instruction documented at https://docs.vmware.com/en/VMware-vSphere/6.7/Cloud-Native-Storage/GUID-039425C1-597F-46FF-8BAA-C5A46FF10E63.html

give an attention to the name of the file you are using to create a secret - vsphere-config-secret.

For example if you have created a secret using following command

kubectl create secret generic vsphere-config-secret --from-file=csi-vsphere.conf --namespace=kube-system

you need to specify csi-vsphere.conf file name in the X_CSI_VSPHERE_CLOUD_CONFIG path at /etc/cloud

            - name: X_CSI_VSPHERE_CLOUD_CONFIG
              value: "/etc/cloud/csi-vsphere.conf"

Also make sure secret is created from the file which contains VirtualCenter block. as below

# tee /etc/kubernetes/csi-vsphere.conf >/dev/null <<EOF
[Global]
cluster-id = "cluster-id"
[VirtualCenter "1.1.1.1"] #IP address of vCenter
insecure-flag = "true" 
user = "user"
password = "password"
port = "443"
datacenters = "datacenter"
EOF

from vsphere-csi-driver.

DougBernhardt avatar DougBernhardt commented on June 3, 2024

Thanks! That worked much better than docs/deploying_csi_vsphere_with_rbac.md

from vsphere-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.