Configuration
Plugin parameters and accepted values
Required configuration
Source and destination
The source and the destination clusters can be specified using the .spec.config.sourceName and .spec.config.destinationName properties. Both Database objects should exists in the same Namespace where the synchronization is being created.
Example:
apiVersion: automation.astronetes.io/v1alpha1
kind: Synchronization
metadata:
name: example
spec:
plugin: zookeeper-nodes-to-zookeeper
config:
sourceName: cluster-1
destinationName: cluster-2
...
Root path
The root path to be used to only synchronize a specific part of the Zookeeper database.
Example:
apiVersion: automation.astronetes.io/v1alpha1
kind: Synchronization
metadata:
name: example
spec:
plugin: zookeeper-nodes-to-zookeeper
config:
...
rootPath: /test
Optional configuration
Create root path
Create the Root Path in the destination database if it doesn’t exist.
Default value:
falseExample:
apiVersion: automation.astronetes.io/v1alpha1
kind: Synchronization
metadata:
name: example
spec:
plugin: zookeeper-nodes-to-zookeeper
config:
...
createRootPath: true
Ignore ephemeral
Don’t synchronize ephemeral data in the destination cluster..
Default value:
falseExample:
apiVersion: automation.astronetes.io/v1alpha1
kind: Synchronization
metadata:
name: example
spec:
plugin: zookeeper-nodes-to-zookeeper
config:
...
ignoreEphemeral: true
Exclude paths
Exclude data from being synchronized to the destination cluster filtering on path using regex.
Example:
apiVersion: automation.astronetes.io/v1alpha1
kind: Synchronization
metadata:
name: example
spec:
plugin: zookeeper-nodes-to-zookeeper
config:
...
excludeRegex: ..