supertubes mirror-maker2 deploy 🔗︎

Deploy MirrorMaker2 instances to Kubernetes clusters.

Synopsis 🔗︎

Deploy MirrorMaker2 instances to Kubernetes clusters for cross-cluster mirroring between Kafka clusters.

supertubes mirror-maker2 deploy [flags]

Examples 🔗︎


# Deploy MirrorMaker2 to multiple Kubernetes clusters specified in the descriptor file
$ supertubes mm2 deploy -f <path-to-deployment-descriptor-file>

# Deploy MirrorMaker2 to multiple Kubernetes clusters specified in the descriptor passed to stdin
$ supertubes mm2 deploy -f -<<EOF
# list of Kubernetes config file paths of clusters hosting our Kafka clusters that we want to make MM2 deployments aware of
kubernetesConfigs:
  - my-kubeconfig-1.yaml
  - my-kubeconfig-2.yaml
# list of Kafka clusters to make MM2 deployments aware of
kafkaClusters:
  - namespace: kafka
    name: kafka
    kubernetesConfigContext: k8s-cluster-1
    alias: kafka1
    internalListenerName: internal
    externalListenerName: external
  - namespace: kafka
    name: kafka
    kubernetesConfigContext: user1@k8s-cluster-2
    alias: kafka2
    internalListenerName: internal
    externalListenerName: external
mirrorMaker2Properties: |-
  # replication topologies and flows, mm2 config, etc.
  kafka1->kafka2.enabled=true
  kafka2->kafka1.enabled=true
EOF

Options 🔗︎

  -f, --config string   Deployment descriptor file that describes MirrorMaker2 deployment topology and MirrorMaker2 configuration.
  -h, --help            help for deploy

Options inherited from parent commands 🔗︎

      --accept-license                  Accept the license: https://banzaicloud.com/docs/supertubes/evaluation-license
      --color                           use colors on non-tty outputs (default true)
      --context string                  name of the kubeconfig context to use
      --formatting.force-color          force color even when non in a terminal
      --interactive                     ask questions interactively even if stdin or stdout is non-tty
  -c, --kubeconfig string               path to the kubeconfig file to use for CLI requests
      --non-interactive                 never ask questions interactively
  -o, --output string                   output format (table|yaml|json) (default "table")
      --persistent-config-file string   Supertubes persistent config file to use instead of the default at ~/.banzai/supertubes/
  -v, --verbose                         turn on debug logging

SEE ALSO 🔗︎