Control Plane
Support for K0s and K3s is deprecated in vCluster v0.25. K0s support is removed in v0.26.
Migration to a supported Kubernetes distribution is recommended.
Config reference​
controlPlane object ​
Configure vCluster's control plane components and deployment.
controlPlane object ​endpoint string ​
Endpoint is the endpoint of the virtual cluster. This is used to connect to the virtual cluster.
endpoint string ​distro object ​
Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed.
distro object ​k8s object ​
K8S holds K8s relevant configuration.
k8s object ​enabled boolean false ​
Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.
enabled boolean false ​version string ​
Version is the Kubernetes version to use.
version string ​apiServer object ​
APIServer holds configuration specific to starting the api server.
apiServer object ​enabled boolean true ​
Enabled signals this container should be enabled.
enabled boolean true ​command string[] [] ​
Command is the command to start the distro binary. This will override the existing command.
command string[] [] ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs string[] [] ​controllerManager object ​
ControllerManager holds configuration specific to starting the controller manager.
controllerManager object ​enabled boolean true ​
Enabled signals this container should be enabled.
enabled boolean true ​command string[] [] ​
Command is the command to start the distro binary. This will override the existing command.
command string[] [] ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs string[] [] ​scheduler object ​
Scheduler holds configuration specific to starting the scheduler.
scheduler object ​enabled boolean false ​
Enabled signals this container should be enabled.
enabled boolean false ​command string[] [] ​
Command is the command to start the distro binary. This will override the existing command.
command string[] [] ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs string[] [] ​image object ​
Image is the distro image
image object ​registry string ghcr.io ​
Registry is the registry of the container image, e.g. my-registry.com or ghcr.io. This setting can be globally
overridden via the controlPlane.advanced.defaultImageRegistry option. Empty means docker hub.
registry string ghcr.io ​repository string loft-sh/kubernetes ​
Repository is the repository of the container image, e.g. my-repo/my-image
repository string loft-sh/kubernetes ​tag string v1.36.0 ​
Tag is the tag of the container image, and is the default version.
tag string v1.36.0 ​imagePullPolicy string ​
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy string ​env object[] [] ​
Env are extra environment variables to use for the main container and NOT the init container.
env object[] [] ​resources object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] ​
Resources for the distro init container
resources object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] ​securityContext object {} ​
Security options can be used for the distro init container
securityContext object {} ​standalone object ​
Standalone holds configuration for standalone mode. Standalone mode is set automatically when no container is detected and
also implies privateNodes.enabled.
standalone object ​enabled boolean ​
Enabled defines if standalone mode should be enabled.
enabled boolean ​dataDir string /var/lib/vcluster ​
DataDir defines the data directory for the standalone mode.
dataDir string /var/lib/vcluster ​autoNodes object ​
AutoNodes automatically deploys nodes for standalone mode.
autoNodes object ​provider string ​
Provider is the node provider of the nodes in this pool.
provider string ​quantity integer ​
Quantity is the number of nodes to deploy for standalone mode.
quantity integer ​nodeTypeSelector object[] ​
NodeTypeSelector filters the types of nodes that can be provisioned by this pool.
All requirements must be met for a node type to be eligible.
nodeTypeSelector object[] ​property required string ​
Property is the property on the node type to select.
property required string ​operator string ​
Operator is the comparison operator, such as "In", "NotIn", "Exists". If empty, defaults to "In".
operator string ​values string[] ​
Values is the list of values to use for comparison. This is mutually exclusive with value.
values string[] ​value string ​
Value is the value to use for comparison. This is mutually exclusive with values.
value string ​joinNode object ​
JoinNode holds configuration for the standalone control plane node.
joinNode object ​enabled boolean true ​
Enabled defines if the standalone node should be joined into the cluster. If false, only the control plane binaries will be executed and no node will show up in the actual cluster.
enabled boolean true ​preInstallCommands string[] ​
PreInstallCommands are commands that will be executed before containerd, kubelet etc. is installed.
preInstallCommands string[] ​preJoinCommands string[] ​
PreJoinCommands are commands that will be executed before kubeadm join is executed.
preJoinCommands string[] ​postJoinCommands string[] ​
PostJoinCommands are commands that will be executed after kubeadm join is executed.
postJoinCommands string[] ​containerd object ​
Containerd holds configuration for the containerd join process.
containerd object ​enabled boolean true ​
Enabled defines if containerd should be installed and configured by vCluster.
enabled boolean true ​registry object ​
Registry holds configuration for how containerd should be configured to use a registries.
registry object ​configPath string ​
ConfigPath is the path to the containerd registry config.
configPath string ​mirrors {key: object} ​
Mirrors holds configuration for the containerd registry mirrors. E.g. myregistry.io:5000 or docker.io. See https://github.com/containerd/containerd/blob/main/docs/hosts.md for more details.
mirrors {key: object} ​server string ​
Server is the fallback server to use for the containerd registry mirror. E.g. https://registry-1.docker.io. See https://github.com/containerd/containerd/blob/main/docs/hosts.md for more details.
server string ​caCert string[] ​
CACert are paths to CA certificates to use for the containerd registry mirror.
caCert string[] ​skipVerify boolean ​
SkipVerify is a boolean to skip the certificate verification for the containerd registry mirror and allows http connections.
skipVerify boolean ​capabilities string[] ​
Capabilities is a list of capabilities to enable for the containerd registry mirror. If empty, will use pull and resolve capabilities.
capabilities string[] ​overridePath boolean ​
OverridePath is a boolean to override the path for the containerd registry mirror.
overridePath boolean ​hosts object[] ​
Hosts holds configuration for the containerd registry mirror hosts. See https://github.com/containerd/containerd/blob/main/docs/hosts.md for more details.
hosts object[] ​server string ​
Server is the server to use for the containerd registry mirror host. E.g. http://192.168.31.250:5000.
server string ​caCert string[] ​
CACert are paths to CA certificates to use for the containerd registry mirror host.
caCert string[] ​skipVerify boolean ​
SkipVerify is a boolean to skip the certificate verification for the containerd registry mirror and allows http connections.
skipVerify boolean ​capabilities string[] ​
Capabilities is a list of capabilities to enable for the containerd registry mirror. If empty, will use pull and resolve capabilities.
capabilities string[] ​overridePath boolean ​
OverridePath is a boolean to override the path for the containerd registry mirror.
overridePath boolean ​auth {key: object} ​
Auth holds configuration for the containerd registry auth. See https://github.com/containerd/containerd/blob/main/docs/cri/registry.md#configure-registry-credentials for more details.
auth {key: object} ​username string ​
Username is the username for the containerd registry.
username string ​password string ​
Password is the password for the containerd registry.
password string ​identityToken string ​
IdentityToken is the token for the containerd registry.
identityToken string ​auth string ​
Auth is the auth config for the containerd registry.
auth string ​pauseImage string ​
PauseImage is the image for the pause container.
pauseImage string ​caCertPath string ​
CACertPath is the path to the SSL certificate authority used to
secure communications between node and control-plane.
Defaults to "/etc/kubernetes/pki/ca.crt".
caCertPath string ​skipPhases string[] ​
SkipPhases is a list of phases to skip during command execution.
The list of phases can be obtained with the "kubeadm join --help" command.
skipPhases string[] ​nodeRegistration object ​
NodeRegistration holds configuration for the node registration similar to the kubeadm node registration.
nodeRegistration object ​criSocket string ​
CRI socket is the socket for the CRI.
criSocket string ​kubeletExtraArgs object[] ​
KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file
kubeadm writes at runtime for the kubelet to source. This overrides the generic base-level configuration in the kubelet-config ConfigMap
Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.
An argument name in this list is the flag name as it appears on the command line except without leading dash(es).
Extra arguments will override existing default arguments. Duplicate extra arguments are allowed.
kubeletExtraArgs object[] ​name string ​
Name is the name of the argument.
name string ​value string ​
Value is the value of the argument.
value string ​taints object[] ​
Taints are additional taints to set for the kubelet.
taints object[] ​key string ​
Required. The taint key to be applied to a node.
key string ​value string ​
The taint value corresponding to the taint key.
value string ​effect string ​
Required. The effect of the taint on pods
that do not tolerate the taint.
Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
effect string ​ignorePreflightErrors string[] ​
IgnorePreflightErrors provides a slice of pre-flight errors to be ignored when the current node is registered, e.g. 'IsPrivilegedUser,Swap'.
Value 'all' ignores errors from all checks.
ignorePreflightErrors string[] ​imagePullPolicy string ​
ImagePullPolicy specifies the policy for image pulling during kubeadm "init" and "join" operations.
The value of this field must be one of "Always", "IfNotPresent" or "Never".
If this field is unset kubeadm will default it to "IfNotPresent", or pull the required images if not present on the host.
imagePullPolicy string ​backingStore object ​
BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store.
backingStore object ​etcd object ​
Etcd defines that etcd should be used as the backend for the virtual cluster
etcd object ​embedded object ​
Embedded defines to use embedded etcd as a storage backend for the virtual cluster
embedded object ​enabled boolean false ​
Enabled defines if the embedded etcd should be used.
enabled boolean false ​migrateFromDeployedEtcd boolean false ​
MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.
migrateFromDeployedEtcd boolean false ​snapshotCount integer ​
SnapshotCount defines the number of snapshots to keep for the embedded etcd. Defaults to 10000 if less than 1.
snapshotCount integer ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the embedded etcd.
extraArgs string[] [] ​deploy object ​
Deploy defines to use an external etcd that is deployed by the helm chart
deploy object ​enabled boolean false ​
Enabled defines that an external etcd should be deployed.
enabled boolean false ​statefulSet object ​
StatefulSet holds options for the external etcd statefulSet.
statefulSet object ​enabled boolean true ​
Enabled defines if the statefulSet should be deployed
enabled boolean true ​enableServiceLinks boolean true ​
EnableServiceLinks for the StatefulSet pod
enableServiceLinks boolean true ​image object ​
Image is the image to use for the external etcd statefulSet
image object ​registry string registry.k8s.io ​
Registry is the registry of the container image, e.g. my-registry.com or ghcr.io. This setting can be globally
overridden via the controlPlane.advanced.defaultImageRegistry option. Empty means docker hub.
registry string registry.k8s.io ​repository string etcd ​
Repository is the repository of the container image, e.g. my-repo/my-image
repository string etcd ​tag string 3.6.8-0 ​
Tag is the tag of the container image, and is the default version.
tag string 3.6.8-0 ​imagePullPolicy string ​
ImagePullPolicy is the pull policy for the external etcd image
imagePullPolicy string ​env object[] [] ​
Env are extra environment variables
env object[] [] ​extraArgs string[] [] ​
ExtraArgs are appended to the etcd command.
extraArgs string[] [] ​resources object ​
Resources the etcd can consume
resources object ​limits object ​
Limits are resource limits for the container
limits object ​requests object map[cpu:20m memory:150Mi] ​
Requests are minimal resources that will be consumed by the container
requests object map[cpu:20m memory:150Mi] ​pods object ​
Pods defines extra metadata for the etcd pods.
pods object ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​highAvailability object ​
HighAvailability are high availability options
highAvailability object ​replicas integer 1 ​
Replicas are the amount of pods to use.
replicas integer 1 ​scheduling object ​
Scheduling options for the etcd pods.
scheduling object ​nodeSelector object {} ​
NodeSelector is the node selector to apply to the pod.
nodeSelector object {} ​affinity object {} ​
Affinity is the affinity to apply to the pod.
affinity object {} ​tolerations object[] [] ​
Tolerations are the tolerations to apply to the pod.
tolerations object[] [] ​priorityClassName string ​
PriorityClassName is the priority class name for the the pod.
priorityClassName string ​podManagementPolicy string Parallel ​
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy string Parallel ​topologySpreadConstraints object[] [] ​
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints object[] [] ​security object ​
Security options for the etcd pods.
security object ​podSecurityContext object {} ​
PodSecurityContext specifies security context options on the pod level.
podSecurityContext object {} ​containerSecurityContext object {} ​
ContainerSecurityContext specifies security context options on the container level.
containerSecurityContext object {} ​persistence object ​
Persistence options for the etcd pods.
persistence object ​volumeClaim object ​
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim object ​enabled boolean true ​
Enabled enables deploying a persistent volume claim.
enabled boolean true ​accessModes string[] [ReadWriteOnce] ​
AccessModes are the persistent volume claim access modes.
accessModes string[] [ReadWriteOnce] ​retentionPolicy string Retain ​
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy string Retain ​size string 5Gi ​
Size is the persistent volume claim storage size.
size string 5Gi ​storageClass string ​
StorageClass is the persistent volume claim storage class.
storageClass string ​volumeClaimTemplates object[] [] ​
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates object[] [] ​addVolumes object[] [] ​
AddVolumes defines extra volumes for the pod
addVolumes object[] [] ​addVolumeMounts object[] ​
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts object[] ​name string ​
This must match the Name of a Volume.
name string ​readOnly boolean ​
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly boolean ​mountPath string ​
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath string ​subPath string ​
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath string ​mountPropagation string ​
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
mountPropagation string ​subPathExpr string ​
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
subPathExpr string ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​database object ​
Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases.
database object ​embedded object ​
Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster
embedded object ​enabled boolean false ​
Enabled defines if the database should be used.
enabled boolean false ​dataSource string ​
DataSource is the kine dataSource to use for the database. This depends on the database format.
This is optional for the external database. Examples:
- mysql: mysql://username:password@tcp(hostname:3306)/vcluster
- postgres: postgres://username:password@hostname:5432/vcluster
dataSource string ​identityProvider string ​
IdentityProvider is the kine identity provider to use when generating temporary authentication tokens for enhanced security.
This is optional for the external database. Examples:
- aws: RDS IAM Authentication
identityProvider string ​keyFile string ​
KeyFile is the key file to use for the database. This is optional.
keyFile string ​certFile string ​
CertFile is the cert file to use for the database. This is optional.
certFile string ​caFile string ​
CaFile is the ca file to use for the database. This is optional.
caFile string ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to Kine.
extraArgs string[] [] ​external object ​
External defines that an external database should be used as the backend for the virtual cluster
external object ​enabled boolean false ​
Enabled defines if the database should be used.
enabled boolean false ​dataSource string ​
DataSource is the kine dataSource to use for the database. This depends on the database format.
This is optional for the external database. Examples:
- mysql: mysql://username:password@tcp(hostname:3306)/vcluster
- postgres: postgres://username:password@hostname:5432/vcluster
dataSource string ​identityProvider string ​
IdentityProvider is the kine identity provider to use when generating temporary authentication tokens for enhanced security.
This is optional for the external database. Examples:
- aws: RDS IAM Authentication
identityProvider string ​keyFile string ​
KeyFile is the key file to use for the database. This is optional.
keyFile string ​certFile string ​
CertFile is the cert file to use for the database. This is optional.
certFile string ​caFile string ​
CaFile is the ca file to use for the database. This is optional.
caFile string ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to Kine.
extraArgs string[] [] ​connector string ​
Connector specifies a secret located in a connected vCluster Platform that contains database server connection information
to be used by Platform to create a database and database user for the vCluster.
and non-privileged user. A kine endpoint should be created using the database and user on Platform registration.
This is optional.
connector string ​coredns object ​
CoreDNS defines everything related to the coredns that is deployed and used within the vCluster.
coredns object ​enabled boolean true ​
Enabled defines if coredns is enabled
enabled boolean true ​embedded boolean false ​
Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.
embedded boolean false ​security object ​
Security defines pod or container security context.
security object ​podSecurityContext object {} ​
PodSecurityContext specifies security context options on the pod level.
podSecurityContext object {} ​containerSecurityContext object {} ​
ContainerSecurityContext specifies security context options on the container level.
containerSecurityContext object {} ​service object ​
Service holds extra options for the coredns service deployed within the virtual cluster
service object ​spec object map[type:ClusterIP] ​
Spec holds extra options for the coredns service
spec object map[type:ClusterIP] ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​deployment object ​
Deployment holds extra options for the coredns deployment deployed within the virtual cluster
deployment object ​image string ​
Image is the coredns image to use
image string ​replicas integer 1 ​
Replicas is the amount of coredns pods to run.
replicas integer 1 ​nodeSelector object {} ​
NodeSelector is the node selector to use for coredns.
nodeSelector object {} ​affinity object {} ​
Affinity is the affinity to apply to the pod.
affinity object {} ​tolerations object[] [] ​
Tolerations are the tolerations to apply to the pod.
tolerations object[] [] ​resources object ​
Resources are the desired resources for coredns.
resources object ​limits object map[cpu:1000m memory:170Mi] ​
Limits are resource limits for the container
limits object map[cpu:1000m memory:170Mi] ​requests object map[cpu:20m memory:64Mi] ​
Requests are minimal resources that will be consumed by the container
requests object map[cpu:20m memory:64Mi] ​pods object ​
Pods is additional metadata for the coredns pods.
pods object ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​topologySpreadConstraints object[] [map[labelSelector:map[matchLabels:map[k8s-app:vcluster-kube-dns]] maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule]] ​
TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod.
topologySpreadConstraints object[] [map[labelSelector:map[matchLabels:map[k8s-app:vcluster-kube-dns]] maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule]] ​overwriteConfig string ​
OverwriteConfig can be used to overwrite the coredns config
overwriteConfig string ​overwriteManifests string ​
OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns
overwriteManifests string ​priorityClassName string ​
PriorityClassName specifies the priority class name for the CoreDNS pods.
priorityClassName string ​proxy object ​
Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests.
proxy object ​bindAddress string 0.0.0.0 ​
BindAddress under which vCluster will expose the proxy.
bindAddress string 0.0.0.0 ​port integer 8443 ​
Port under which vCluster will expose the proxy. Changing port is currently not supported.
port integer 8443 ​extraSANs string[] [] ​
ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.
extraSANs string[] [] ​hostPathMapper object ​
HostPathMapper defines if vCluster should rewrite host paths.
hostPathMapper object ​enabled boolean ​
Enabled specifies if the host path mapper will be used
enabled boolean ​central boolean ​
Central specifies if the central host path mapper will be used
central boolean ​ingress object ​
Ingress defines options for vCluster ingress deployed by Helm.
ingress object ​enabled boolean false ​
Enabled defines if the control plane ingress should be enabled
enabled boolean false ​host string my-host.com ​
Host is the host where vCluster will be reachable
host string my-host.com ​pathType string ImplementationSpecific ​
PathType is the path type of the ingress
pathType string ImplementationSpecific ​spec object map[tls:[]] ​
Spec allows you to configure extra ingress options.
spec object map[tls:[]] ​annotations object map[nginx.ingress.kubernetes.io/backend-protocol:HTTPS nginx.ingress.kubernetes.io/ssl-passthrough:true nginx.ingress.kubernetes.io/ssl-redirect:true] ​
Annotations are extra annotations for this resource.
annotations object map[nginx.ingress.kubernetes.io/backend-protocol:HTTPS nginx.ingress.kubernetes.io/ssl-passthrough:true nginx.ingress.kubernetes.io/ssl-redirect:true] ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​tlsRoute object ​
TLSRoute defines options for vCluster TLS route deployed by Helm.
tlsRoute object ​enabled boolean false ​
Enabled defines if the control plane should be exposed via a gateway api tls route. Make sure to enable tls passthrough in the gateway via tls.mode to "Passthrough"
enabled boolean false ​apiVersion string gateway.networking.k8s.io/v1 ​
APIVersion is the version of the gateway api tls route.
apiVersion string gateway.networking.k8s.io/v1 ​host string my-host.com ​
Host is the host where vCluster will be reachable
host string my-host.com ​parentRefs object[] [] ​
ParentRefs are the parent references for the TLS route
parentRefs object[] [] ​spec object {} ​
Spec allows you to configure extra tls route options.
spec object {} ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​service object ​
Service defines options for vCluster service deployed by Helm.
service object ​enabled boolean true ​
Enabled defines if the control plane service should be enabled
enabled boolean true ​spec object map[type:ClusterIP] ​
Spec allows you to configure extra service options.
spec object map[type:ClusterIP] ​kubeletNodePort integer 0 ​
KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.
kubeletNodePort integer 0 ​httpsNodePort integer 0 ​
HTTPSNodePort is the node port where https is exposed. Defaults to 0.
httpsNodePort integer 0 ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​statefulSet object ​
StatefulSet defines options for vCluster statefulSet deployed by Helm.
statefulSet object ​highAvailability object ​
HighAvailability holds options related to high availability.
highAvailability object ​replicas integer 1 ​
Replicas is the amount of replicas to use for the statefulSet.
replicas integer 1 ​leaseDuration integer 60 ​
LeaseDuration is the time to lease for the leader.
leaseDuration integer 60 ​renewDeadline integer 40 ​
RenewDeadline is the deadline to renew a lease for the leader.
renewDeadline integer 40 ​retryPeriod integer 15 ​
RetryPeriod is the time until a replica will retry to get a lease.
retryPeriod integer 15 ​resources object ​
Resources are the resource requests and limits for the statefulSet container.
resources object ​limits object map[ephemeral-storage:10Gi memory:4Gi] ​
Limits are resource limits for the container
limits object map[ephemeral-storage:10Gi memory:4Gi] ​requests object map[cpu:200m ephemeral-storage:1Gi memory:256Mi] ​
Requests are minimal resources that will be consumed by the container
requests object map[cpu:200m ephemeral-storage:1Gi memory:256Mi] ​scheduling object ​
Scheduling holds options related to scheduling.
scheduling object ​nodeSelector object {} ​
NodeSelector is the node selector to apply to the pod.
nodeSelector object {} ​affinity object {} ​
Affinity is the affinity to apply to the pod.
affinity object {} ​tolerations object[] [] ​
Tolerations are the tolerations to apply to the pod.
tolerations object[] [] ​priorityClassName string ​
PriorityClassName is the priority class name for the the pod.
priorityClassName string ​podManagementPolicy string Parallel ​
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy string Parallel ​topologySpreadConstraints object[] [] ​
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints object[] [] ​security object ​
Security defines pod or container security context.
security object ​podSecurityContext object {} ​
PodSecurityContext specifies security context options on the pod level.
podSecurityContext object {} ​containerSecurityContext object map[allowPrivilegeEscalation:false runAsGroup:0 runAsUser:0] ​
ContainerSecurityContext specifies security context options on the container level.
containerSecurityContext object map[allowPrivilegeEscalation:false runAsGroup:0 runAsUser:0] ​probes object ​
Probes enables or disables the main container probes.
probes object ​livenessProbe object ​
LivenessProbe specifies if the liveness probe for the container should be enabled
livenessProbe object ​enabled boolean true ​
Enabled defines if this option should be enabled.
enabled boolean true ​failureThreshold integer 60 ​
Number of consecutive failures for the probe to be considered failed
failureThreshold integer 60 ​initialDelaySeconds integer 60 ​
Time (in seconds) to wait before starting the liveness probe
initialDelaySeconds integer 60 ​timeoutSeconds integer 3 ​
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds integer 3 ​periodSeconds integer 2 ​
Frequency (in seconds) to perform the probe
periodSeconds integer 2 ​readinessProbe object ​
ReadinessProbe specifies if the readiness probe for the container should be enabled
readinessProbe object ​enabled boolean true ​
Enabled defines if this option should be enabled.
enabled boolean true ​failureThreshold integer 60 ​
Number of consecutive failures for the probe to be considered failed
failureThreshold integer 60 ​timeoutSeconds integer 3 ​
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds integer 3 ​periodSeconds integer 2 ​
Frequency (in seconds) to perform the probe
periodSeconds integer 2 ​startupProbe object ​
StartupProbe specifies if the startup probe for the container should be enabled
startupProbe object ​enabled boolean true ​
Enabled defines if this option should be enabled.
enabled boolean true ​failureThreshold integer 300 ​
Number of consecutive failures allowed before failing the pod
failureThreshold integer 300 ​timeoutSeconds integer 3 ​
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds integer 3 ​periodSeconds integer 6 ​
Frequency (in seconds) to perform the probe
periodSeconds integer 6 ​persistence object ​
Persistence defines options around persistence for the statefulSet.
persistence object ​volumeClaim object ​
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim object ​enabled string|boolean auto ​
Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine
based on the chosen distro and other options if this is required.
enabled string|boolean auto ​accessModes string[] [ReadWriteOnce] ​
AccessModes are the persistent volume claim access modes.
accessModes string[] [ReadWriteOnce] ​retentionPolicy string Retain ​
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy string Retain ​size string 5Gi ​
Size is the persistent volume claim storage size.
size string 5Gi ​storageClass string ​
StorageClass is the persistent volume claim storage class.
storageClass string ​volumeClaimTemplates object[] [] ​
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates object[] [] ​dataVolume object[] [] ​
Allows you to override the dataVolume. Only works correctly if volumeClaim.enabled=false.
dataVolume object[] [] ​binariesVolume object[] [map[emptyDir:map[] name:binaries]] ​
BinariesVolume defines a binaries volume that is used to retrieve
distro specific executables to be run by the syncer controller.
This volume doesn't need to be persistent.
binariesVolume object[] [map[emptyDir:map[] name:binaries]] ​addVolumes object[] [] ​
AddVolumes defines extra volumes for the pod
addVolumes object[] [] ​addVolumeMounts object[] ​
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts object[] ​name string ​
This must match the Name of a Volume.
name string ​readOnly boolean ​
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly boolean ​mountPath string ​
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath string ​subPath string ​
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath string ​mountPropagation string ​
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
When not set, MountPropagationNone is used.
This field is beta in 1.10.
mountPropagation string ​subPathExpr string ​
Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
subPathExpr string ​enableServiceLinks boolean true ​
EnableServiceLinks for the StatefulSet pod
enableServiceLinks boolean true ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​pods object ​
Additional labels or annotations for the statefulSet pods.
pods object ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​image object ​
Image is the image for the controlPlane statefulSet container
It defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.
If you still want to use the pure OSS build, set the repository to 'loft-sh/vcluster-oss'.
image object ​registry string ghcr.io ​
Registry is the registry of the container image, e.g. my-registry.com or ghcr.io. This setting can be globally
overridden via the controlPlane.advanced.defaultImageRegistry option. Empty means docker hub.
registry string ghcr.io ​repository string loft-sh/vcluster-pro ​
Repository is the repository of the container image, e.g. my-repo/my-image
repository string loft-sh/vcluster-pro ​tag string ​
Tag is the tag of the container image, and is the default version.
tag string ​imagePullPolicy string ​
ImagePullPolicy is the policy how to pull the image.
imagePullPolicy string ​workingDir string ​
WorkingDir specifies in what folder the main process should get started.
workingDir string ​command string[] [] ​
Command allows you to override the main command.
command string[] [] ​args string[] [] ​
Args allows you to override the main arguments.
args string[] [] ​env object[] [] ​
Env are additional environment variables for the statefulSet container.
env object[] [] ​dnsPolicy string ​
Set DNS policy for the pod.
dnsPolicy string ​dnsConfig object ​
Specifies the DNS parameters of a pod.
dnsConfig object ​nameservers string[] ​
A list of DNS name server IP addresses.
This will be appended to the base nameservers generated from DNSPolicy.
Duplicated nameservers will be removed.
nameservers string[] ​searches string[] ​
A list of DNS search domains for host-name lookup.
This will be appended to the base search paths generated from DNSPolicy.
Duplicated search paths will be removed.
searches string[] ​initContainers object[] [] ​
InitContainers are additional init containers for the statefulSet.
initContainers object[] [] ​sidecarContainers object[] [] ​
SidecarContainers are additional sidecar containers for the statefulSet.
sidecarContainers object[] [] ​hostAliases object[] ​
HostAliases allows you to add custom entries to the /etc/hosts file of each Pod created.
hostAliases object[] ​ip string ​
ip string ​hostnames string[] ​
hostnames string[] ​runtimeClassName string ​
RuntimeClassName is the runtime class to set for the statefulSet pods.
runtimeClassName string ​serviceMonitor object ​
ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself.
serviceMonitor object ​enabled boolean false ​
Enabled configures if Helm should create the service monitor.
enabled boolean false ​labels object {} ​
Labels are the extra labels to add to the service monitor.
labels object {} ​annotations object {} ​
Annotations are the extra annotations to add to the service monitor.
annotations object {} ​advanced object ​
Advanced holds additional configuration for the vCluster control plane.
advanced object ​defaultImageRegistry string ​
DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to
upload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.
defaultImageRegistry string ​virtualScheduler object ​
VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster.
Deprecated: Use ControlPlane.Distro.K8S.Scheduler instead.
virtualScheduler object ​enabled boolean false ​
Enabled defines if this option should be enabled.
enabled boolean false ​serviceAccount object ​
ServiceAccount specifies options for the vCluster control plane service account.
serviceAccount object ​enabled boolean true ​
Enabled specifies if the service account should get deployed.
enabled boolean true ​name string ​
Name specifies what name to use for the service account.
name string ​imagePullSecrets object[] ​
ImagePullSecrets defines extra image pull secrets for the service account.
imagePullSecrets object[] ​name string ​
Name of the image pull secret to use.
name string ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​workloadServiceAccount object ​
WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster.
workloadServiceAccount object ​enabled boolean true ​
Enabled specifies if the service account for the workloads should get deployed.
enabled boolean true ​name string ​
Name specifies what name to use for the service account for the virtual cluster workloads.
name string ​imagePullSecrets object[] ​
ImagePullSecrets defines extra image pull secrets for the workload service account.
imagePullSecrets object[] ​name string ​
Name of the image pull secret to use.
name string ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​headlessService object ​
HeadlessService specifies options for the headless service used for the vCluster StatefulSet.
headlessService object ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​labels object {} ​
Labels are extra labels for this resource.
labels object {} ​konnectivity object ​
Konnectivity holds dedicated konnectivity configuration. This is only available when privateNodes.enabled is true.
konnectivity object ​server object ​
Server holds configuration for the konnectivity server.
server object ​enabled boolean true ​
Enabled defines if the konnectivity server should be enabled.
enabled boolean true ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the konnectivity server.
extraArgs string[] [] ​agent object ​
Agent holds configuration for the konnectivity agent.
agent object ​enabled boolean true ​
Enabled defines if the konnectivity agent should be enabled.
enabled boolean true ​replicas integer 1 ​
Replicas is the number of replicas for the konnectivity agent.
replicas integer 1 ​image string ​
Image is the image for the konnectivity agent.
image string ​imagePullPolicy string ​
ImagePullPolicy is the policy how to pull the image.
imagePullPolicy string ​nodeSelector object {} ​
NodeSelector is the node selector for the konnectivity agent.
nodeSelector object {} ​priorityClassName string ​
PriorityClassName is the priority class name for the konnectivity agent.
priorityClassName string ​tolerations object[] [] ​
Tolerations is the tolerations for the konnectivity agent.
tolerations object[] [] ​extraEnv object[] [] ​
ExtraEnv is the extra environment variables for the konnectivity agent.
extraEnv object[] [] ​extraArgs string[] [] ​
ExtraArgs are additional arguments to pass to the konnectivity agent.
extraArgs string[] [] ​registry object ​
Registry allows enabling an embedded docker image registry in vCluster. This is useful for air-gapped environments or when you don't have a public registry available to distribute images.
registry object ​enabled boolean false ​
Enabled defines if the embedded registry should be enabled.
enabled boolean false ​anonymousPull boolean true ​
AnonymousPull allows enabling anonymous pull for the embedded registry. This allows anybody to pull images from the registry without authentication.
anonymousPull boolean true ​config object {} ​
Config is the regular docker registry config. See https://distribution.github.io/distribution/about/configuration/ for more details.
config object {} ​cloudControllerManager object ​
CloudControllerManager holds configuration for the embedded cloud controller manager. This is only available when private nodes are enabled.
The cloud controller manager is responsible for setting the node's ip addresses as well as the provider id for the node and other node metadata.
cloudControllerManager object ​enabled boolean true ​
Enabled defines if the embedded cloud controller manager should be enabled. This defaults to true, but can be disabled if you want to use
an external cloud controller manager such as AWS or GCP. The cloud controller manager is responsible for setting the node's ip addresses as well
as the provider id for the node and other node metadata.
enabled boolean true ​globalMetadata object ​
GlobalMetadata is metadata that will be added to all resources deployed by Helm.
globalMetadata object ​annotations object {} ​
Annotations are extra annotations for this resource.
annotations object {} ​kubeVip object ​
KubeVip holds configuration for embedded kube-vip that announces the virtual cluster endpoint IP on layer 2.
kubeVip object ​enabled boolean false ​
Enabled defines if embedded kube-vip should be enabled.
enabled boolean false ​interface string ​
Interface is the network interface on which the VIP is announced.
interface string ​gateway string ​
Gateway is the gateway address in CIDR notation (e.g., 10.100.0.1/24).
This is used to configure policy-based routing for the VIP and must include the subnet prefix.
gateway string ​podDisruptionBudget object ​
PodDisruptionBudget limits how many pods of an application can be voluntarily disrupted at once
to ensure availability during maintenance or scaling operations.
podDisruptionBudget object ​enabled boolean false ​
Enabled defines if the pod disruption budget should be enabled.
enabled boolean false ​minAvailable object ​
MinAvailable describes the minimal number or percentage of available pods.
minAvailable object ​maxUnavailable object ​
MaxUnavailable describes the minimal number or percentage of unavailable pods.
maxUnavailable object ​unhealthyPodEvictionPolicy string ​
UnhealthyPodEvictionPolicy defines the criteria when unhealthy pods should be considered for eviction.
Currently supported values are:
- IfHealthyBudget - pods that are in the Running phase but not yet healthy are considered disrupted
and may be evicted even if the PodDisruptionBudget criteria are not met.
- AlwaysAllow - pods that are in the Running phase but not yet healthy are considered disrupted
and can be evicted regardless of whether the criteria in a PDB is met.
unhealthyPodEvictionPolicy string ​