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 required object โ
Configure vCluster's control plane components and deployment.
controlPlane required object โendpoint required string โ
Endpoint is the endpoint of the virtual cluster. This is used to connect to the virtual cluster.
endpoint required string โdistro required object โ
Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed.
distro required object โk8s required object โ
K8S holds K8s relevant configuration.
k8s required object โenabled required boolean false โ
Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.
enabled required boolean false โversion required string โ
[Deprecated] Version field is deprecated.
Use controlPlane.distro.k8s.image.tag to specify the Kubernetes version instead.
version required string โapiServer required object โ
APIServer holds configuration specific to starting the api server.
apiServer required object โenabled required boolean true โ
Enabled signals this container should be enabled.
enabled required boolean true โcommand required string[] [] โ
Command is the command to start the distro binary. This will override the existing command.
command required string[] [] โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs required string[] [] โcontrollerManager required object โ
ControllerManager holds configuration specific to starting the controller manager.
controllerManager required object โenabled required boolean true โ
Enabled signals this container should be enabled.
enabled required boolean true โcommand required string[] [] โ
Command is the command to start the distro binary. This will override the existing command.
command required string[] [] โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs required string[] [] โscheduler required object โ
Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled
scheduler required object โenabled required boolean false โ
Enabled signals this container should be enabled.
enabled required boolean false โcommand required string[] [] โ
Command is the command to start the distro binary. This will override the existing command.
command required string[] [] โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs required string[] [] โimage required object โ
Image is the distro image
image required object โregistry required 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 required string ghcr.io โrepository required string loft-sh/kubernetes โ
Repository is the repository of the container image, e.g. my-repo/my-image
repository required string loft-sh/kubernetes โtag required string v1.32.8 โ
Tag is the tag of the container image, e.g. latest. If set to the default, it will use the host Kubernetes version.
tag required string v1.32.8 โimagePullPolicy required string โ
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy required string โenv required object[] [] โ
Env are extra environment variables to use for the main container and NOT the init container.
env required object[] [] โresources required object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] โ
Resources for the distro init container
resources required object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] โsecurityContext required object {} โ
Security options can be used for the distro init container
securityContext required object {} โk3s required object โ
[Deprecated] K3S holds K3s relevant configuration.
k3s required object โenabled required boolean false โ
Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.
enabled required boolean false โtoken required string โ
Token is the K3s token to use. If empty, vCluster will choose one.
token required string โimage required object โ
Image is the distro image
image required object โregistry required string โ
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 required string โrepository required string rancher/k3s โ
Repository is the repository of the container image, e.g. my-repo/my-image
repository required string rancher/k3s โtag required string v1.32.7-k3s1 โ
Tag is the tag of the container image, e.g. latest. If set to the default, it will use the host Kubernetes version.
tag required string v1.32.7-k3s1 โimagePullPolicy required string โ
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy required string โenv required object[] โ
Env are extra environment variables to use for the main container and NOT the init container.
env required object[] โresources required object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] โ
Resources for the distro init container
resources required object map[limits:map[cpu:100m memory:256Mi] requests:map[cpu:40m memory:64Mi]] โsecurityContext required object {} โ
Security options can be used for the distro init container
securityContext required object {} โcommand required string[] [] โ
Command is the command to start the distro binary. This will override the existing command.
command required string[] [] โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs required string[] [] โstandalone required object โ
Standalone holds configuration for standalone mode. Standalone mode is set automatically when no container is detected and
also implies privateNodes.enabled.
standalone required object โenabled required boolean โ
Enabled defines if standalone mode should be enabled.
enabled required boolean โdataDir required string /var/lib/vcluster โ
DataDir defines the data directory for the standalone mode.
dataDir required string /var/lib/vcluster โbundleRepository required string https://github.com/loft-sh/kubernetes/releases/download โ
BundleRepository is the repository to use for downloading the Kubernetes bundle. Defaults to https://github.com/loft-sh/kubernetes/releases/download
bundleRepository required string https://github.com/loft-sh/kubernetes/releases/download โbundle required string โ
Bundle is a path to a Kubernetes bundle to use for the standalone mode. If empty, will use the bundleRepository to download the bundle.
bundle required string โjoinNode required object โ
JoinNode holds configuration for the standalone control plane node.
joinNode required object โenabled required 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 required boolean true โname required string โ
Name defines the name of the standalone node. If empty the node will get the hostname as name.
name required string โpreJoinCommands required string[] โ
PreJoinCommands are commands that will be executed before the join process starts.
preJoinCommands required string[] โpostJoinCommands required string[] โ
PostJoinCommands are commands that will be executed after the join process starts.
postJoinCommands required string[] โcontainerd required object โ
Containerd holds configuration for the containerd join process.
containerd required object โenabled required boolean true โ
Enabled defines if containerd should be installed and configured by vCluster.
enabled required boolean true โregistry required object โ
Registry holds configuration for how containerd should be configured to use a registries.
registry required object โconfigPath required string โ
ConfigPath is the path to the containerd registry config.
configPath required string โmirrors required {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 required {key: object} โserver required 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 required string โcaCert required string[] โ
CACert are paths to CA certificates to use for the containerd registry mirror.
caCert required string[] โskipVerify required boolean โ
SkipVerify is a boolean to skip the certificate verification for the containerd registry mirror and allows http connections.
skipVerify required boolean โcapabilities required string[] โ
Capabilities is a list of capabilities to enable for the containerd registry mirror. If empty, will use pull and resolve capabilities.
capabilities required string[] โhosts required 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 required object[] โserver required string โ
Server is the server to use for the containerd registry mirror host. E.g. http://192.168.31.250:5000.
server required string โcaCert required string[] โ
CACert are paths to CA certificates to use for the containerd registry mirror host.
caCert required string[] โskipVerify required boolean โ
SkipVerify is a boolean to skip the certificate verification for the containerd registry mirror and allows http connections.
skipVerify required boolean โcapabilities required string[] โ
Capabilities is a list of capabilities to enable for the containerd registry mirror. If empty, will use pull and resolve capabilities.
capabilities required string[] โimportImages required string[] โ
ImportImages is a list of images to import into the containerd registry from local files. If the path is a folder, all files that end with .tar or .tar.gz in the folder will be imported.
importImages required string[] โpauseImage required string โ
PauseImage is the image for the pause container.
pauseImage required string โcaCertPath required 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 required string โskipPhases required 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 required string[] โnodeRegistration required object โ
NodeRegistration holds configuration for the node registration similar to the kubeadm node registration.
nodeRegistration required object โcriSocket required string โ
CRI socket is the socket for the CRI.
criSocket required string โkubeletExtraArgs required 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 required object[] โtaints required object[] โ
Taints are additional taints to set for the kubelet.
taints required object[] โkey required string โ
Required. The taint key to be applied to a node.
key required string โvalue required string โ
The taint value corresponding to the taint key.
value required string โeffect required string โ
Required. The effect of the taint on pods
that do not tolerate the taint.
Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
effect required string โignorePreflightErrors required 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 required string[] โimagePullPolicy required 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 required string โbackingStore required object โ
BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store.
backingStore required object โetcd required object โ
Etcd defines that etcd should be used as the backend for the virtual cluster
etcd required object โembedded required object โ
Embedded defines to use embedded etcd as a storage backend for the virtual cluster
embedded required object โenabled required boolean false โ
Enabled defines if the embedded etcd should be used.
enabled required boolean false โmigrateFromDeployedEtcd required boolean false โ
MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.
migrateFromDeployedEtcd required boolean false โsnapshotCount required integer โ
SnapshotCount defines the number of snapshots to keep for the embedded etcd. Defaults to 10000 if less than 1.
snapshotCount required integer โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the embedded etcd.
extraArgs required string[] [] โdeploy required object โ
Deploy defines to use an external etcd that is deployed by the helm chart
deploy required object โenabled required boolean false โ
Enabled defines that an external etcd should be deployed.
enabled required boolean false โstatefulSet required object โ
StatefulSet holds options for the external etcd statefulSet.
statefulSet required object โenabled required boolean true โ
Enabled defines if the statefulSet should be deployed
enabled required boolean true โenableServiceLinks required boolean true โ
EnableServiceLinks for the StatefulSet pod
enableServiceLinks required boolean true โimage required object โ
Image is the image to use for the external etcd statefulSet
image required object โregistry required 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 required string registry.k8s.io โrepository required string etcd โ
Repository is the repository of the container image, e.g. my-repo/my-image
repository required string etcd โtag required string 3.5.21-0 โ
Tag is the tag of the container image, e.g. latest. If set to the default, it will use the host Kubernetes version.
tag required string 3.5.21-0 โimagePullPolicy required string โ
ImagePullPolicy is the pull policy for the external etcd image
imagePullPolicy required string โenv required object[] [] โ
Env are extra environment variables
env required object[] [] โextraArgs required string[] [] โ
ExtraArgs are appended to the etcd command.
extraArgs required string[] [] โresources required object โ
Resources the etcd can consume
resources required object โpods required object โ
Pods defines extra metadata for the etcd pods.
pods required object โhighAvailability required object โ
HighAvailability are high availability options
highAvailability required object โreplicas required integer 1 โ
Replicas are the amount of pods to use.
replicas required integer 1 โscheduling required object โ
Scheduling options for the etcd pods.
scheduling required object โnodeSelector required object {} โ
NodeSelector is the node selector to apply to the pod.
nodeSelector required object {} โaffinity required object {} โ
Affinity is the affinity to apply to the pod.
affinity required object {} โtolerations required object[] [] โ
Tolerations are the tolerations to apply to the pod.
tolerations required object[] [] โpriorityClassName required string โ
PriorityClassName is the priority class name for the the pod.
priorityClassName required string โpodManagementPolicy required string Parallel โ
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy required string Parallel โtopologySpreadConstraints required object[] [] โ
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints required object[] [] โsecurity required object โ
Security options for the etcd pods.
security required object โpersistence required object โ
Persistence options for the etcd pods.
persistence required object โvolumeClaim required object โ
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim required object โenabled required boolean true โ
Enabled enables deploying a persistent volume claim.
enabled required boolean true โaccessModes required string[] [ReadWriteOnce] โ
AccessModes are the persistent volume claim access modes.
accessModes required string[] [ReadWriteOnce] โretentionPolicy required string Retain โ
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy required string Retain โsize required string 5Gi โ
Size is the persistent volume claim storage size.
size required string 5Gi โstorageClass required string โ
StorageClass is the persistent volume claim storage class.
storageClass required string โvolumeClaimTemplates required object[] [] โ
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates required object[] [] โaddVolumes required object[] [] โ
AddVolumes defines extra volumes for the pod
addVolumes required object[] [] โaddVolumeMounts required object[] โ
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts required object[] โname required string โ
This must match the Name of a Volume.
name required string โreadOnly required boolean โ
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly required boolean โmountPath required string โ
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath required string โsubPath required string โ
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath required string โmountPropagation required 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 required string โsubPathExpr required 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 required string โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โservice required object โ
Service holds options for the external etcd service.
service required object โexternal required object โ
External defines to use a self-hosted external etcd that is not deployed by the helm chart
external required object โdatabase required 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 required object โembedded required object โ
Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster
embedded required object โenabled required boolean false โ
Enabled defines if the database should be used.
enabled required boolean false โdataSource required string โ
DataSource is the kine dataSource to use for the database. This depends on the database format.
This is optional for the embedded database. Examples:
- mysql: mysql://username:password@tcp(hostname:3306)/k3s
- postgres: postgres://username:password@hostname:5432/k3s
dataSource required string โkeyFile required string โ
KeyFile is the key file to use for the database. This is optional.
keyFile required string โcertFile required string โ
CertFile is the cert file to use for the database. This is optional.
certFile required string โcaFile required string โ
CaFile is the ca file to use for the database. This is optional.
caFile required string โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to Kine.
extraArgs required string[] [] โexternal required object โ
External defines that an external database should be used as the backend for the virtual cluster
external required object โenabled required boolean false โ
Enabled defines if the database should be used.
enabled required boolean false โdataSource required string โ
DataSource is the kine dataSource to use for the database. This depends on the database format.
This is optional for the embedded database. Examples:
- mysql: mysql://username:password@tcp(hostname:3306)/k3s
- postgres: postgres://username:password@hostname:5432/k3s
dataSource required string โkeyFile required string โ
KeyFile is the key file to use for the database. This is optional.
keyFile required string โcertFile required string โ
CertFile is the cert file to use for the database. This is optional.
certFile required string โcaFile required string โ
CaFile is the ca file to use for the database. This is optional.
caFile required string โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to Kine.
extraArgs required string[] [] โconnector required 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 required string โcoredns required object โ
CoreDNS defines everything related to the coredns that is deployed and used within the vCluster.
coredns required object โenabled required boolean true โ
Enabled defines if coredns is enabled
enabled required boolean true โembedded required 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 required boolean false โsecurity required object โ
Security defines pod or container security context.
security required object โservice required object โ
Service holds extra options for the coredns service deployed within the virtual cluster
service required object โdeployment required object โ
Deployment holds extra options for the coredns deployment deployed within the virtual cluster
deployment required object โimage required string โ
Image is the coredns image to use
image required string โreplicas required integer 1 โ
Replicas is the amount of coredns pods to run.
replicas required integer 1 โnodeSelector required object {} โ
NodeSelector is the node selector to use for coredns.
nodeSelector required object {} โaffinity required object {} โ
Affinity is the affinity to apply to the pod.
affinity required object {} โtolerations required object[] [] โ
Tolerations are the tolerations to apply to the pod.
tolerations required object[] [] โresources required object โ
Resources are the desired resources for coredns.
resources required object โpods required object โ
Pods is additional metadata for the coredns pods.
pods required object โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โtopologySpreadConstraints required 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 required object[] [map[labelSelector:map[matchLabels:map[k8s-app:vcluster-kube-dns]] maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule]] โoverwriteConfig required string โ
OverwriteConfig can be used to overwrite the coredns config
overwriteConfig required string โoverwriteManifests required string โ
OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns
overwriteManifests required string โpriorityClassName required string โ
PriorityClassName specifies the priority class name for the CoreDNS pods.
priorityClassName required string โproxy required object โ
Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests.
proxy required object โbindAddress required string 0.0.0.0 โ
BindAddress under which vCluster will expose the proxy.
bindAddress required string 0.0.0.0 โport required integer 8443 โ
Port under which vCluster will expose the proxy. Changing port is currently not supported.
port required integer 8443 โextraSANs required string[] [] โ
ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.
extraSANs required string[] [] โhostPathMapper required object โ
HostPathMapper defines if vCluster should rewrite host paths.
hostPathMapper required object โingress required object โ
Ingress defines options for vCluster ingress deployed by Helm.
ingress required object โenabled required boolean false โ
Enabled defines if the control plane ingress should be enabled
enabled required boolean false โhost required string my-host.com โ
Host is the host where vCluster will be reachable
host required string my-host.com โpathType required string ImplementationSpecific โ
PathType is the path type of the ingress
pathType required string ImplementationSpecific โspec required object map[tls:[]] โ
Spec allows you to configure extra ingress options.
spec required object map[tls:[]] โannotations required 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 required object map[nginx.ingress.kubernetes.io/backend-protocol:HTTPS nginx.ingress.kubernetes.io/ssl-passthrough:true nginx.ingress.kubernetes.io/ssl-redirect:true] โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โservice required object โ
Service defines options for vCluster service deployed by Helm.
service required object โenabled required boolean true โ
Enabled defines if the control plane service should be enabled
enabled required boolean true โspec required object map[type:ClusterIP] โ
Spec allows you to configure extra service options.
spec required object map[type:ClusterIP] โkubeletNodePort required integer 0 โ
KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.
kubeletNodePort required integer 0 โhttpsNodePort required integer 0 โ
HTTPSNodePort is the node port where https is exposed. Defaults to 0.
httpsNodePort required integer 0 โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โstatefulSet required object โ
StatefulSet defines options for vCluster statefulSet deployed by Helm.
statefulSet required object โhighAvailability required object โ
HighAvailability holds options related to high availability.
highAvailability required object โreplicas required integer 1 โ
Replicas is the amount of replicas to use for the statefulSet.
replicas required integer 1 โleaseDuration required integer 60 โ
LeaseDuration is the time to lease for the leader.
leaseDuration required integer 60 โrenewDeadline required integer 40 โ
RenewDeadline is the deadline to renew a lease for the leader.
renewDeadline required integer 40 โretryPeriod required integer 15 โ
RetryPeriod is the time until a replica will retry to get a lease.
retryPeriod required integer 15 โresources required object โ
Resources are the resource requests and limits for the statefulSet container.
resources required object โscheduling required object โ
Scheduling holds options related to scheduling.
scheduling required object โnodeSelector required object {} โ
NodeSelector is the node selector to apply to the pod.
nodeSelector required object {} โaffinity required object {} โ
Affinity is the affinity to apply to the pod.
affinity required object {} โtolerations required object[] [] โ
Tolerations are the tolerations to apply to the pod.
tolerations required object[] [] โpriorityClassName required string โ
PriorityClassName is the priority class name for the the pod.
priorityClassName required string โpodManagementPolicy required string Parallel โ
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy required string Parallel โtopologySpreadConstraints required object[] [] โ
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints required object[] [] โsecurity required object โ
Security defines pod or container security context.
security required object โpodSecurityContext required object {} โ
PodSecurityContext specifies security context options on the pod level.
podSecurityContext required object {} โcontainerSecurityContext required object map[allowPrivilegeEscalation:false runAsGroup:0 runAsUser:0] โ
ContainerSecurityContext specifies security context options on the container level.
containerSecurityContext required object map[allowPrivilegeEscalation:false runAsGroup:0 runAsUser:0] โprobes required object โ
Probes enables or disables the main container probes.
probes required object โlivenessProbe required object โ
LivenessProbe specifies if the liveness probe for the container should be enabled
livenessProbe required object โenabled required boolean true โ
Enabled defines if this option should be enabled.
enabled required boolean true โfailureThreshold required integer 60 โ
Number of consecutive failures for the probe to be considered failed
failureThreshold required integer 60 โinitialDelaySeconds required integer 60 โ
Time (in seconds) to wait before starting the liveness probe
initialDelaySeconds required integer 60 โtimeoutSeconds required integer 3 โ
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds required integer 3 โperiodSeconds required integer 2 โ
Frequency (in seconds) to perform the probe
periodSeconds required integer 2 โreadinessProbe required object โ
ReadinessProbe specifies if the readiness probe for the container should be enabled
readinessProbe required object โenabled required boolean true โ
Enabled defines if this option should be enabled.
enabled required boolean true โfailureThreshold required integer 60 โ
Number of consecutive failures for the probe to be considered failed
failureThreshold required integer 60 โtimeoutSeconds required integer 3 โ
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds required integer 3 โperiodSeconds required integer 2 โ
Frequency (in seconds) to perform the probe
periodSeconds required integer 2 โstartupProbe required object โ
StartupProbe specifies if the startup probe for the container should be enabled
startupProbe required object โenabled required boolean true โ
Enabled defines if this option should be enabled.
enabled required boolean true โfailureThreshold required integer 300 โ
Number of consecutive failures allowed before failing the pod
failureThreshold required integer 300 โtimeoutSeconds required integer 3 โ
Maximum duration (in seconds) that the probe will wait for a response.
timeoutSeconds required integer 3 โperiodSeconds required integer 6 โ
Frequency (in seconds) to perform the probe
periodSeconds required integer 6 โpersistence required object โ
Persistence defines options around persistence for the statefulSet.
persistence required object โvolumeClaim required object โ
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim required object โenabled required 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 required string|boolean auto โaccessModes required string[] [ReadWriteOnce] โ
AccessModes are the persistent volume claim access modes.
accessModes required string[] [ReadWriteOnce] โretentionPolicy required string Retain โ
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy required string Retain โsize required string 5Gi โ
Size is the persistent volume claim storage size.
size required string 5Gi โstorageClass required string โ
StorageClass is the persistent volume claim storage class.
storageClass required string โvolumeClaimTemplates required object[] [] โ
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates required object[] [] โdataVolume required object[] [] โ
Allows you to override the dataVolume. Only works correctly if volumeClaim.enabled=false.
dataVolume required object[] [] โbinariesVolume required 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 required object[] [map[emptyDir:map[] name:binaries]] โaddVolumes required object[] [] โ
AddVolumes defines extra volumes for the pod
addVolumes required object[] [] โaddVolumeMounts required object[] โ
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts required object[] โname required string โ
This must match the Name of a Volume.
name required string โreadOnly required boolean โ
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly required boolean โmountPath required string โ
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath required string โsubPath required string โ
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath required string โmountPropagation required 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 required string โsubPathExpr required 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 required string โenableServiceLinks required boolean true โ
EnableServiceLinks for the StatefulSet pod
enableServiceLinks required boolean true โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โpods required object โ
Additional labels or annotations for the statefulSet pods.
pods required object โimage required object โ
Image is the image for the controlPlane statefulSet container
image required object โregistry required string ghcr.io โ
Configure the registry of the container image, e.g. my-registry.com or ghcr.io
It defaults to ghcr.io and can be overriding either by using this field or controlPlane.advanced.defaultImageRegistry
registry required string ghcr.io โrepository required string loft-sh/vcluster-pro โ
Configure the repository of the container image, e.g. my-repo/my-image.
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, use 'loft-sh/vcluster-oss' instead.
repository required string loft-sh/vcluster-pro โtag required string โ
Tag is the tag of the container image, e.g. latest
tag required string โimagePullPolicy required string โ
ImagePullPolicy is the policy how to pull the image.
imagePullPolicy required string โworkingDir required string โ
WorkingDir specifies in what folder the main process should get started.
workingDir required string โcommand required string[] [] โ
Command allows you to override the main command.
command required string[] [] โargs required string[] [] โ
Args allows you to override the main arguments.
args required string[] [] โenv required object[] [] โ
Env are additional environment variables for the statefulSet container.
env required object[] [] โdnsPolicy required string โ
Set DNS policy for the pod.
dnsPolicy required string โdnsConfig required object โ
Specifies the DNS parameters of a pod.
dnsConfig required object โnameservers required 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 required string[] โsearches required 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 required string[] โoptions required object[] โ
A list of DNS resolver options.
This will be merged with the base options generated from DNSPolicy.
Duplicated entries will be removed. Resolution options given in Options
will override those that appear in the base DNSPolicy.
options required object[] โserviceMonitor required object โ
ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself.
serviceMonitor required object โadvanced required object โ
Advanced holds additional configuration for the vCluster control plane.
advanced required object โdefaultImageRegistry required 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 required string โvirtualScheduler required 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 required object โenabled required boolean false โ
Enabled defines if this option should be enabled.
enabled required boolean false โserviceAccount required object โ
ServiceAccount specifies options for the vCluster control plane service account.
serviceAccount required object โenabled required boolean true โ
Enabled specifies if the service account should get deployed.
enabled required boolean true โname required string โ
Name specifies what name to use for the service account.
name required string โimagePullSecrets required object[] โ
ImagePullSecrets defines extra image pull secrets for the service account.
imagePullSecrets required object[] โname required string โ
Name of the image pull secret to use.
name required string โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โworkloadServiceAccount required object โ
WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster.
workloadServiceAccount required object โenabled required boolean true โ
Enabled specifies if the service account for the workloads should get deployed.
enabled required boolean true โname required string โ
Name specifies what name to use for the service account for the virtual cluster workloads.
name required string โimagePullSecrets required object[] โ
ImagePullSecrets defines extra image pull secrets for the workload service account.
imagePullSecrets required object[] โname required string โ
Name of the image pull secret to use.
name required string โannotations required object {} โ
Annotations are extra annotations for this resource.
annotations required object {} โlabels required object {} โ
Labels are extra labels for this resource.
labels required object {} โheadlessService required object โ
HeadlessService specifies options for the headless service used for the vCluster StatefulSet.
headlessService required object โkonnectivity required object โ
Konnectivity holds dedicated konnectivity configuration. This is only available when privateNodes.enabled is true.
konnectivity required object โserver required object โ
Server holds configuration for the konnectivity server.
server required object โagent required object โ
Agent holds configuration for the konnectivity agent.
agent required object โenabled required boolean true โ
Enabled defines if the konnectivity agent should be enabled.
enabled required boolean true โreplicas required integer 1 โ
Replicas is the number of replicas for the konnectivity agent.
replicas required integer 1 โimage required string โ
Image is the image for the konnectivity agent.
image required string โimagePullPolicy required string โ
ImagePullPolicy is the policy how to pull the image.
imagePullPolicy required string โnodeSelector required object {} โ
NodeSelector is the node selector for the konnectivity agent.
nodeSelector required object {} โpriorityClassName required string โ
PriorityClassName is the priority class name for the konnectivity agent.
priorityClassName required string โtolerations required object[] [] โ
Tolerations is the tolerations for the konnectivity agent.
tolerations required object[] [] โextraEnv required object[] [] โ
ExtraEnv is the extra environment variables for the konnectivity agent.
extraEnv required object[] [] โextraArgs required string[] [] โ
ExtraArgs are additional arguments to pass to the konnectivity agent.
extraArgs required string[] [] โregistry required 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 required object โenabled required boolean false โ
Enabled defines if the embedded registry should be enabled.
enabled required boolean false โanonymousPull required boolean true โ
AnonymousPull allows enabling anonymous pull for the embedded registry. This allows anybody to pull images from the registry without authentication.
anonymousPull required boolean true โconfig required object {} โ
Config is the regular docker registry config. See https://distribution.github.io/distribution/about/configuration/ for more details.
config required object {} โ