Skip to content

Latest commit

 

History

History
 
 

kubernetes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Vmware node exporter on kubernetes

First edit the config.yml file to match your setup. Afterwards, using the read command interactively type in your password, then run the command to create your secret on the cluster. And finally deploy the exporter container.

The pod has prometheus annotations so when there's a prometheus on the cluster it will auto scrape the pod.

read -s VSPHERE_PASSWORD
kubectl create secret generic vmware-exporter-password --from-literal=VSPHERE_PASSWORD=$VSPHERE_PASSWORD
kubectl apply -f .