supertubes cluster kafka-connect update 🔗︎

Update a Kafka Connect instance

Synopsis 🔗︎

Update a Kafka Connect instance based on JSON or YAML stdin or file config

supertubes cluster kafka-connect update [flags]

Examples 🔗︎


# Update Kafka Connect from config file
$ supertubes cluster kafka-connect update -f <path-to-kafka-connect-config-file> -n my-namespace --kafka-connect my-kafka-connect -c <path-to-kubeconfig-file>

# Update Kafka Connect from config file and wait for the updated Kafka Connect instance to be restarted
$ supertubes cluster kafka-connect update -f <path-to-kafka-connect-config-file> -n my-namespace --kafka-connect my-kafka-connect -c <path-to-kubeconfig-file> -w

# Update only the Kafka Connect image of the deployment and wait for the Kafka Connect instance to be restarted
$ supertubes cluster kafka-connect update -n my-namespace --kafka-connect my-kafka-connect --kafka-connect-image "confluentinc/cp-kafka-connect:6.0.0" -c <path-to-kubeconfig-file> -w

# Patch Kafka Connect config
$ supertubes cluster kafka-connect update -n my-namespace --kafka-connect my-kafka-connect -c <path-to-kubeconfig-file> -w -f -<<EOF
apiVersion: kafka.banzaicloud.io/v1beta1
kind: KafkaConnect
spec:
  MTLS: true
EOF
		

Options 🔗︎

  -f, --config-file string           Config file that contains the Kafka Connect config.
  -h, --help                         help for update
  -i, --interval int                 Interval in seconds for polling Kafka Connect status. (default 5)
      --kafka-connect string         Name of the Kafka Connect instance to be updated.
      --kafka-connect-image string   The new image (repository/name:tag) to update Kafka Connect to.
  -n, --namespace string             Namespace the Kafka Connect instance to be updated belongs to. (default "kafka")
  -t, --timeout int                  Timeout in seconds to wait for the Kafka Connect update operation to complete. (default 150)
  -w, --wait                         Wait for Kafka Connect update operation to complete.

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 🔗︎