Sync to Host from Virtual
Declare which virtual cluster resources you want to sync to the host cluster.
Enabled by Default
Disabled by Default
- Ingresses
- NetworkPolicies
- PersistentVolumes
- VolumeSnapshots
- StorageClasses
- ServiceAccounts
- PodDisruptionBudgets
- PriorityClasses
Config reference
toHost
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 pro