Skip to main content

Experimental sync settings

Feature matrix

FeatureOpen SourceProNotes
disableSync
rewriteKubernetesServiceReplaces --noop-syncer and --sync-k8s-service.
targetNamespaceReplaces --target-namespace
setOwnerReplaces --set-owner.
syncLabelsReplaces --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.

disableSync required boolean pro

DisableSync will not sync any resources and disable most control plane functionality.

rewriteKubernetesService required boolean pro

RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled

targetNamespace required string pro

TargetNamespace is the namespace where the workloads should get synced to.

setOwner required boolean pro

SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.

syncLabels required string[] pro

SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.

hostMetricsBindAddress required string pro

HostMetricsBindAddress is the bind address for the local manager

virtualMetricsBindAddress required string pro

VirtualMetricsBindAddress is the bind address for the virtual manager