Skip to main content

cluster

Flinkwerk cluster-scoped commands let you manage your clusters.

Synopsis

flinkwerk cluster context [<cluster-name>]   # Set the kubectl context for a given cluster or displays the current kubectl context if no argument is given.
flinkwerk cluster delete # Delete the entire cluster with all data (! USE WITH CAUTION !).
flinkwerk cluster deploy # Create a cluster or update it if it already exists.
flinkwerk cluster help [COMMAND] # Describe subcommands or one specific subcommand.
flinkwerk cluster info <cluster-name> # Show cluster infos.
flinkwerk cluster kubeconfig <cluster-name> # Save the kubeconfig file of a specific cluster into your userhome.
flinkwerk cluster list # List cluster names.

Available commands

context

Set the kubectl context for a given cluster or displays the current kubectl context if no argument is given.

flinkwerk cluster context [<cluster-name>]

delete

Delete the entire cluster with all data.

note

Use this command with caution, as it is irreversible!

flinkwerk cluster delete

deploy

Create a cluster or update it if it already exists.

flinkwerk cluster deploy

info

Show cluster information.

flinkwerk cluster info

kubeconfig

Save the kubeconfig file of a specific cluster into your userhome.

Allows you to easily reuse the kubeconfig file of a cluster for your other projects.

flinkwerk cluster kubeconfig <cluster-name>

list

List cluster names.

flinkwerk cluster list

Global options

Options that can be applied to any command in scope.

-v, [--verbose]                  # Show detailed output.
-w, [--workdir=<path>] # Set the workdir path. Defaults to '.'