fm kubernetes
Reference for the fm kubernetes command group (auto-generated from fm kubernetes --help).
fm kubernetes
text
Manage managed Kubernetes clusters.
fm kubernetes cluster create --name my-cluster --vpc vpc-123 --subnet subnet-456 --node-flavor k8s.gp1.medium
fm kubernetes cluster list
fm kubernetes cluster kubeconfig <cluster-id> > ~/.kube/frostmoln
fm kubernetes node-pool create <cluster-id> --flavor k8s.gp1.large --node-count 3
Discover valid flavors, control-plane tiers, versions, and addons:
fm kubernetes flavor list
fm kubernetes tier list
fm kubernetes version list
fm kubernetes addon list
Usage:
fm kubernetes [command]
Aliases:
kubernetes, k8s
Available Commands:
addon View Kubernetes cluster addons
cluster Manage Kubernetes clusters
flavor View Kubernetes node flavors
maintenance-window Read and change a cluster's maintenance window
node-pool Manage cluster node pools
tier View Kubernetes control-plane tiers
version View Kubernetes versions
volumes Alias of 'fm kubernetes cluster volumes'
workload-identity Manage Workload Identity Federation for managed Kubernetes
Flags:
-h, --help[=true|false] help for kubernetes
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes [command] --help" for more information about a command.fm kubernetes addon
text
List available cluster addons.
Usage:
fm kubernetes addon [command]
Aliases:
addon, addons
Available Commands:
list List cluster addons
versions List the versions of an addon you can pin
Flags:
-h, --help[=true|false] help for addon
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes addon [command] --help" for more information about a command.fm kubernetes addon list
text
List cluster addons
Usage:
fm kubernetes addon list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes addon versions
text
List the versions of one addon you can pin, in the platform's order
(newest-published last). RECOMMENDED marks the version a new selection gets.
The order is not a ranking: do not read the last row as the newest software.
End-of-life versions are not listed; a cluster already pinned to one shows it in
'fm kubernetes cluster addons <cluster-id>'.
Examples:
fm kubernetes addon versions external-dns
Usage:
fm kubernetes addon versions <addon> [flags]
Flags:
-h, --help[=true|false] help for versions
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster
text
Manage managed Kubernetes clusters.
Usage:
fm kubernetes cluster [command]
Aliases:
cluster, clusters
Available Commands:
add-addons Add addons to a running Kubernetes cluster
addons Show a cluster's addon versions (pinned and applied)
create Create a Kubernetes cluster
delete Delete a Kubernetes cluster
get Get Kubernetes cluster details
kubeconfig Fetch a cluster's kubeconfig
list List Kubernetes clusters
maintenance Act on a cluster's pending maintenance
pin-addons Pin addons a cluster already has to a version
proxy Forward a local port to a cluster's Kubernetes API
remove-addons Remove addons from a running Kubernetes cluster
rename Rename a Kubernetes cluster
tags Read and replace a cluster's resource tags
upgrade Upgrade a cluster to a newer Kubernetes minor version, or resume a stopped upgrade
volumes Show a cluster's volumes and what deleting the cluster does to them
Flags:
-h, --help[=true|false] help for cluster
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes cluster [command] --help" for more information about a command.fm kubernetes cluster add-addons
text
Add catalog addons to an already-running Kubernetes cluster.
This command only ADDS. Name only the keys you want to add; the cluster's
existing addons are kept and re-sent for you, and this command can never remove
one — even if another operator changes the cluster while it runs. To remove an
addon, use 'fm kubernetes cluster remove-addons'.
NOT IMMEDIATE: the request records the new set and returns; the accepted change
starts its own reconciliation, which typically installs the addon on the cluster
within minutes. If that reconciliation cannot be started the platform says so in
a notice and the addon waits for the next scheduled one instead. Re-run
'fm kubernetes cluster get <cluster-id>' to see the recorded set.
The cluster must be running.
EGRESS: an addon's upstream images are pulled from a public registry when its
pods start, not preloaded onto your nodes, so your worker nodes need outbound
HTTPS to that registry (ExternalDNS: registry.k8s.io — and allowing that
hostname alone is not enough if you filter egress by name, because image
downloads are redirected to backing stores on other domains). The platform
cannot check this — reachability belongs to your VPC at the moment of the pull,
and every new node pulls again — so a cluster that cannot reach the registry
accepts the addon here and then leaves its pods in ImagePullBackOff. While the
addon is not running, any DNS records it manages are neither published nor
cleaned up. Run 'fm kubernetes addon list' to see an addon's prerequisites in
its DESCRIPTION.
VERSIONS: an added addon gets its recommended version unless you pin one with
--version addon=version (repeatable; see 'fm kubernetes addon versions <addon>').
Only the addons you name in --version are re-pinned; every other pin is left alone.
Examples:
fm kubernetes cluster add-addons <cluster-id> --addons external-dns
fm kubernetes cluster add-addons <cluster-id> --addons external-dns --version external-dns=<version>
# <version>: one listed by 'fm kubernetes addon versions external-dns'
Usage:
fm kubernetes cluster add-addons <cluster-id> [flags]
Flags:
--addons strings addon keys to ADD (comma-separated; required — see 'addon list'). Existing addons are kept; use 'remove-addons' to remove one
-h, --help[=true|false] help for add-addons
--version stringArray pin an addon to a version, addon=version (repeatable; see 'addon versions <addon>'). Only the named addons are re-pinned
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster addons
text
Show, per addon, the version the cluster is PINNED to and the version the platform
last confirmed it APPLIED, in the platform's order: the current selection first,
then any addon still being removed.
The applied version lags the pin while a change converges, so the two are always
shown together. STATE and PINNED STATUS are shown exactly as the platform reports
them; a pin whose status is deprecated or eol gets a warning — the cluster keeps
running it, but move the pin with 'fm kubernetes cluster pin-addons'.
READINESS is whether the add-on is serving right now, as its control plane
reports it; STATE converged only means an apply succeeded. Check that READINESS
is ready before relying on the add-on (e.g. before creating a SecretStore or
deploying workload-identity pods). It is information, not a completion signal:
fm does not wait on it, and it can stay unknown. Shown verbatim, and '-' when the
platform does not report it.
Examples:
fm kubernetes cluster addons <cluster-id>
fm kubernetes cluster addons <cluster-id> -o json
Usage:
fm kubernetes cluster addons <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for addons
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster create
text
Create a managed Kubernetes cluster with an initial node pool.
--version, --tier and --region are optional; when omitted the server applies its
defaults (discover valid values with 'fm kubernetes version list' / 'tier list').
Addons: by default the server applies the catalog's default addons. Use --addons
to select an explicit set, or --no-addons to create the cluster with none. An
addon may need outbound HTTPS from your worker nodes to the public registry its
upstream images come from; 'fm kubernetes addon list' shows an addon's
prerequisites in its DESCRIPTION.
Addon versions: each addon gets its recommended version unless you pin one with
--addon-version addon=version (repeatable). List an addon's pinnable versions with
'fm kubernetes addon versions <addon>' and send one back exactly as listed. Every
addon you pin must be one the cluster gets: those named in --addons, or the
catalog defaults when --addons is omitted. (--version is the Kubernetes version.)
Tags: --tag key=value (repeatable) sets the cluster's resource tags — your own
metadata for search and filtering, never applied to the cluster or its nodes. The
tenant's default tags are merged in (a key you set wins). The initial node pool
gets a one-time COPY of the cluster's merged tags at create; later changes to the
cluster's tags do not reach it. Manage a pool's own tags with
'fm kubernetes node-pool tags set'.
Maintenance window: omit the --maintenance-* flags and the server sets a default,
which the response shows. To choose one, pass all four; that needs the permission
kubernetes:kubernetes-clusters:update-maintenance-window (Owner and Admin hold it).
See 'fm kubernetes maintenance-window set'.
Examples:
fm kubernetes cluster create --name prod --vpc vpc-123 --subnet subnet-456 --node-flavor k8s.gp1.medium
# external-dns publishes hostnames to your Frostmoln DNS zones
fm kubernetes cluster create --name prod --vpc vpc-123 --subnet subnet-456 \
--node-flavor k8s.gp1.large --node-count 3 --tier production --version 1.35 \
--addons external-dns --addon-version external-dns=<version>
# <version>: one listed by 'fm kubernetes addon versions external-dns'
Usage:
fm kubernetes cluster create [flags]
Flags:
--addon-version stringArray pin an addon to a version, addon=version (repeatable; see 'addon versions <addon>'). An addon not named gets its recommended version
--addons strings explicit addon keys (comma-separated; see 'addon list'). Omit for catalog defaults
-h, --help[=true|false] help for create
--maintenance-days strings maintenance window days, comma-separated from mon..sun (server default when no --maintenance-* flag is given)
--maintenance-duration int maintenance window length in whole hours, 6-12
--maintenance-start string maintenance window local start time, HH:MM
--maintenance-time-zone string maintenance window IANA time zone, such as Europe/Stockholm
--name string cluster name (required)
--no-addons[=true|false] create the cluster with no addons (mutually exclusive with --addons and --addon-version)
--no-wait[=true|false] return immediately instead of waiting for the cluster to become ready
--node-count int number of nodes in the initial node pool (default 1)
--node-flavor string flavor ID for the initial node pool (required, e.g. k8s.gp1.medium — see 'flavor list')
--node-label stringArray Kubernetes node label for the initial pool, key=value (repeatable; fixed at create)
--node-pool-name string name for the initial node pool (server-generated when empty)
--node-taint stringArray Kubernetes node taint for the initial pool, key[=value]:PreferNoSchedule (repeatable; fixed at create; NoSchedule/NoExecute go on a second pool)
--region string region ID (server default when empty)
--subnet string subnet ID (required)
--tag strings resource tag in key=value format (repeatable). The initial node pool gets a one-time copy of the cluster's merged tags
--tier string control-plane tier key (server default when empty — see 'tier list')
--version string Kubernetes version (server default when empty — see 'version list')
--vpc string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster delete
text
Delete a managed Kubernetes cluster and all of its node pools.
The cluster's volumes are listed first. Volumes whose PersistentVolume has
reclaimPolicy Delete are deleted with the cluster. For volumes with reclaimPolicy
Retain, or Unknown (the cluster has not reported the volume in the last 15
minutes; treated as Retain), you choose: keep them (they become ordinary volumes,
still billed) or delete them. Either answer applies to exactly the volumes listed:
if that set changes before the delete runs, nothing is deleted and the new list is
shown. The command asks interactively; in scripts pass
--retained-volumes keep|delete. Without it, a delete of a cluster that has such
volumes fails and lists them — --force does not choose for you. Deleting a cluster
that is already being deleted is a no-op: the first delete's choice stands.
Examples:
fm kubernetes cluster delete <cluster-id>
fm kubernetes cluster delete <cluster-id> --force --retained-volumes keep
Usage:
fm kubernetes cluster delete <cluster-id> [flags]
Flags:
--force[=true|false] skip the confirmation prompt (does NOT choose what happens to retained volumes; see --retained-volumes)
-h, --help[=true|false] help for delete
--retained-volumes string what happens to volumes with reclaimPolicy Retain or Unknown (Unknown: not reported by the cluster in the last 15 minutes): keep (they stay as ordinary, billed volumes) or delete (deletes whatever is Retain/Unknown when the delete runs)
--wait[=true|false] wait for the deletion to complete before returning
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster get
text
Get detailed information about a specific Kubernetes cluster.
Usage:
fm kubernetes cluster get <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster kubeconfig
text
Fetch the kubeconfig for a Kubernetes cluster.
By default the raw kubeconfig YAML is written to stdout (redirect it or use
--file). With -o json|yaml the full {endpoint, kubeconfig} object is printed.
The kubeconfig is only available once the cluster is running.
An enclave cluster's API server has no route from your machine (ADR-0103), so it
is reached through a local tunnel. Two flags write one:
--exec kubectl starts the tunnel itself, on demand, via an 'fm' credential
plugin. One terminal, and the file holds no key — the credential is
fetched per call. Needs kubernetes:write AND sessions:write. The local
port is derived from the cluster id so two clusters practically never
share one. If two of yours do, they are stuck with it — the derivation
is deterministic — and the symptom is a certificate error from the
second cluster. Pin one of them with --exec=<port>.
--proxy the file points at a tunnel you run yourself with
'fm kubernetes cluster proxy' in a second terminal.
Examples:
fm kubernetes cluster kubeconfig <cluster-id> > ~/.kube/frostmoln
fm kubernetes cluster kubeconfig <cluster-id> --file ./kubeconfig.yaml
fm kubernetes cluster kubeconfig <cluster-id> --exec --file ./kubeconfig
KUBECONFIG=$(fm kubernetes cluster kubeconfig <cluster-id> --file /dev/stdout) kubectl get nodes
Usage:
fm kubernetes cluster kubeconfig <cluster-id> [flags]
Flags:
--exec int[=0] write a kubeconfig that starts the proxy tunnel itself via an 'fm' credential plugin, so kubectl needs no second terminal (--exec, or --exec=<port> to pin a local port)
--file string write the kubeconfig to this file instead of stdout
-h, --help[=true|false] help for kubeconfig
--proxy int[=46443] point the kubeconfig at a local 'fm kubernetes cluster proxy' tunnel instead of the cluster endpoint (--proxy, or --proxy=<port> to match a non-default proxy port) (default 46443)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster list
text
List all managed Kubernetes clusters in the active tenant.
--tag key=value (repeatable) lists only the clusters carrying EVERY given tag with
exactly that value; key= matches a tag whose value is empty.
Examples:
fm kubernetes cluster list
fm kubernetes cluster list --tag env=prod --tag team=platform
Usage:
fm kubernetes cluster list [flags]
Flags:
-h, --help[=true|false] help for list
--tag strings only clusters with this tag, key=value (repeatable; every one must match)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster maintenance
text
Act on a cluster's pending maintenance. The recurring weekly window itself is
read and changed with 'fm kubernetes maintenance-window'.
Usage:
fm kubernetes cluster maintenance [command]
Available Commands:
apply Apply a cluster's pending maintenance now
Flags:
-h, --help[=true|false] help for maintenance
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes cluster maintenance [command] --help" for more information about a command.fm kubernetes cluster maintenance apply
text
Open a one-off maintenance window that starts now and lasts 6 hours, so the
cluster's pending updates are admitted now instead of in the next weekly window.
Admitted is not running: the platform still applies its own rollout order and
pacing, so the updates may not start at once, and the window can lapse unused.
'fm kubernetes cluster get' shows the open window and why nothing has started yet.
There is no cancel: a window whose update has not started lapses at its end.
What it does to the cluster: with a single control-plane node the Kubernetes API is
down while the control plane is replaced, and every pod restarts when its worker
node is replaced (a new node boots first; there is no drain). A control-plane update
can take most of the window, so with a single control-plane node the worker nodes
may follow in the next weekly window.
One apply-now window can be open per tenant, across all its clusters. For the same
cluster you can apply now again once too little of its window is left to start the
update and no update of it is running.
This needs the permission kubernetes:kubernetes-clusters:apply-maintenance. The
Owner and Admin roles hold it.
Examples:
fm kubernetes cluster maintenance apply <cluster-id>
fm kubernetes cluster maintenance apply <cluster-id> --yes -o json
Usage:
fm kubernetes cluster maintenance apply <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for apply
-y, --yes[=true|false] skip the confirmation prompt (non-interactive use)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster pin-addons
text
Move the version pin of addons already selected on a running cluster, without
changing which addons it has.
Name each addon=version with --version (repeatable). Only those addons are
re-pinned; every other addon keeps its current pin. Send a version string exactly
as 'fm kubernetes addon versions <addon>' lists it.
NOT IMMEDIATE: the pin is recorded and applied by the reconciliation the
accepted change starts, typically within minutes. If that reconciliation cannot
be started the platform says so in a notice and the pin waits for the next
scheduled one instead. 'fm kubernetes cluster addons <cluster-id>' shows the
pinned and the applied version side by side while it converges.
Examples:
fm kubernetes cluster pin-addons <cluster-id> --version external-dns=<version>
# <version>: one listed by 'fm kubernetes addon versions external-dns'
Usage:
fm kubernetes cluster pin-addons <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for pin-addons
--version stringArray pin an addon to a version, addon=version (repeatable; see 'addon versions <addon>'). Only the named addons are re-pinned (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster proxy
text
Forward a local TCP port to a managed cluster's Kubernetes API server over a
secure session — no public IP, no open port, and no VPN.
The control plane is private (ADR-0103): its API server has no route from the
internet, and this session is the customer-facing way to reach it. The target is
resolved server-side from the cluster you own — there is nothing to point at a
host or a port, by design.
Leave this running and use a second terminal:
fm kubernetes cluster kubeconfig <cluster-id> --proxy --file ./kubeconfig
KUBECONFIG=./kubeconfig kubectl get nodes
To skip the second terminal entirely, write the kubeconfig with --exec instead:
kubectl then starts this tunnel itself the first time it needs one.
The local port defaults to 46443, which is what --proxy writes into the
kubeconfig. If you override it here, pass the same port to --proxy.
Sessions are time-limited by the platform: they end after 10 minutes idle or 60
minutes in total, and they do not survive their connection — there is no resume.
If the tunnel drops, run this command again. A dropped tunnel says nothing about
the health of your cluster.
While the proxy runs, 127.0.0.1:<port> is reachable by any process on this
machine, including ones that cannot read your kubeconfig. Such a process cannot
use your cluster credentials — those stay in the kubeconfig and are verified by
the API server, not by this tunnel — but it can read what the API server serves
anonymously, which includes the cluster CA and the server version. Stop the
proxy when you are done, and prefer a machine you trust.
Usage:
fm kubernetes cluster proxy <cluster-id> [local-port] [flags]
Examples:
# Default: listen on 127.0.0.1:46443
fm kubernetes cluster proxy <cluster-id>
# A different local port (pass the same one to --proxy)
fm kubernetes cluster proxy <cluster-id> 15443
Flags:
-h, --help[=true|false] help for proxy
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster remove-addons
text
Remove catalog addons from an already-running Kubernetes cluster.
DESTRUCTIVE: this DELETES the objects the addon installed in your cluster. Name
the keys you want removed; everything else the cluster has is kept for you.
NOT IMMEDIATE: the request records the new set and returns; the accepted change
starts its own reconciliation, which typically deletes the objects within
minutes. If that reconciliation cannot be started the platform says so in a
notice and the deletion waits for the next scheduled one instead.
NOT EVERY CLUSTER CAN: removal reaches your cluster through the control-plane
image its VMs booted, and images are immutable — so a cluster created before the
platform could remove an addon is refused, and says so. Adding is unaffected.
WHAT IS LEFT BEHIND, because the platform will not delete it for you: the
addon's namespace, and any CustomResourceDefinition, StorageClass or CSIDriver
it created, together with anything YOU put in that namespace. For ExternalDNS
that means the 'external-dns' namespace and the DNS-write credential Secret you
created in it both survive — the platform does not touch credential material you
own, so removing it is yours to do. The DNS records ExternalDNS published also
survive and are no longer managed by anything: if you later delete the load
balancer a record points at, that address can be reallocated while the record
still resolves to it. Re-selecting the addon on the same cluster re-adopts its
own records and resumes managing them.
For External Secrets Operator the CustomResourceDefinitions survive, and every
ExternalSecret keeps a cleanup finalizer that only the ESO controller removes.
Once the controller is gone, an ExternalSecret left in the cluster cannot finish
deleting, and neither can a namespace that contains one. Under the default
creationPolicy: Owner, deleting an ExternalSecret also deletes the Secret it
synced; to keep one, set creationPolicy: Orphan and remove the Secret's owner
reference first, then delete your ExternalSecrets before removing the add-on.
Removing external-secrets therefore asks for confirmation, and needs --yes when
stdin is not a terminal.
Examples:
fm kubernetes cluster remove-addons <cluster-id> --addons external-dns
fm kubernetes cluster remove-addons <cluster-id> --addons external-secrets --yes
Usage:
fm kubernetes cluster remove-addons <cluster-id> [flags]
Flags:
--addons strings addon keys to REMOVE (comma-separated; required). DELETES the objects they installed; the addon's namespace and anything you created in it are kept
-h, --help[=true|false] help for remove-addons
--version stringArray pin an addon to a version, addon=version (repeatable; see 'addon versions <addon>'). Only the named addons are re-pinned (a kept addon only)
--yes[=true|false] skip the external-secrets removal confirmation (non-interactive use)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster rename
text
Rename a managed Kubernetes cluster.
Usage:
fm kubernetes cluster rename <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for rename
--name string new cluster name (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster tags
text
Read and replace a cluster's resource tags
Usage:
fm kubernetes cluster tags [command]
Aliases:
tags, tag
Available Commands:
get Show a cluster's resource tags
set Replace a cluster's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes cluster tags [command] --help" for more information about a command.fm kubernetes cluster tags get
text
Show a cluster's resource tags
Usage:
fm kubernetes cluster tags get <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster tags set
text
Replace a cluster's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Nothing else about the
cluster changes, and the running cluster is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm kubernetes cluster tags get' and pass
them all back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
The cluster's node pools are NOT changed: the initial pool got a copy of the
cluster's tags once, at create. Manage a pool's tags with
'fm kubernetes node-pool tags set'.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm kubernetes cluster tags set k8s-123 --tag env=prod --tag owner=team-a
fm kubernetes cluster tags set k8s-123 --clear
Usage:
fm kubernetes cluster tags set <cluster-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster upgrade
text
Upgrade a cluster's Kubernetes version. 'fm kubernetes cluster get' lists the versions
the cluster can be upgraded to under Available Upgrades; --version must name one of them,
or the Target Version to resume a stopped upgrade.
The control plane is replaced first, then each node pool: every node is drained and
replaced. PodDisruptionBudgets are honoured for up to 30 minutes per node; after that the
remaining pods are deleted. With a single control-plane node the Kubernetes API is
unavailable while the control plane is replaced. An upgrade can take several hours.
Node pool create, scale and delete are refused until it finishes.
Once the new control plane serves, the upgrade cannot be undone. If it stops after that,
the cluster keeps serving with an Upgrade Failure shown by 'cluster get', and running
this same command with the same --version resumes it (except where 'cluster get' says
no action is needed from you). Kubernetes is never downgraded.
Without --wait the command returns once the upgrade is accepted. With --wait it waits
until the cluster is no longer upgrading and exits 0 only when the cluster runs the new
version with no Upgrade Failure.
This needs the permissions kubernetes:kubernetes-clusters:upgrade and
kubernetes:kubernetes-clusters:create on the cluster. An access-policy API key cannot
start or resume an upgrade today.
Examples:
fm kubernetes cluster upgrade <cluster-id> --version 1.36
fm kubernetes cluster upgrade <cluster-id> --version 1.36 --wait --yes
Usage:
fm kubernetes cluster upgrade <cluster-id> --version <version> [flags]
Flags:
-h, --help[=true|false] help for upgrade
--timeout duration how long --wait waits; the upgrade keeps running after it (default 6h0m0s)
--version string the Kubernetes minor version to upgrade to, from 'cluster get' Available Upgrades (required)
--wait[=true|false] wait until the cluster is no longer upgrading; exit 0 only when it runs the new version
-y, --yes[=true|false] skip the confirmation prompt (non-interactive use)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes cluster volumes
text
Show the volumes of a Kubernetes cluster's PersistentVolumes and what deleting the
cluster would do to each one:
deleted reclaimPolicy Delete: deleted together with the cluster.
you choose reclaimPolicy Retain, or Unknown (the cluster has not reported the
volume in the last 15 minutes, which is treated as Retain): when you
delete the cluster you choose to KEEP these (they become ordinary
volumes, still billed) or DELETE them. Until every worker runs the
volume-reporting controller, a cluster's volumes may all be Unknown.
Examples:
fm kubernetes cluster volumes <cluster-id>
fm kubernetes cluster volumes <cluster-id> -o json
fm kubernetes volumes <cluster-id> (alias)
Usage:
fm kubernetes cluster volumes <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for volumes
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes flavor
text
List available node flavors (instance sizes) for Kubernetes clusters, or get one by ID.
Usage:
fm kubernetes flavor [command]
Aliases:
flavor, flavors
Available Commands:
get Get node flavor details
list List node flavors
Flags:
-h, --help[=true|false] help for flavor
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes flavor [command] --help" for more information about a command.fm kubernetes flavor get
text
Get detailed information about a specific Kubernetes node flavor.
Usage:
fm kubernetes flavor get <flavor-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes flavor list
text
List node flavors
Usage:
fm kubernetes flavor list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes maintenance-window
text
Read and change a cluster's recurring weekly maintenance window, the time
disruptive platform updates are meant to run in. Every cluster has one.
To apply a cluster's pending updates now instead of in the next window, use
'fm kubernetes cluster maintenance apply'.
While 'enforced' is false the window is not in force yet: the platform does not
schedule updates by it until it is.
When the platform could not read the maintenance state, 'show' says so: the table
prints "unknown", and -o json/yaml print the window with enforced, nextWindowStart
and pending as null. Test enforced == null for that case; a null pending is not
"nothing pending".
Usage:
fm kubernetes maintenance-window [command]
Available Commands:
set Change a cluster's maintenance window
show Show a cluster's maintenance window and state
Flags:
-h, --help[=true|false] help for maintenance-window
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes maintenance-window [command] --help" for more information about a command.fm kubernetes maintenance-window set
text
Change a cluster's maintenance window. Pass at least one flag; the others keep
their current value. When the result equals the stored window, nothing is sent.
This needs the permission kubernetes:kubernetes-clusters:update-maintenance-window.
The Owner and Admin roles hold it, as does a group document or custom role that names
it. An API key needs an access policy naming it. Without it the server answers 403 and
nothing is applied.
Examples:
fm kubernetes maintenance-window set k8s-123 --days mon,wed --start 03:00 --duration 6 --time-zone Europe/Stockholm
fm kubernetes maintenance-window set k8s-123 --start 01:00
Usage:
fm kubernetes maintenance-window set <cluster-id> [--days <days>] [--start <HH:MM>] [--duration <hours>] [--time-zone <zone>] [flags]
Flags:
--days strings days the window starts on, comma-separated from mon..sun
--duration int length in whole hours, 6-12
-h, --help[=true|false] help for set
--start string local start time, HH:MM
--time-zone string IANA time zone, such as Europe/Stockholm
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes maintenance-window show
text
Show a cluster's maintenance window and state
Usage:
fm kubernetes maintenance-window show <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for show
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool
text
Manage node pools for a Kubernetes cluster.
Usage:
fm kubernetes node-pool [command]
Aliases:
node-pool, node-pools, nodepool, np
Available Commands:
create Create a node pool
delete Delete a node pool
get Get node pool details
list List a cluster's node pools
scale Scale a node pool
tags Read and replace a node pool's resource tags (not node labels)
Flags:
-h, --help[=true|false] help for node-pool
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes node-pool [command] --help" for more information about a command.fm kubernetes node-pool create
text
Add a node pool to a Kubernetes cluster.
--tag key=value (repeatable) sets the pool's resource tags — your own metadata for
search and filtering, not Kubernetes node labels. The tenant's default tags are
merged in (a key you set wins). A new pool does not inherit the cluster's tags.
--label key=value and --taint key[=value]:Effect (both repeatable) set Kubernetes
node labels and taints on every node the pool boots. Effect is NoSchedule,
PreferNoSchedule or NoExecute. They are fixed at create: to change them, create a
new pool and move the workloads. Prefixes that are or end in kubernetes.io, k8s.io,
frostmoln.se, frostmoln.cloud or cilium.io are reserved. Keep one pool without a
NoSchedule/NoExecute taint: the cluster's DNS, storage and metrics components run
there.
Example:
fm kubernetes node-pool create <cluster-id> --flavor k8s.gp1.large --node-count 3 --name workers --tag env=prod
fm kubernetes node-pool create <cluster-id> --flavor k8s.gp1.large --name gpu \
--label workload=gpu --taint dedicated=gpu:NoSchedule
Usage:
fm kubernetes node-pool create <cluster-id> [flags]
Flags:
--flavor string flavor ID (required, e.g. k8s.gp1.large — see 'flavor list')
-h, --help[=true|false] help for create
--label stringArray Kubernetes node label, key=value (repeatable; fixed at create)
--name string node pool name (server-generated when empty)
--no-wait[=true|false] return immediately instead of waiting for the pool to become active
--node-count int number of nodes (default 1)
--tag strings resource tag in key=value format (repeatable; not a node label)
--taint stringArray Kubernetes node taint, key[=value]:Effect with Effect NoSchedule, PreferNoSchedule or NoExecute (repeatable; fixed at create)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool delete
text
Delete a node pool from a Kubernetes cluster.
Usage:
fm kubernetes node-pool delete <cluster-id> <pool-id> [flags]
Flags:
--force[=true|false] skip the confirmation prompt
-h, --help[=true|false] help for delete
--wait[=true|false] wait for the deletion to complete before returning
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool get
text
Get detailed information about a specific node pool.
Usage:
fm kubernetes node-pool get <cluster-id> <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool list
text
List all node pools for a Kubernetes cluster.
--tag key=value (repeatable) lists only the pools carrying EVERY given resource tag
with exactly that value; key= matches a tag whose value is empty. Resource tags
only — never Kubernetes node labels.
Usage:
fm kubernetes node-pool list <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for list
--tag strings only pools with this resource tag, key=value (repeatable; every one must match)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool scale
text
Change the number of nodes in a node pool.
Example:
fm kubernetes node-pool scale <cluster-id> <pool-id> --node-count 5
Usage:
fm kubernetes node-pool scale <cluster-id> <pool-id> [flags]
Flags:
-h, --help[=true|false] help for scale
--no-wait[=true|false] return immediately instead of waiting for the scale to complete
--node-count int target number of nodes (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool tags
text
Read and replace a node pool's resource tags (not node labels)
Usage:
fm kubernetes node-pool tags [command]
Aliases:
tags, tag
Available Commands:
get Show a node pool's resource tags
set Replace a node pool's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes node-pool tags [command] --help" for more information about a command.fm kubernetes node-pool tags get
text
Show a node pool's resource tags
Usage:
fm kubernetes node-pool tags get <cluster-id> <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes node-pool tags set
text
Replace a node pool's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata; they are not Kubernetes node labels, and changing them touches no node.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm kubernetes node-pool tags get' and
pass them all back. Use --clear to remove every tag.
This is how the initial node pool's tags are managed: it got a one-time copy of
the cluster's tags at create, and later cluster tag changes do not reach it.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm kubernetes node-pool tags set k8s-123 np-456 --tag env=prod
fm kubernetes node-pool tags set k8s-123 np-456 --clear
Usage:
fm kubernetes node-pool tags set <cluster-id> <pool-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes tier
text
List available control-plane tiers for Kubernetes clusters.
Usage:
fm kubernetes tier [command]
Aliases:
tier, tiers
Available Commands:
list List control-plane tiers
Flags:
-h, --help[=true|false] help for tier
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes tier [command] --help" for more information about a command.fm kubernetes tier list
text
List control-plane tiers
Usage:
fm kubernetes tier list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes version
text
List available Kubernetes versions.
Usage:
fm kubernetes version [command]
Aliases:
version, versions
Available Commands:
list List Kubernetes versions
Flags:
-h, --help[=true|false] help for version
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes version [command] --help" for more information about a command.fm kubernetes version list
text
List Kubernetes versions with their status.
Lists the versions on offer, newest first. Only current, supported and
deprecated versions can be used for a new cluster; an eol version may still be
listed and is refused on create. Innovation versions are not listed.
Usage:
fm kubernetes version list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes volumes
text
Alias of 'fm kubernetes cluster volumes'
Usage:
fm kubernetes volumes <cluster-id> [flags]
Flags:
-h, --help[=true|false] help for volumes
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity
text
Manage Workload Identity Federation bindings (ADR-0095).
A binding maps a Kubernetes (namespace, serviceAccount) in one of your managed
clusters to a least-privilege Frostmoln grant. A pod running as that
ServiceAccount can then exchange its projected token for a short-lived, scoped
Frostmoln credential — no long-lived secret in the pod.
The grant is either flat scopes on the binding, or an access policy attached to
it with "fm iam policy attach --type workload_identity" (directly or through a
group). Prefer the policy: it can name individual targets, add constraints and
deny explicitly, none of which a flat scope can express.
Usage:
fm kubernetes workload-identity [command]
Aliases:
workload-identity, wi
Available Commands:
binding Manage workload identity bindings
token Exchange a ServiceAccount token for a Frostmoln workload token (debug)
Flags:
-h, --help[=true|false] help for workload-identity
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes workload-identity [command] --help" for more information about a command.fm kubernetes workload-identity binding
text
Manage workload identity bindings
Usage:
fm kubernetes workload-identity binding [command]
Aliases:
binding, bindings
Available Commands:
create Create a workload identity binding
delete Delete a workload identity binding
get Get a workload identity binding
list List workload identity bindings
tags Read and replace a workload identity binding's resource tags
Flags:
-h, --help[=true|false] help for binding
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes workload-identity binding [command] --help" for more information about a command.fm kubernetes workload-identity binding create
text
Create a workload identity binding.
A binding's grant is an access policy attached to it (directly or through a
group) with "fm iam policy attach". Flat scopes are RETIRED (retire-scopes step
2, ADR-0102): the API refuses any non-empty scopes set with 400
BINDING_SCOPES_RETIRED, and this command refuses --scope client-side with the
same migration message.
A created binding is therefore INERT until a policy is attached: with no grant
at all the token exchange refuses it rather than minting a credential that
grants nothing. Attach the policy immediately after creating.
--tag (repeatable) sets the binding's resource tags. The tenant's default tags
are merged in, a key you set winning — at create only; afterwards
"fm kubernetes workload-identity binding tags set" replaces the whole set. Tags
are labels only: the token exchange never reads them.
Examples:
# Create the binding, then attach a policy to it (the only way to grant it).
fm kubernetes workload-identity binding create \
--cluster <cluster-id> --namespace ops --service-account reaper
fm iam policy attach <policy-id> --type workload_identity --id <binding-id>
Usage:
fm kubernetes workload-identity binding create [flags]
Flags:
--cluster string managed cluster id the binding applies to (required)
-h, --help[=true|false] help for create
--namespace string Kubernetes namespace (required)
--scope strings RETIRED: any value is refused (400 BINDING_SCOPES_RETIRED) — grant the binding with an access policy instead
--service-account string Kubernetes ServiceAccount name (required)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity binding delete
text
Delete a workload identity binding
Usage:
fm kubernetes workload-identity binding delete <id> [flags]
Flags:
--force[=true|false] skip confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity binding get
text
Get a workload identity binding
Usage:
fm kubernetes workload-identity binding get <id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity binding list
text
List the current tenant's workload identity bindings.
Results are cursor-paginated: when the output includes a non-empty nextCursor,
pass it back with --cursor to fetch the next page.
--tag narrows the list to bindings carrying every given key=value tag; the
cursor then pages over the filtered list.
Usage:
fm kubernetes workload-identity binding list [flags]
Flags:
--all[=true|false] fetch all pages (auto-follow nextCursor)
--cluster string filter by cluster id
--cursor string opaque pagination cursor from a previous response's nextCursor
-h, --help[=true|false] help for list
--limit int maximum bindings per page
--tag strings only bindings with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity binding tags
text
Read and replace a workload identity binding's resource tags
Usage:
fm kubernetes workload-identity binding tags [command]
Aliases:
tags, tag
Available Commands:
get Show a workload identity binding's resource tags
set Replace a workload identity binding's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm kubernetes workload-identity binding tags [command] --help" for more information about a command.fm kubernetes workload-identity binding tags get
text
Show a workload identity binding's resource tags
Usage:
fm kubernetes workload-identity binding tags get <binding-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity binding tags set
text
Replace a workload identity binding's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the workload identity binding changes, and
what the binding grants is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm kubernetes workload-identity binding tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
Its scopes are left alone, and the token exchange never reads tags.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm kubernetes workload-identity binding tags set wib-123 --tag env=prod --tag owner=team-a
fm kubernetes workload-identity binding tags set wib-123 --clear
Usage:
fm kubernetes workload-identity binding tags set <binding-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm kubernetes workload-identity token
text
Debug/support helper: exchange a raw Kubernetes ServiceAccount JWT for a
short-lived Frostmoln workload token and print it.
Pods obtain this automatically via the injected in-guest helper; use this only to
troubleshoot a binding. The subject token is a live credential, so it is read
only from a file or stdin (never a command-line argument, which would leak it to
the process list and shell history):
fm kubernetes workload-identity token --subject-token-file /var/run/secrets/.../token
cat token.jwt | fm kubernetes workload-identity token --subject-token-file -
Usage:
fm kubernetes workload-identity token [flags]
Flags:
-h, --help[=true|false] help for token
--subject-token-file string read the ServiceAccount JWT from a file ("-" for stdin)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)