Skip to main content

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 ParameterConfig Field
--client-ca-certclientCACert
--kube-configkubeConfig
--request-header-ca-certrequestHeaderCACert
--server-ca-certserverCACert
--server-ca-keyserverCAKey

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.

kubeConfig required string pro

KubeConfig is the virtual cluster kubeconfig path.

serverCAKey required string pro

ServerCAKey is the server ca key path.

serverCACert required string pro

ServerCAKey is the server ca cert path.

clientCACert required string pro

ServerCAKey is the client ca cert path.

requestHeaderCACert required string pro

RequestHeaderCACert is the request header ca cert path.