![Forrest logo](/images/logo.png)
fluxctl:tldr:b0b4e
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:
-
"fluxctl": This is the command-line tool used to interact with Flux, which is a tool for Continuous Delivery in Kubernetes.
-
"--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.
-
"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.