Virtual cluster kubeconfig
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 pro​
VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config.
virtualClusterKubeConfig
required object pro​kubeConfig
required string pro​
KubeConfig is the virtual cluster kubeconfig path.
kubeConfig
required string pro​serverCAKey
required string pro​
ServerCAKey is the server ca key path.
serverCAKey
required string pro​serverCACert
required string pro​
ServerCAKey is the server ca cert path.
serverCACert
required string pro​clientCACert
required string pro​
ServerCAKey is the client ca cert path.
clientCACert
required string pro​requestHeaderCACert
required string pro​
RequestHeaderCACert is the request header ca cert path.
requestHeaderCACert
required string pro​