Virtual cluster kubeconfig
Limited vCluster Tenancy Configuration Support
This feature is only available when using the following worker node types:
- Host Nodes
These options let the vCluster proxy connect to the underlying Kubernetes distribution.
Each distribution has its own default locations where it writes its certificates and kubeconfig files. You don't need to configure these unless one of the following occurs:
- You want to use the no-op syncer to connect to a different Kubernetes cluster.
- You want to use an unsupported distribution that has different locations for each of these values.
- You want to use a new distribution version that has changed the default location, but vCluster doesn't support that new version.
| Deprecated Parameter | Config Field |
|---|---|
--client-ca-cert | clientCACert |
--kube-config | kubeConfig |
--request-header-ca-cert | requestHeaderCACert |
--server-ca-cert | serverCACert |
--server-ca-key | serverCAKey |
Config reference​
virtualClusterKubeConfig required object ​
VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config.
virtualClusterKubeConfig required object ​kubeConfig required string ​
KubeConfig is the virtual cluster kubeconfig path.
kubeConfig required string ​serverCAKey required string ​
ServerCAKey is the server ca key path.
serverCAKey required string ​serverCACert required string ​
ServerCAKey is the server ca cert path.
serverCACert required string ​clientCACert required string ​
ServerCAKey is the client ca cert path.
clientCACert required string ​requestHeaderCACert required string ​
RequestHeaderCACert is the request header ca cert path.
requestHeaderCACert required string ​