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. |
| hostMetricsBindAddress | ✅ | ✅ | |
| virtualMetricsBindAddress | ✅ | ✅ |
Config
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
SyncSettings are advanced settings for the syncer controller.
syncSettings required object disableSync required boolean false
DisableSync will not sync any resources and disable most control plane functionality.
disableSync required boolean false rewriteKubernetesService required boolean false
RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled
rewriteKubernetesService required boolean false targetNamespace required string
TargetNamespace is the namespace where the workloads should get synced to.
targetNamespace required string setOwner required boolean true
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 hostMetricsBindAddress required string
HostMetricsBindAddress is the bind address for the local manager
hostMetricsBindAddress required string virtualMetricsBindAddress required string
VirtualMetricsBindAddress is the bind address for the virtual manager
virtualMetricsBindAddress required string