supertubes cluster kafka-connector update 🔗︎

Update a Kafka Connector instance

Synopsis 🔗︎

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

supertubes cluster kafka-connector update [flags]

Examples 🔗︎


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

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

Options 🔗︎

  -f, --config-file string     Config file that contains the Kafka Connector config.
  -h, --help                   help for update
      --kafka-connect string   Name of the Kafka Connector instance to be updated.
  -n, --namespace string       Namespace the Kafka Connector instance to be updated belongs to. (default "kafka")

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