vinfra service compute k8saas config
Print Kubernetes cluster configuration (must be run as the user who created the Kubernetes cluster):
usage: vinfra service compute k8saas config <cluster>
<cluster>
- Cluster ID or name
Example:
# vinfra service compute k8saas config k8s1 --vinfra-domain domain1 \ --vinfra-project project1 --vinfra-username user1 --vinfra-password password \ > kubeconfig
This command prints the configuration of the Kubernetes cluster k8s1
to the file kubeconfig
.