Kubernetes

Infrastructure integration · 67 node(s).

00Overview

Operate a Kubernetes cluster from a flow — roll out and restart deployments, scale workloads, read pod logs, run and trigger jobs, manage namespaces, services, ingresses, config maps and secrets, and cordon or drain nodes. Anything you would reach for kubectl to do, a flow can do on a schedule, on approval, or in response to something happening elsewhere in your stack.

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting Kubernetes

  1. Find your cluster's API Server URL — run kubectl cluster-info, or copy it from your cloud provider's console. It looks like https://your-cluster:6443.
  2. Choose how to authenticate with the Authentication dropdown: Service Account Token (recommended), Client Certificate for mutual TLS, or Kubeconfig if you would rather paste an existing config file.
  3. For a token, create a service account in the cluster and grant it a role covering only the resources and namespaces you want to automate — give it no more than it needs. Then mint a token with kubectl create token <serviceaccount> -n <namespace>. These tokens expire (an hour by default), so pass --duration for a longer-lived one and diarise the renewal.
  4. In Flomation, add the token as an environment secret (e.g. kubernetes_token), then pick it in each node's Service Account Token field.
  5. If your cluster uses a private certificate authority, paste its certificate into Cluster CA Certificate (PEM) — the CA is public information, so it is safe to paste literally. Leave it blank for a cluster with a publicly-trusted certificate. Only use Allow Insecure TLS against a throwaway self-signed cluster.
  6. The Kubeconfig method takes a whole kubeconfig file, pasted as a secret; its current context is the one used. Note that the live pickers (namespaces, deployments, pods and the rest) only fill themselves when you authenticate with a Service Account Token held as an environment secret, and, on a cluster with a private certificate authority, only when the CA is pasted in as literal PEM text — a picker cannot resolve a reference. With the other methods the same fields still work; you just type the name yourself.
FieldTypeDetails
AuthenticationstringService Account Token, Client Certificate (mTLS), Kubeconfig (paste)
Service Account Tokensecretkubectl create token <serviceaccount> -n <namespace>
Client Certificate (PEM)secret-----BEGIN CERTIFICATE-----
Client Key (PEM)secret-----BEGIN RSA PRIVATE KEY-----
Kubeconfig YAMLsecretPaste the full kubeconfig; the current-context is used
Allow Insecure TLSbooleanSkip API server certificate verification — only for self-signed clusters with no CA to hand
PortintegerThe port the service exposes, e.g. 80
ProtocolstringTCP, UDP
i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Apply

Kubernetes Apply Manifest

infrastructure/kubernetes/apply_manifest · Action

Advanced: apply any Kubernetes object from a YAML or JSON manifest via Server-Side Apply — including CRDs and kinds with no dedicated action. Creates or updates in place.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
ManifestcodeRequiredA single Kubernetes object as YAML or JSON — must set apiVersion, kind and metadata.name
NamespacestringOverrides the manifest's metadata.namespace; ignored for cluster-scoped kinds
Dry RunbooleanValidate against the API server without persisting any change
Force ConflictsbooleanTake ownership of fields another controller manages

Returns: id, result, kind, applied, tool_result, success, error

03Configmap

Kubernetes Create ConfigMap

infrastructure/kubernetes/configmap_create · Action

Create a ConfigMap in a namespace from a map of key/value pairs, with optional labels.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the config map in
ConfigMap NamestringRequiredapp-config
DataobjectRequiredA flat map of string values, e.g. {"LOG_LEVEL":"info","PORT":"8080"}
LabelsobjectOptional metadata labels, e.g. {"app":"web"}

Returns: id, result, tool_result, success, error

Kubernetes Delete ConfigMap

infrastructure/kubernetes/configmap_delete · Action

Permanently delete a ConfigMap from a namespace. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the config map lives in
ConfigMapstringRequiredThe config map to delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get ConfigMap

infrastructure/kubernetes/configmap_get · Action

Fetch a single ConfigMap by name, including its data keys and values.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the config map lives in
ConfigMapstringRequiredThe config map to fetch

Returns: id, result, tool_result, success, error

Kubernetes List ConfigMaps

infrastructure/kubernetes/configmap_list · Action

List the ConfigMaps in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=app-config
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every ConfigMap is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Update ConfigMap

infrastructure/kubernetes/configmap_update · Action

Update a ConfigMap's data — merge the supplied keys into the existing data, or replace the whole data map.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the config map lives in
ConfigMapstringRequiredThe config map to update
DataobjectRequiredA flat map of string values, e.g. {"LOG_LEVEL":"debug"}
Replace All DatabooleanReplace all data instead of merging the supplied keys — keys absent from the map above are dropped

Returns: id, result, tool_result, success, error

04Cronjob

Kubernetes Create CronJob

infrastructure/kubernetes/cronjob_create · Action

Create a CronJob that runs a container on a cron schedule — set the image, an optional command, and the concurrency policy.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the cronjob in
NamestringRequirednightly-backup
Schedule (cron)stringRequired*/5 * * * * — standard five-field cron
ImagestringRequiredbusybox:latest
CommandstringOptional override, e.g. sh -c 'echo hello'. Leave blank to use the image's entrypoint
SuspendbooleanCreate it suspended — scheduled but not firing until you resume it
Restart Policystringchoices: OnFailure, Never
Concurrency Policystringchoices: Allow, Forbid, Replace

Returns: id, result, tool_result, success, error

Kubernetes Delete CronJob

infrastructure/kubernetes/cronjob_delete · Action

Permanently delete a CronJob, and by default the Jobs and pods it owns. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the cronjob lives in
CronJobstringRequiredThe cronjob to delete
Propagation Policystringchoices: Background — delete now, clean up its jobs afterwards, Foreground — wait until its jobs are gone, Orphan — delete the cronjob but leave its jobs running
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get CronJob

infrastructure/kubernetes/cronjob_get · Action

Fetch a single CronJob by name — its schedule, suspend state, job template, and last/next run times.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the cronjob lives in
CronJobstringRequiredThe cronjob to fetch

Returns: id, result, tool_result, success, error

Kubernetes List CronJobs

infrastructure/kubernetes/cronjob_list · Action

List the CronJobs in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=nightly-backup
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every CronJob is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Resume CronJob

infrastructure/kubernetes/cronjob_resume · Action

Un-pause a suspended CronJob so it resumes scheduling Jobs. Missed runs are not backfilled.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the cronjob lives in
CronJobstringRequiredThe cronjob to resume

Returns: id, result, tool_result, success, error

Kubernetes Suspend CronJob

infrastructure/kubernetes/cronjob_suspend · Action

Pause a CronJob so it stops scheduling new Jobs. Jobs already running are left alone.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the cronjob lives in
CronJobstringRequiredThe cronjob to suspend

Returns: id, result, tool_result, success, error

Kubernetes Trigger CronJob

infrastructure/kubernetes/cronjob_trigger · Action

Run a CronJob immediately, off-schedule, by creating a one-off Job from its template — the same as kubectl create job --from=cronjob.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the cronjob lives in
CronJobstringRequiredThe cronjob to run now
Job NamestringName for the one-off Job (default <cronjob>-manual-<timestamp>)

Returns: id, result, tool_result, success, error

05Daemonset

Kubernetes Delete DaemonSet

infrastructure/kubernetes/daemonset_delete · Action

Permanently delete a DaemonSet, stopping its pod on every node. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the daemonset lives in
DaemonSetstringRequiredThe daemonset to delete
Propagation PolicystringHow the owned pods are cleaned up (default Background) — choices: Background — delete now, reap pods after, Foreground — block until pods are gone, Orphan — leave the pods running
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get DaemonSet

infrastructure/kubernetes/daemonset_get · Action

Fetch a single DaemonSet by name, including its rollout status and the number of nodes it is scheduled and ready on.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the daemonset lives in
DaemonSetstringRequiredThe daemonset to fetch

Returns: id, result, tool_result, success, error

Kubernetes List DaemonSets

infrastructure/kubernetes/daemonset_list · Action

List the DaemonSets in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=fluentd,tier!=cache
Field Selectorstringmetadata.name=node-exporter
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every DaemonSet is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Restart DaemonSet

infrastructure/kubernetes/daemonset_restart · Action

Trigger a rolling restart of a DaemonSet — replaces its pod on each node in turn, honouring the update strategy.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the daemonset lives in
DaemonSetstringRequiredThe daemonset to restart

Returns: id, result, restarted_at, tool_result, success, error

06Deployment

Kubernetes Delete Deployment

infrastructure/kubernetes/deployment_delete · Action

Permanently delete a Deployment and the pods it manages. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the deployment lives in
DeploymentstringRequiredThe deployment to delete
Propagation PolicystringHow the managed pods are handled (default Background) — choices: Background — delete now, garbage-collect pods after, Foreground — block until pods are gone, Orphan — leave the pods running, detached
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Deployment

infrastructure/kubernetes/deployment_get · Action

Fetch a single Deployment by name — its spec, replica counts, image, and rollout status.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the deployment lives in
DeploymentstringRequiredThe deployment to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Deployments

infrastructure/kubernetes/deployment_list · Action

List the Deployments in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=web
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Deployment is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Restart Deployment

infrastructure/kubernetes/deployment_restart · Action

Trigger a rolling restart of a Deployment — replaces its pods one batch at a time, with no downtime.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the deployment lives in
DeploymentstringRequiredThe deployment to restart

Returns: id, result, restarted_at, tool_result, success, error

Kubernetes Deployment Rollout Status

infrastructure/kubernetes/deployment_rollout_status · Action

Check whether a Deployment has finished rolling out — optionally waiting until it completes, fails, or times out.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the deployment lives in
DeploymentstringRequiredThe deployment to check
Wait Until CompletebooleanPoll every 2s until the rollout finishes, fails, or times out
Timeout (seconds)integerHow long to wait when Wait is set (default 300)

Returns: id, result, status, complete, tool_result, success, error

Kubernetes Scale Deployment

infrastructure/kubernetes/deployment_scale · Action

Set the number of replicas a Deployment runs — scale up for load, or down to zero to pause it.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the deployment lives in
DeploymentstringRequiredThe deployment to scale
ReplicasintegerRequiredThe desired number of pods (0 pauses the deployment)

Returns: id, result, replicas, tool_result, success, error

07Event

Kubernetes List Events

infrastructure/kubernetes/event_list · Action

List cluster Events in a namespace or across all of them — the diagnostic for why a pod will not start, an image will not pull, or a volume will not mount.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list events across every namespace
Involved ObjectstringOnly events about this object, by name (e.g. the pod that won't start)
Field Selectorstringreason=FailedScheduling,type=Warning
Label SelectorstringRarely useful for Events — most carry no labels
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every event is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

08Hpa

Kubernetes Delete Horizontal Pod Autoscaler

infrastructure/kubernetes/hpa_delete · Action

Delete a HorizontalPodAutoscaler. Autoscaling stops; the workload is left at its current replica count. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the autoscaler lives in
AutoscalerstringRequiredThe HorizontalPodAutoscaler to delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Horizontal Pod Autoscaler

infrastructure/kubernetes/hpa_get · Action

Read one HorizontalPodAutoscaler — its target, its current and desired replica counts, and the live metrics driving it. Needs a Kubernetes 1.23+ cluster (autoscaling/v2).

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the autoscaler lives in
AutoscalerstringRequiredThe HorizontalPodAutoscaler to read

Returns: id, result, tool_result, success, error

Kubernetes List Horizontal Pod Autoscalers

infrastructure/kubernetes/hpa_list · Action

List the HorizontalPodAutoscalers in a namespace, or across every namespace, optionally filtered by label or field. Needs a Kubernetes 1.23+ cluster (autoscaling/v2).

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=web
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every autoscaler is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

09Ingress

Kubernetes Delete Ingress

infrastructure/kubernetes/ingress_delete · Action

Permanently delete an Ingress, withdrawing the external route it defined. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the ingress lives in
IngressstringRequiredThe ingress to delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Ingress

infrastructure/kubernetes/ingress_get · Action

Retrieve one Ingress by name — its host rules, path backends, TLS blocks, and assigned load-balancer address.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the ingress lives in
IngressstringRequiredThe ingress to retrieve

Returns: id, result, tool_result, success, error

Kubernetes List Ingresses

infrastructure/kubernetes/ingress_list · Action

List the Ingresses in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=web
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Ingress is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

10Job

Kubernetes Create Job

infrastructure/kubernetes/job_create · Action

Create a Job that runs a container image to completion, with retry, TTL cleanup, and an optional command and environment.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the job in
Job NamestringRequiredA DNS-safe name, e.g. nightly-backup
Container ImagestringRequirede.g. busybox:1.36 or registry.example.com/backup:latest
CommandstringShell-style command; leave blank to use the image entrypoint
Environment Variablesobject{"LOG_LEVEL":"debug","REGION":"eu-west-1"}
Backoff LimitintegerRetries before the job is marked failed (default 3)
TTL After Finished (seconds)integerAuto-delete the finished job after N seconds (blank to keep it)
Restart Policystringchoices: Never, On Failure

Returns: id, result, tool_result, success, error

Kubernetes Delete Job

infrastructure/kubernetes/job_delete · Action

Permanently delete a Job. Deleting with Background (default) or Foreground removes its pods too; Orphan leaves them running. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the job lives in
JobstringRequiredThe job to delete
Propagation Policystringchoices: Background — delete the job now, garbage-collect its pods after, Foreground — wait for the pods to be deleted first, Orphan — delete the job but leave its pods running
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Job

infrastructure/kubernetes/job_get · Action

Fetch a single Job by name, including its status — how many pods have succeeded, failed, or are still running.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the job lives in
JobstringRequiredThe job to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Jobs

infrastructure/kubernetes/job_list · Action

List the Jobs in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringjob-name=nightly-backup,tier!=cache
Field Selectorstringmetadata.name=nightly-backup
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Job is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

11Namespace

Kubernetes Create Namespace

infrastructure/kubernetes/namespace_create · Action

Create a namespace, optionally with labels and annotations.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe name of the namespace to create
Labelsobject{"team":"payments","env":"staging"}
Annotationsobject{"owner":"platform@example.com"}

Returns: id, result, tool_result, success, error

Kubernetes Delete Namespace

infrastructure/kubernetes/namespace_delete · Action

Permanently delete a namespace and every resource inside it. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to delete — every resource inside it goes too
Confirm Destructive ActionbooleanRequiredThis permanently deletes the namespace and everything in it. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Namespace

infrastructure/kubernetes/namespace_get · Action

Fetch a single namespace by name, including its labels, annotations and phase.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Namespaces

infrastructure/kubernetes/namespace_list · Action

List the namespaces in the cluster, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
Label Selectorstringkubernetes.io/metadata.name=production
Field Selectorstringstatus.phase=Active
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every namespace is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

12Node

Kubernetes Cordon Node

infrastructure/kubernetes/node_cordon · Action

Mark a Node unschedulable so no new pods land on it. Running pods are untouched; reverse it with Uncordon Node.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NodestringRequiredThe node to cordon

Returns: id, result, tool_result, success, error

Kubernetes Drain Node

infrastructure/kubernetes/node_drain · Action

Cordon a Node and evict its pods so they reschedule elsewhere, ready for maintenance. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NodestringRequiredThe node to drain
Grace Period (seconds)integerOverride each pod's termination grace period; blank to use the pod's own
Ignore DaemonSetsbooleanSkip DaemonSet-managed pods rather than blocking on them (default: on)
Delete emptyDir DatabooleanAllow evicting pods that use emptyDir volumes — their data is lost (default: off)
Timeout (seconds)integerGive up if the drain has not completed within this many seconds (default 300)
Confirm Destructive ActionbooleanRequiredThis evicts running pods off the node. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, evicted, skipped, evicted_pods, tool_result, success, error

Kubernetes Get Node

infrastructure/kubernetes/node_get · Action

Fetch a single Node by name, including its status, capacity, conditions and labels.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NodestringRequiredThe node to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Nodes

infrastructure/kubernetes/node_list · Action

List the Nodes in the cluster, optionally filtered by label or field selector.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
Label Selectorstringnode-role.kubernetes.io/worker=,kubernetes.io/os=linux
Field Selectorstringmetadata.name=node-1
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Node is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Uncordon Node

infrastructure/kubernetes/node_uncordon · Action

Mark a Node schedulable again so the scheduler can place pods on it. Reverses Cordon Node.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NodestringRequiredThe node to uncordon

Returns: id, result, tool_result, success, error

13Pod

Kubernetes Delete Pod

infrastructure/kubernetes/pod_delete · Action

Delete a Pod. If it is managed by a controller the controller recreates it — the usual way to restart one stuck Pod. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the pod lives in
PodstringRequiredThe pod to delete
Grace Period (seconds)integerLeave blank for the pod's own default; 0 deletes immediately with no graceful shutdown
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Pod

infrastructure/kubernetes/pod_get · Action

Fetch a single Pod by name, including its status, conditions and per-container state.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the pod lives in
PodstringRequiredThe pod to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Pods

infrastructure/kubernetes/pod_list · Action

List the Pods in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringstatus.phase=Running
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Pod is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Get Pod Logs

infrastructure/kubernetes/pod_logs · Action

Read the logs of a container in a pod — the last N lines, a recent time window, or the previous crashed instance.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the pod runs in
PodstringRequiredThe pod to read logs from
ContainerstringRequired only when the pod has more than one container
Tail LinesintegerOnly the last N lines (default 200; blank for the whole log)
Since (seconds)integerOnly lines from the last N seconds
Previous InstancebooleanRead the log of the previous, crashed container instead of the running one
Include TimestampsbooleanPrefix every line with its RFC3339 timestamp

Returns: id, logs, truncated, tool_result, success, error

14Pvc

Kubernetes Delete PVC

infrastructure/kubernetes/pvc_delete · Action

Permanently delete a PersistentVolumeClaim. If the StorageClass reclaim policy is Delete (the common default), the underlying volume and its data are destroyed too. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the PVC lives in
PVCstringRequiredThe PersistentVolumeClaim to delete — its volume's data goes too if the reclaim policy is Delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get PVC

infrastructure/kubernetes/pvc_get · Action

Fetch a single PersistentVolumeClaim by name — its phase, capacity, StorageClass, and bound volume.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the PVC lives in
PVCstringRequiredThe PersistentVolumeClaim to fetch

Returns: id, result, tool_result, success, error

Kubernetes List PVCs

infrastructure/kubernetes/pvc_list · Action

List the PersistentVolumeClaims in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=data-web-0
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every PVC is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

15Secret

Kubernetes Create Secret

infrastructure/kubernetes/secret_create · Action

Create a Secret from plain key/value pairs — Kubernetes base64-encodes the values for you.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the secret in
SecretstringRequiredThe name of the secret to create
DataobjectRequiredPlain key/value pairs, e.g. {"username":"admin","password":"s3cret"} — encoded for you
Secret TypestringOpaque (default), kubernetes.io/tls, kubernetes.io/dockerconfigjson, …
Labelsobject{"app":"web","managed-by":"flomation"}

Returns: id, result, tool_result, success, error

Kubernetes Delete Secret

infrastructure/kubernetes/secret_delete · Action

Permanently delete a Secret. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the secret lives in
SecretstringRequiredThe secret to delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Secret

infrastructure/kubernetes/secret_get · Action

Read a single Secret. Optionally base64-decode its values into a separate plaintext output.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the secret lives in
SecretstringRequiredThe secret to read
Decode ValuesbooleanBase64-decode the values into `decoded_data`

Returns: id, result, decoded_data, tool_result, success, error

Kubernetes List Secrets

infrastructure/kubernetes/secret_list · Action

List the Secrets in a namespace, or across every namespace, optionally filtered by label or field. Note: each entry includes the secret's base64 data.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace — pulls every secret in the cluster
Label Selectorstringapp=web,tier!=cache
Field Selectorstringtype=kubernetes.io/tls
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Secret is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

16Service

Kubernetes Create Service

infrastructure/kubernetes/service_create · Action

Create a Service to expose a set of pods on a stable IP and port — ClusterIP, NodePort, LoadBalancer, or ExternalName.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the service in
Service NamestringRequiredA DNS-safe name, e.g. web
Typestringchoices: ClusterIP, NodePort, LoadBalancer, ExternalName
External Hostnamestringdb.example.com — the hostname this service resolves to
SelectorobjectThe label map choosing the pods, e.g. {"app":"web"}
Target PortintegerThe port the pods listen on (defaults to Port)
Node PortintegerOnly for NodePort/LoadBalancer — leave blank to let the cluster pick (30000–32767)

Returns: id, result, tool_result, success, error

Kubernetes Delete Service

infrastructure/kubernetes/service_delete · Action

Permanently delete a Service, removing its stable IP and DNS name. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the service lives in
ServicestringRequiredThe service to delete
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Service

infrastructure/kubernetes/service_get · Action

Retrieve one Service by name — its type, selector, ports, and any assigned cluster or external IP.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the service lives in
ServicestringRequiredThe service to retrieve

Returns: id, result, tool_result, success, error

Kubernetes List Services

infrastructure/kubernetes/service_list · Action

List the Services in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=web
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every Service is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

17Serviceaccount

Kubernetes Create Service Account

infrastructure/kubernetes/serviceaccount_create · Action

Create a ServiceAccount in a namespace, with optional labels and annotations. Note: since Kubernetes 1.24 this no longer auto-creates a token Secret — use kubectl create token for a short-lived one.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace to create the ServiceAccount in
Service AccountstringRequiredThe name for the new ServiceAccount (DNS-safe, e.g. deploy-bot)
Labelsobject{"app":"deploy-bot","team":"platform"}
Annotationsobject{"eks.amazonaws.com/role-arn":"arn:aws:iam::…"}

Returns: id, result, tool_result, success, error

Kubernetes Delete Service Account

infrastructure/kubernetes/serviceaccount_delete · Action

Permanently delete a ServiceAccount, invalidating every token issued for it. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the ServiceAccount lives in
Service AccountstringRequiredThe ServiceAccount to delete — every token issued for it stops working
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get Service Account

infrastructure/kubernetes/serviceaccount_get · Action

Fetch a single ServiceAccount by name — its labels, annotations, imagePullSecrets, and referenced secrets.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the ServiceAccount lives in
Service AccountstringRequiredThe ServiceAccount to fetch

Returns: id, result, tool_result, success, error

Kubernetes List Service Accounts

infrastructure/kubernetes/serviceaccount_list · Action

List the ServiceAccounts in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=default
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every ServiceAccount is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

18Statefulset

Kubernetes Delete StatefulSet

infrastructure/kubernetes/statefulset_delete · Action

Permanently delete a StatefulSet. Its PersistentVolumeClaims are NOT removed — delete them separately to reclaim storage. Requires explicit confirmation.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the statefulset lives in
StatefulSetstringRequiredThe statefulset to delete — its PersistentVolumeClaims are left behind
Deletion PropagationstringHow the managed pods are torn down (default Background) — choices: Background — delete now, reap pods afterwards, Foreground — block until the pods are gone, Orphan — delete the StatefulSet but leave its pods running
Confirm Destructive ActionbooleanRequiredThis permanently changes cluster state. Tick to allow, or bind a variable such as ${var.approved}

Returns: id, result, tool_result, success, error

Kubernetes Get StatefulSet

infrastructure/kubernetes/statefulset_get · Action

Fetch a single StatefulSet by name and return its full definition and status.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the statefulset lives in
StatefulSetstringRequiredThe statefulset to fetch

Returns: id, result, tool_result, success, error

Kubernetes List StatefulSets

infrastructure/kubernetes/statefulset_list · Action

List the StatefulSets in a namespace, or across every namespace, optionally filtered by label or field.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringLeave blank to list across every namespace
Label Selectorstringapp=web,tier!=cache
Field Selectorstringmetadata.name=web
LimitintegerObjects per page (default 100, max 500)
Continue TokenstringResume from a previous run's continue token
Return AllbooleanFollow continue tokens until every StatefulSet is fetched

Returns: results, count, continue_token, has_more, tool_result, success, error

Kubernetes Restart StatefulSet

infrastructure/kubernetes/statefulset_restart · Action

Trigger a rolling restart of a StatefulSet — recreates its pods one ordinal at a time, reattaching the same volumes.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the statefulset lives in
StatefulSetstringRequiredThe statefulset to restart

Returns: id, result, restarted_at, tool_result, success, error

Kubernetes Scale StatefulSet

infrastructure/kubernetes/statefulset_scale · Action

Set the number of replicas for a StatefulSet — scale it up, down, or to zero.

FieldTypeDetails
API Server URLstringRequiredhttps://your-cluster:6443 — the Kubernetes API endpoint
Cluster CA Certificate (PEM)text-----BEGIN CERTIFICATE----- … Leave blank to use the system trust store
NamespacestringRequiredThe namespace the statefulset lives in
StatefulSetstringRequiredThe statefulset to scale
ReplicasintegerRequiredThe desired number of pods — 0 stops it without deleting its data

Returns: id, result, replicas, tool_result, success, error

19Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.