Experimental sync settings
Feature matrix
Feature | Open Source | Pro | Notes |
---|---|---|---|
disableSync | ❌ | ✅ | |
rewriteKubernetesService | ❌ | ✅ | Replaces --noop-syncer and --sync-k8s-service . |
targetNamespace | ✅ | ✅ | Replaces --target-namespace |
setOwner | ✅ | ✅ | Replaces --set-owner . |
syncLabels | ✅ | ✅ | Replaces --sync-labels . |
hostMetricsBindAddress | ✅ | ✅ | |
virtualMetricsBindAddress | ✅ | ✅ |
Config notes
Use syncSettings.disableSync
and syncSettings.rewriteKubernetesService
together.
experimental:
syncSettings:
disableSync: true
rewriteKubernetesService: true
This configuration disables all sync controllers and doesn't deploy CoreDNS.
Config reference
syncSettings
required object pro
SyncSettings are advanced settings for the syncer controller.
syncSettings
required object prodisableSync
required boolean false pro
DisableSync will not sync any resources and disable most control plane functionality.
disableSync
required boolean false prorewriteKubernetesService
required boolean false pro
RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled
rewriteKubernetesService
required boolean false protargetNamespace
required string pro
TargetNamespace is the namespace where the workloads should get synced to.
targetNamespace
required string prosetOwner
required boolean true pro
SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.
setOwner
required boolean true prohostMetricsBindAddress
required string pro
HostMetricsBindAddress is the bind address for the local manager
hostMetricsBindAddress
required string provirtualMetricsBindAddress
required string pro
VirtualMetricsBindAddress is the bind address for the virtual manager
virtualMetricsBindAddress
required string pro