vcluster.yaml configuration reference
Create a virtual cluster with a config file
If you are moving from vCluster 0.19.x to 0.20+, see the conversion guide for how to automatically convert your existing values.yaml
configuration file to the new vcluster.yaml
format.
Configure your vCluster installation in a vcluster.yaml
configuration file. Then deploy your changes.
- vCluster CLI
- Helm
- kubectl
- Terraform
- Argo CD
- Cluster API
vcluster create --upgrade VCLUSTER_NAME -n VCLUSTER_NAMESPACE -f vcluster.yaml
Replace:
VCLUSTER_NAME
with your vCluster instance name.VCLUSTER_NAMESPACE
with the namespace where you deployed vCluster.
helm upgrade --install VCLUSTER_NAME vcluster \
--values vcluster.yaml \
--repo https://charts.loft.sh \
--namespace VCLUSTER_NAMESPACE \
--repository-config=''
Replace:
VCLUSTER_NAME
with your vCluster instance name.VCLUSTER_NAMESPACE
with the namespace where you deployed vCluster.
helm template VCLUSTER_NAME vcluster --repo https://charts.loft.sh -n VCLUSTER_NAMESPACE -f vcluster.yaml | kubectl apply -f -
Replace:
VCLUSTER_NAME
with your vCluster instance name.VCLUSTER_NAMESPACE
with the namespace where you deployed vCluster.
Apply vCluster config changes by editing the vcluster.yaml
file and running terraform plan
:
terraform plan
Review the planned changes and apply them if they look appropriate:
terraform apply
Add your vcluster.yaml
config file to the valueFiles
array in your ArgoCD Application
file.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: VCLUSTER_NAME
namespace: argocd
spec:
project: default
source:
chart: vcluster
repoURL: https://charts.loft.sh
helm:
releaseName: VCLUSTER_NAME
valueFiles:
- vcluster.yaml
destination:
server: https://kubernetes.default.svc
namespace: VCLUSTER_NAMESPACE
Replace:
VCLUSTER_NAME
with your vCluster instance name.VCLUSTER_NAMESPACE
with the namespace where you deployed vCluster.
Apply Cluster API changes by regenerating the cluster custom resource using clusterctl
.
export CLUSTER_NAME=VCLUSTER_NAME
export CLUSTER_NAMESPACE=VCLUSTER_NAMESPACE
export KUBERNETES_VERSION=1.29.3
export HELM_VALUES=$(cat vcluster.yaml)
clusterctl generate cluster ${CLUSTER_NAME} \
--infrastructure vcluster \
--kubernetes-version ${KUBERNETES_VERSION} \
--target-namespace ${CLUSTER_NAMESPACE} | kubectl apply -f -
Replace:
VCLUSTER_NAME
with your vCluster instance name.VCLUSTER_NAMESPACE
with the namespace where you deployed vCluster.
After the changes have been applied, wait for the vCluster custom resource to report a ready status:
kubectl wait --for=condition=ready vcluster -n $CLUSTER_NAMESPACE $CLUSTER_NAME --timeout=300s
Config reference
exportKubeConfig
required object pro
ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file.
exportKubeConfig
required object procontext
required string pro
Context is the name of the context within the generated kubeconfig to use.
context
required string proserver
required string pro
Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.
server
required string prosecret
required object pro
Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.
If this is not defined, vCluster create it with vc-NAME
. If you specify another name,
vCluster creates the config in this other secret.
secret
required object provc-NAME
. If you specify another name,
vCluster creates the config in this other secret.name
required string pro
Name is the name of the secret where the kubeconfig should get stored.
name
required string pronamespace
required string pro
Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace
where you deployed vCluster, you need to make sure vCluster has access to this other namespace.
namespace
required string prosync
required object pro
Sync describes how to sync resources from the virtual cluster to host cluster and back.
sync
required object protoHost
required object pro
Configure resources to sync from the virtual cluster to the host cluster.
toHost
required object propods
required object pro
Pods defines if pods created within the virtual cluster should get synced to the host cluster.
pods
required object proenabled
required boolean false pro
Enabled defines if pod syncing should be enabled.
enabled
required boolean false protranslateImage
required object pro
TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite
a certain image that is used within the virtual cluster to be another image on the host cluster
translateImage
required object proenforceTolerations
required string[] pro
EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.
enforceTolerations
required string[] prouseSecretsForSATokens
required boolean false pro
UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a
pod annotation.
useSecretsForSATokens
required boolean false prorewriteHosts
required object pro
RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add
a small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by
the virtual cluster.
rewriteHosts
required object proenabled
required boolean false pro
Enabled specifies if rewriting stateful set pods should be enabled.
enabled
required boolean false proinitContainer
required object pro
InitContainer holds extra options for the init container used by vCluster to rewrite the FQDN for stateful set pods.
initContainer
required object prosecrets
required object pro
Secrets defines if secrets created within the virtual cluster should get synced to the host cluster.
secrets
required object proconfigMaps
required object pro
ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster.
configMaps
required object proingresses
required object pro
Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster.
ingresses
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false proservices
required object pro
Services defines if services created within the virtual cluster should get synced to the host cluster.
services
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false proendpoints
required object pro
Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster.
endpoints
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false pronetworkPolicies
required object pro
NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster.
networkPolicies
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false propersistentVolumeClaims
required object pro
PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster.
persistentVolumeClaims
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false propersistentVolumes
required object pro
PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster.
persistentVolumes
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false provolumeSnapshots
required object pro
VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster.
volumeSnapshots
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false prostorageClasses
required object pro
StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster.
storageClasses
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false proserviceAccounts
required object pro
ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster.
serviceAccounts
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false profromHost
required object pro
Configure what resources vCluster should sync from the host cluster to the virtual cluster.
fromHost
required object pronodes
required object pro
Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back.
nodes
required object proenabled
required boolean false pro
Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.
enabled
required boolean false prosyncBackChanges
required boolean false pro
SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.
syncBackChanges
required boolean false proclearImageStatus
required boolean false pro
ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.
clearImageStatus
required boolean false proselector
required object pro
Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster.
selector
required object proall
required boolean false pro
All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.
all
required boolean false prolabels
required object pro
Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.
labels
required object proevents
required object pro
Events defines if events should get synced from the host cluster to the virtual cluster, but not back.
events
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false proingressClasses
required object pro
IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back.
ingressClasses
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false prostorageClasses
required object pro
StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled.
storageClasses
required object proenabled
required string|boolean pro
Enabled defines if this option should be enabled.
enabled
required string|boolean procsiNodes
required object pro
CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled.
csiNodes
required object proenabled
required string|boolean pro
Enabled defines if this option should be enabled.
enabled
required string|boolean procsiDrivers
required object pro
CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled.
csiDrivers
required object proenabled
required string|boolean pro
Enabled defines if this option should be enabled.
enabled
required string|boolean procsiStorageCapacities
required object pro
CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled.
csiStorageCapacities
required object proenabled
required string|boolean pro
Enabled defines if this option should be enabled.
enabled
required string|boolean pronetworking
required object pro
Networking options related to the virtual cluster.
networking
required object proreplicateServices
required object pro
ReplicateServices allows replicating services from the host within the virtual cluster or the other way around.
replicateServices
required object protoHost
required object[] pro
ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are
synced to a different namespace than the virtual cluster is in, additional permissions for the other namespace
are required.
toHost
required object[] profromHost
required object[] pro
FromHost defines the services that should get synced from the host to the virtual cluster.
fromHost
required object[] proresolveDNS
required object[] pro
ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.
resolveDNS
required object[] prohostname
required string pro
Hostname is the hostname within the vCluster that should be resolved from.
hostname
required string proservice
required string pro
Service is the virtual cluster service that should be resolved from.
service
required string pronamespace
required string pro
Namespace is the virtual cluster namespace that should be resolved from.
namespace
required string protarget
required object pro
Target is the DNS target that should get mapped to
target
required object prohostname
required string pro
Hostname to use as a DNS target
hostname
required string proip
required string pro
IP to use as a DNS target
ip
required string prohostService
required string pro
HostService to target, format is hostNamespace/hostService
hostService
required string prohostNamespace
required string pro
HostNamespace to target
hostNamespace
required string provClusterService
required string pro
VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService
vClusterService
required string proadvanced
required object pro
Advanced holds advanced network options.
advanced
required object proclusterDomain
required string pro
ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.
clusterDomain
required string profallbackHostCluster
required boolean false pro
FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without
any other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace
fallbackHostCluster
required boolean false proproxyKubelets
required object pro
ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to "fake" this for applications such as
prometheus or other node exporters.
proxyKubelets
required object probyHostname
required boolean false pro
ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work
for all applications, e.g. Prometheus requires a node IP.
byHostname
required boolean false probyIP
required boolean false pro
ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to
route traffic.
byIP
required boolean false propolicies
required object pro
Policies to enforce for the virtual cluster deployment as well as within the virtual cluster.
policies
required object pronetworkPolicy
required object pro
NetworkPolicy specifies network policy options.
networkPolicy
required object proenabled
required boolean false pro
Enabled defines if the network policy should be deployed by vCluster.
enabled
required boolean false profallbackDns
required string pro
fallbackDns
required string prooutgoingConnections
required object pro
outgoingConnections
required object proipBlock
required object pro
IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed
to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs
that should not be included within this rule.
ipBlock
required object procidr
required string pro
cidr is a string representing the IPBlock
Valid examples are "192.168.1.0/24" or "2001:db8::/64"
cidr
required string proexcept
required string[] pro
except is a slice of CIDRs that should not be included within an IPBlock
Valid examples are "192.168.1.0/24" or "2001:db8::/64"
Except values will be rejected if they are outside the cidr range
except
required string[] proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object propodSecurityStandard
required string pro
PodSecurityStandard that can be enforced can be one of: empty (""), baseline, restricted or privileged
podSecurityStandard
required string proresourceQuota
required object pro
ResourceQuota specifies resource quota options.
resourceQuota
required object proenabled
required boolean false pro
Enabled defines if the resource quota should be enabled.
enabled
required boolean false proquota
required object pro
Quota are the quota options
quota
required object proscopeSelector
required object pro
ScopeSelector is the resource quota scope selector
scopeSelector
required object proscopes
required string[] pro
Scopes are the resource quota scopes
scopes
required string[] proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object prolimitRange
required object pro
LimitRange specifies limit range options.
limitRange
required object proenabled
required boolean false pro
Enabled defines if the limit range should be deployed by vCluster.
enabled
required boolean false prodefault
required object pro
Default are the default limits for the limit range
default
required object prodefaultRequest
required object pro
DefaultRequest are the default request options for the limit range
defaultRequest
required object proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object procentralAdmission
required object pro
CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.
centralAdmission
required object provalidatingWebhooks
required object[] pro
ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster
validatingWebhooks
required object[] prokind
required string pro
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
kind
required string proapiVersion
required string pro
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
apiVersion
required string prometadata
required object pro
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
metadata
required object proname
required string pro
Name must be unique within a namespace. Is required when creating resources, although
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
name
required string prolabels
required object pro
Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.
labels
required object proannotations
required object pro
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
annotations
required object prowebhooks
required object[] pro
Webhooks is a list of webhooks and the affected resources and operations.
webhooks
required object[] proname
required string pro
The name of the admission webhook.
Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where
"imagepolicy" is the name of the webhook, and kubernetes.io is the name
of the organization.
name
required string proclientConfig
required object pro
ClientConfig defines how to communicate with the hook.
clientConfig
required object prourl
required string pro
URL gives the location of the webhook, in standard URL form
(scheme://host:port/path
). Exactly one of url
or service
must be specified.
url
required string proscheme://host:port/path
). Exactly one of url
or service
must be specified.service
required object pro
Service is a reference to the service for this webhook. Either
service
or url
must be specified.
If the webhook is running within the cluster, then you should use service
.
service
required object proservice
or url
must be specified.service
.namespace
required string pro
Namespace is the namespace of the service.
namespace
required string proname
required string pro
Name is the name of the service.
name
required string propath
required string pro
Path is an optional URL path which will be sent in any request to
this service.
path
required string proport
required integer pro
If specified, the port on the service that hosting webhook.
Default to 443 for backward compatibility.
port
should be a valid port number (1-65535, inclusive).
port
required integer proport
should be a valid port number (1-65535, inclusive).caBundle
required string pro
CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
If unspecified, system trust roots on the apiserver are used.
caBundle
required string prorules
required object[] pro
Rules describes what operations on what resources/subresources the webhook cares about.
The webhook cares about an operation if it matches any Rule.
rules
required object[] profailurePolicy
required string pro
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail. Defaults to Fail.
failurePolicy
required string promatchPolicy
required string pro
matchPolicy defines how the "rules" list is used to match incoming requests.
Allowed values are "Exact" or "Equivalent".
matchPolicy
required string pronamespaceSelector
required object pro
NamespaceSelector decides whether to run the webhook on an object based
on whether the namespace for that object matches the selector. If the
object itself is a namespace, the matching is performed on
object.metadata.labels. If the object is another cluster scoped resource,
it never skips the webhook.
namespaceSelector
required object proobjectSelector
required object pro
ObjectSelector decides whether to run the webhook based on if the
object has matching labels. objectSelector is evaluated against both
the oldObject and newObject that would be sent to the webhook, and
is considered to match if either object matches the selector.
objectSelector
required object prosideEffects
required string pro
SideEffects states whether this webhook has side effects.
sideEffects
required string protimeoutSeconds
required integer pro
TimeoutSeconds specifies the timeout for this webhook.
timeoutSeconds
required integer proadmissionReviewVersions
required string[] pro
AdmissionReviewVersions is an ordered list of preferred AdmissionReview
versions the Webhook expects.
admissionReviewVersions
required string[] proAdmissionReview
versions the Webhook expects.matchConditions
required object[] pro
MatchConditions is a list of conditions that must be met for a request to be sent to this
webhook. Match conditions filter requests that have already been matched by the rules,
namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.
There are a maximum of 64 match conditions allowed.
matchConditions
required object[] promutatingWebhooks
required object[] pro
MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster
mutatingWebhooks
required object[] prokind
required string pro
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
kind
required string proapiVersion
required string pro
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
apiVersion
required string prometadata
required object pro
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
metadata
required object proname
required string pro
Name must be unique within a namespace. Is required when creating resources, although
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
name
required string prolabels
required object pro
Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.
labels
required object proannotations
required object pro
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata.
annotations
required object prowebhooks
required object[] pro
Webhooks is a list of webhooks and the affected resources and operations.
webhooks
required object[] proreinvocationPolicy
required string pro
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
Allowed values are "Never" and "IfNeeded".
reinvocationPolicy
required string proname
required string pro
The name of the admission webhook.
Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where
"imagepolicy" is the name of the webhook, and kubernetes.io is the name
of the organization.
name
required string proclientConfig
required object pro
ClientConfig defines how to communicate with the hook.
clientConfig
required object prourl
required string pro
URL gives the location of the webhook, in standard URL form
(scheme://host:port/path
). Exactly one of url
or service
must be specified.
url
required string proscheme://host:port/path
). Exactly one of url
or service
must be specified.service
required object pro
Service is a reference to the service for this webhook. Either
service
or url
must be specified.
If the webhook is running within the cluster, then you should use service
.
service
required object proservice
or url
must be specified.service
.namespace
required string pro
Namespace is the namespace of the service.
namespace
required string proname
required string pro
Name is the name of the service.
name
required string propath
required string pro
Path is an optional URL path which will be sent in any request to
this service.
path
required string proport
required integer pro
If specified, the port on the service that hosting webhook.
Default to 443 for backward compatibility.
port
should be a valid port number (1-65535, inclusive).
port
required integer proport
should be a valid port number (1-65535, inclusive).caBundle
required string pro
CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.
If unspecified, system trust roots on the apiserver are used.
caBundle
required string prorules
required object[] pro
Rules describes what operations on what resources/subresources the webhook cares about.
The webhook cares about an operation if it matches any Rule.
rules
required object[] profailurePolicy
required string pro
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail. Defaults to Fail.
failurePolicy
required string promatchPolicy
required string pro
matchPolicy defines how the "rules" list is used to match incoming requests.
Allowed values are "Exact" or "Equivalent".
matchPolicy
required string pronamespaceSelector
required object pro
NamespaceSelector decides whether to run the webhook on an object based
on whether the namespace for that object matches the selector. If the
object itself is a namespace, the matching is performed on
object.metadata.labels. If the object is another cluster scoped resource,
it never skips the webhook.
namespaceSelector
required object proobjectSelector
required object pro
ObjectSelector decides whether to run the webhook based on if the
object has matching labels. objectSelector is evaluated against both
the oldObject and newObject that would be sent to the webhook, and
is considered to match if either object matches the selector.
objectSelector
required object prosideEffects
required string pro
SideEffects states whether this webhook has side effects.
sideEffects
required string protimeoutSeconds
required integer pro
TimeoutSeconds specifies the timeout for this webhook.
timeoutSeconds
required integer proadmissionReviewVersions
required string[] pro
AdmissionReviewVersions is an ordered list of preferred AdmissionReview
versions the Webhook expects.
admissionReviewVersions
required string[] proAdmissionReview
versions the Webhook expects.matchConditions
required object[] pro
MatchConditions is a list of conditions that must be met for a request to be sent to this
webhook. Match conditions filter requests that have already been matched by the rules,
namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.
There are a maximum of 64 match conditions allowed.
matchConditions
required object[] proobservability
required object pro
Observability holds options to proxy metrics from the host cluster into the virtual cluster.
observability
required object procontrolPlane
required object pro
Configure vCluster's control plane components and deployment.
controlPlane
required object prodistro
required object pro
Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed.
distro
required object prok8s
required object pro
K8S holds K8s relevant configuration.
k8s
required object proenabled
required boolean false pro
Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.
enabled
required boolean false proapiServer
required object pro
APIServer holds configuration specific to starting the api server.
apiServer
required object proenabled
required boolean false pro
Enabled signals this container should be enabled.
enabled
required boolean false proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] procontrollerManager
required object pro
ControllerManager holds configuration specific to starting the controller manager.
controllerManager
required object proenabled
required boolean false pro
Enabled signals this container should be enabled.
enabled
required boolean false proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] proscheduler
required object pro
Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled
scheduler
required object proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] proenv
required object[] pro
Env are extra environment variables to use for the main container and NOT the init container.
env
required object[] proresources
required object pro
Resources for the distro init container
resources
required object prosecurityContext
required object pro
Security options can be used for the distro init container
securityContext
required object prok3s
required object pro
K3S holds K3s relevant configuration.
k3s
required object proenabled
required boolean false pro
Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.
enabled
required boolean false protoken
required string pro
Token is the K3s token to use. If empty, vCluster will choose one.
token
required string proenv
required object[] pro
Env are extra environment variables to use for the main container and NOT the init container.
env
required object[] proresources
required object pro
Resources for the distro init container
resources
required object prosecurityContext
required object pro
Security options can be used for the distro init container
securityContext
required object proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] prok0s
required object pro
K0S holds k0s relevant configuration.
k0s
required object proenabled
required boolean false pro
Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.
enabled
required boolean false proconfig
required string pro
Config allows you to override the k0s config passed to the k0s binary.
config
required string proenv
required object[] pro
Env are extra environment variables to use for the main container and NOT the init container.
env
required object[] proresources
required object pro
Resources for the distro init container
resources
required object prosecurityContext
required object pro
Security options can be used for the distro init container
securityContext
required object proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] proeks
required object pro
EKS holds eks relevant configuration.
eks
required object proenabled
required boolean false pro
Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.
enabled
required boolean false proapiServer
required object pro
APIServer holds configuration specific to starting the api server.
apiServer
required object proenabled
required boolean false pro
Enabled signals this container should be enabled.
enabled
required boolean false proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] procontrollerManager
required object pro
ControllerManager holds configuration specific to starting the controller manager.
controllerManager
required object proenabled
required boolean false pro
Enabled signals this container should be enabled.
enabled
required boolean false proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] proscheduler
required object pro
Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled
scheduler
required object proimage
required object pro
Image is the distro image
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the distro image
imagePullPolicy
required string procommand
required string[] pro
Command is the command to start the distro binary. This will override the existing command.
command
required string[] proextraArgs
required string[] pro
ExtraArgs are additional arguments to pass to the distro binary.
extraArgs
required string[] proenv
required object[] pro
Env are extra environment variables to use for the main container and NOT the init container.
env
required object[] proresources
required object pro
Resources for the distro init container
resources
required object prosecurityContext
required object pro
Security options can be used for the distro init container
securityContext
required object probackingStore
required object pro
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 proetcd
required object pro
Etcd defines that etcd should be used as the backend for the virtual cluster
etcd
required object proembedded
required object pro
Embedded defines to use embedded etcd as a storage backend for the virtual cluster
embedded
required object prodeploy
required object pro
Deploy defines to use an external etcd that is deployed by the helm chart
deploy
required object proenabled
required boolean false pro
Enabled defines that an external etcd should be deployed.
enabled
required boolean false prostatefulSet
required object pro
StatefulSet holds options for the external etcd statefulSet.
statefulSet
required object proenabled
required boolean false pro
Enabled defines if the statefulSet should be deployed
enabled
required boolean false proenableServiceLinks
required boolean false pro
EnableServiceLinks for the StatefulSet pod
enableServiceLinks
required boolean false proimage
required object pro
Image is the image to use for the external etcd statefulSet
image
required object proregistry
required string pro
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 prorepository
required string pro
Repository is the repository of the container image, e.g. my-repo/my-image
repository
required string protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the pull policy for the external etcd image
imagePullPolicy
required string proenv
required object[] pro
Env are extra environment variables
env
required object[] proextraArgs
required string[] pro
ExtraArgs are appended to the etcd command.
extraArgs
required string[] proresources
required object pro
Resources the etcd can consume
resources
required object propods
required object pro
Pods defines extra metadata for the etcd pods.
pods
required object prohighAvailability
required object pro
HighAvailability are high availability options
highAvailability
required object proreplicas
required integer pro
Replicas are the amount of pods to use.
replicas
required integer proscheduling
required object pro
Scheduling options for the etcd pods.
scheduling
required object pronodeSelector
required object pro
NodeSelector is the node selector to apply to the pod.
nodeSelector
required object proaffinity
required object pro
Affinity is the affinity to apply to the pod.
affinity
required object protolerations
required object[] pro
Tolerations are the tolerations to apply to the pod.
tolerations
required object[] propriorityClassName
required string pro
PriorityClassName is the priority class name for the the pod.
priorityClassName
required string propodManagementPolicy
required string pro
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy
required string protopologySpreadConstraints
required object[] pro
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints
required object[] prosecurity
required object pro
Security options for the etcd pods.
security
required object propersistence
required object pro
Persistence options for the etcd pods.
persistence
required object provolumeClaim
required object pro
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim
required object proenabled
required boolean false pro
Enabled enables deploying a persistent volume claim.
enabled
required boolean false proaccessModes
required string[] pro
AccessModes are the persistent volume claim access modes.
accessModes
required string[] proretentionPolicy
required string pro
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy
required string prosize
required string pro
Size is the persistent volume claim storage size.
size
required string prostorageClass
required string pro
StorageClass is the persistent volume claim storage class.
storageClass
required string provolumeClaimTemplates
required object[] pro
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates
required object[] proaddVolumes
required object[] pro
AddVolumes defines extra volumes for the pod
addVolumes
required object[] proaddVolumeMounts
required object[] pro
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts
required object[] proname
required string pro
This must match the Name of a Volume.
name
required string proreadOnly
required boolean false pro
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly
required boolean false promountPath
required string pro
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath
required string prosubPath
required string pro
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath
required string promountPropagation
required string pro
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 prosubPathExpr
required string pro
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 proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object proservice
required object pro
Service holds options for the external etcd service.
service
required object proheadlessService
required object pro
HeadlessService holds options for the external etcd headless service.
headlessService
required object prodatabase
required object pro
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 proembedded
required object pro
Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster
embedded
required object proenabled
required boolean false pro
Enabled defines if the database should be used.
enabled
required boolean false prodataSource
required string pro
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 prokeyFile
required string pro
KeyFile is the key file to use for the database. This is optional.
keyFile
required string procertFile
required string pro
CertFile is the cert file to use for the database. This is optional.
certFile
required string procaFile
required string pro
CaFile is the ca file to use for the database. This is optional.
caFile
required string proexternal
required object pro
External defines that an external database should be used as the backend for the virtual cluster
external
required object proenabled
required boolean false pro
Enabled defines if the database should be used.
enabled
required boolean false prodataSource
required string pro
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 prokeyFile
required string pro
KeyFile is the key file to use for the database. This is optional.
keyFile
required string procertFile
required string pro
CertFile is the cert file to use for the database. This is optional.
certFile
required string procaFile
required string pro
CaFile is the ca file to use for the database. This is optional.
caFile
required string procoredns
required object pro
CoreDNS defines everything related to the coredns that is deployed and used within the vCluster.
coredns
required object proenabled
required boolean false pro
Enabled defines if coredns is enabled
enabled
required boolean false proembedded
required boolean false pro
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 proservice
required object pro
Service holds extra options for the coredns service deployed within the virtual cluster
service
required object prodeployment
required object pro
Deployment holds extra options for the coredns deployment deployed within the virtual cluster
deployment
required object proimage
required string pro
Image is the coredns image to use
image
required string proreplicas
required integer pro
Replicas is the amount of coredns pods to run.
replicas
required integer pronodeSelector
required object pro
NodeSelector is the node selector to use for coredns.
nodeSelector
required object proresources
required object pro
Resources are the desired resources for coredns.
resources
required object propods
required object pro
Pods is additional metadata for the coredns pods.
pods
required object proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object prooverwriteConfig
required string pro
OverwriteConfig can be used to overwrite the coredns config
overwriteConfig
required string prooverwriteManifests
required string pro
OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns
overwriteManifests
required string propriorityClassName
required string pro
PriorityClassName specifies the priority class name for the CoreDNS pods.
priorityClassName
required string proproxy
required object pro
Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests.
proxy
required object probindAddress
required string pro
BindAddress under which vCluster will expose the proxy.
bindAddress
required string proport
required integer pro
Port under which vCluster will expose the proxy. Changing port is currently not supported.
port
required integer proextraSANs
required string[] pro
ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.
extraSANs
required string[] prohostPathMapper
required object pro
HostPathMapper defines if vCluster should rewrite host paths.
hostPathMapper
required object proingress
required object pro
Ingress defines options for vCluster ingress deployed by Helm.
ingress
required object proenabled
required boolean false pro
Enabled defines if the control plane ingress should be enabled
enabled
required boolean false prohost
required string pro
Host is the host where vCluster will be reachable
host
required string propathType
required string pro
PathType is the path type of the ingress
pathType
required string prospec
required object pro
Spec allows you to configure extra ingress options.
spec
required object proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object proservice
required object pro
Service defines options for vCluster service deployed by Helm.
service
required object proenabled
required boolean false pro
Enabled defines if the control plane service should be enabled
enabled
required boolean false prospec
required object pro
Spec allows you to configure extra service options.
spec
required object prokubeletNodePort
required integer pro
KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.
kubeletNodePort
required integer prohttpsNodePort
required integer pro
HTTPSNodePort is the node port where https is exposed. Defaults to 0.
httpsNodePort
required integer proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object prostatefulSet
required object pro
StatefulSet defines options for vCluster statefulSet deployed by Helm.
statefulSet
required object prohighAvailability
required object pro
HighAvailability holds options related to high availability.
highAvailability
required object proreplicas
required integer pro
Replicas is the amount of replicas to use for the statefulSet.
replicas
required integer proleaseDuration
required integer pro
LeaseDuration is the time to lease for the leader.
leaseDuration
required integer prorenewDeadline
required integer pro
RenewDeadline is the deadline to renew a lease for the leader.
renewDeadline
required integer proretryPeriod
required integer pro
RetryPeriod is the time until a replica will retry to get a lease.
retryPeriod
required integer proresources
required object pro
Resources are the resource requests and limits for the statefulSet container.
resources
required object proscheduling
required object pro
Scheduling holds options related to scheduling.
scheduling
required object pronodeSelector
required object pro
NodeSelector is the node selector to apply to the pod.
nodeSelector
required object proaffinity
required object pro
Affinity is the affinity to apply to the pod.
affinity
required object protolerations
required object[] pro
Tolerations are the tolerations to apply to the pod.
tolerations
required object[] propriorityClassName
required string pro
PriorityClassName is the priority class name for the the pod.
priorityClassName
required string propodManagementPolicy
required string pro
PodManagementPolicy is the statefulSet pod management policy.
podManagementPolicy
required string protopologySpreadConstraints
required object[] pro
TopologySpreadConstraints are the topology spread constraints for the pod.
topologySpreadConstraints
required object[] prosecurity
required object pro
Security defines pod or container security context.
security
required object proprobes
required object pro
Probes enables or disables the main container probes.
probes
required object prolivenessProbe
required object pro
LivenessProbe specifies if the liveness probe for the container should be enabled
livenessProbe
required object proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false propersistence
required object pro
Persistence defines options around persistence for the statefulSet.
persistence
required object provolumeClaim
required object pro
VolumeClaim can be used to configure the persistent volume claim.
volumeClaim
required object proenabled
required string|boolean pro
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 proaccessModes
required string[] pro
AccessModes are the persistent volume claim access modes.
accessModes
required string[] proretentionPolicy
required string pro
RetentionPolicy is the persistent volume claim retention policy.
retentionPolicy
required string prosize
required string pro
Size is the persistent volume claim storage size.
size
required string prostorageClass
required string pro
StorageClass is the persistent volume claim storage class.
storageClass
required string provolumeClaimTemplates
required object[] pro
VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet
volumeClaimTemplates
required object[] proaddVolumes
required object[] pro
AddVolumes defines extra volumes for the pod
addVolumes
required object[] proaddVolumeMounts
required object[] pro
AddVolumeMounts defines extra volume mounts for the container
addVolumeMounts
required object[] proname
required string pro
This must match the Name of a Volume.
name
required string proreadOnly
required boolean false pro
Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
readOnly
required boolean false promountPath
required string pro
Path within the container at which the volume should be mounted. Must
not contain ':'.
mountPath
required string prosubPath
required string pro
Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
subPath
required string promountPropagation
required string pro
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 prosubPathExpr
required string pro
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 proenableServiceLinks
required boolean false pro
EnableServiceLinks for the StatefulSet pod
enableServiceLinks
required boolean false proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object propods
required object pro
Additional labels or annotations for the statefulSet pods.
pods
required object proimage
required object pro
Image is the image for the controlPlane statefulSet container
image
required object proregistry
required string pro
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 prorepository
required string 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 protag
required string pro
Tag is the tag of the container image, e.g. latest
tag
required string proimagePullPolicy
required string pro
ImagePullPolicy is the policy how to pull the image.
imagePullPolicy
required string proworkingDir
required string pro
WorkingDir specifies in what folder the main process should get started.
workingDir
required string procommand
required string[] pro
Command allows you to override the main command.
command
required string[] proargs
required string[] pro
Args allows you to override the main arguments.
args
required string[] proenv
required object[] pro
Env are additional environment variables for the statefulSet container.
env
required object[] proserviceMonitor
required object pro
ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself.
serviceMonitor
required object proadvanced
required object pro
Advanced holds additional configuration for the vCluster control plane.
advanced
required object prodefaultImageRegistry
required string pro
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 provirtualScheduler
required object pro
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 proenabled
required boolean false pro
Enabled defines if this option should be enabled.
enabled
required boolean false proserviceAccount
required object pro
ServiceAccount specifies options for the vCluster control plane service account.
serviceAccount
required object proenabled
required boolean false pro
Enabled specifies if the service account should get deployed.
enabled
required boolean false proname
required string pro
Name specifies what name to use for the service account.
name
required string proimagePullSecrets
required object[] pro
ImagePullSecrets defines extra image pull secrets for the service account.
imagePullSecrets
required object[] proname
required string pro
Name of the image pull secret to use.
name
required string proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object proworkloadServiceAccount
required object pro
WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster.
workloadServiceAccount
required object proenabled
required boolean false pro
Enabled specifies if the service account for the workloads should get deployed.
enabled
required boolean false proname
required string pro
Name specifies what name to use for the service account for the virtual cluster workloads.
name
required string proimagePullSecrets
required object[] pro
ImagePullSecrets defines extra image pull secrets for the workload service account.
imagePullSecrets
required object[] proname
required string pro
Name of the image pull secret to use.
name
required string proannotations
required object pro
Annotations are extra annotations for this resource.
annotations
required object prolabels
required object pro
Labels are extra labels for this resource.
labels
required object proheadlessService
required object pro
HeadlessService specifies options for the headless service used for the vCluster StatefulSet.
headlessService
required object pro