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 ​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 ​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.1 ​
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.1 ​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.1-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.1-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[] [] ​k0s
required object ​
[Deprecated] K0S holds k0s relevant configuration.
k0s
required object ​enabled
required boolean false ​
Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.
enabled
required boolean false ​config
required string ​
Config allows you to override the k0s config passed to the k0s binary.
config
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 k0sproject/k0s ​
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string k0sproject/k0s ​tag
required string v1.30.2-k0s.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 v1.30.2-k0s.0 ​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[] [] ​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 ​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 ​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 ​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 ​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 ​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.
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 ​