Forrest logo
back to the fluxctl tool

fluxctl:tldr:b0b4e

fluxctl: List workloads currently running in the cluster on specific namespace.
$ fluxctl --k8s-fwd-ns=${namespace} list-workloads
try on your machine

The command "fluxctl --k8s-fwd-ns=${namespace} list-workloads" is used to display a list of workloads managed by Flux in a Kubernetes cluster. Here's a breakdown of the command:

  1. "fluxctl": This is the command-line tool used to interact with Flux, which is a tool for Continuous Delivery in Kubernetes.

  2. "--k8s-fwd-ns=${namespace}": This flag specifies the Kubernetes namespace to forward the command to. The value of ${namespace} is a placeholder that should be replaced with the actual namespace you want to target.

  3. "list-workloads": This is a sub-command of fluxctl that tells it to list all the workloads managed by Flux in the specified namespace.

By running this command, you can get an overview of the workloads (deployments, services, etc.) being managed by Flux in a specific Kubernetes namespace.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fluxctl tool