Skip to content

Setup vclusters from an existing cluster, and make a kubeconfig file for access via nodeport.

Notifications You must be signed in to change notification settings

ZeroVocabulary/vcluster-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcluster-setup

Setup vclusters from an existing cluster, and make a kubeconfig file for access. The Kubernetes api will be accessible via nodeport, which means the node IP must be a static/reserved IP (otherwise it may randomly change and invalidate the config).

vcluster-setup <vcluster name>

The kubeconfig file generates in output/kubeconfig.yaml.

Test the kubeconfig file:

kubectl --kubeconfig output/kubeconfig.yaml get namespaces

Notes

Source: https://www.vcluster.com/docs/using-vclusters/access#via-nodeport-service

The link does not tell you how to use the port; you have to add it to the kubeconfig after retrieving it.

About

Setup vclusters from an existing cluster, and make a kubeconfig file for access via nodeport.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages