INFRASTRUCTURE

Kubernetes actions

67 actions you can wire into a flow, alongside everything else in the Infrastructure integration.

Every Kubernetes action

  • Kubernetes Apply ManifestAdvanced: 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.
  • Kubernetes Cordon NodeMark a Node unschedulable so no new pods land on it. Running pods are untouched; reverse it with Uncordon Node.
  • Kubernetes Create ConfigMapCreate a ConfigMap in a namespace from a map of key/value pairs, with optional labels.
  • Kubernetes Create CronJobCreate a CronJob that runs a container on a cron schedule: set the image, an optional command, and the concurrency policy.
  • Kubernetes Create JobCreate a Job that runs a container image to completion, with retry, TTL cleanup, and an optional command and environment.
  • Kubernetes Create NamespaceCreate a namespace, optionally with labels and annotations.
  • Kubernetes Create SecretCreate a Secret from plain key/value pairs: Kubernetes base64-encodes the values for you.
  • Kubernetes Create ServiceCreate a Service to expose a set of pods on a stable IP and port: ClusterIP, NodePort, LoadBalancer, or ExternalName.
  • Kubernetes Create Service AccountCreate 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.
  • Kubernetes Delete ConfigMapPermanently delete a ConfigMap from a namespace. Requires explicit confirmation.
  • Kubernetes Delete CronJobPermanently delete a CronJob, and by default the Jobs and pods it owns. Requires explicit confirmation.
  • Kubernetes Delete DaemonSetPermanently delete a DaemonSet, stopping its pod on every node. Requires explicit confirmation.
  • Kubernetes Delete DeploymentPermanently delete a Deployment and the pods it manages. Requires explicit confirmation.
  • Kubernetes Delete Horizontal Pod AutoscalerDelete a HorizontalPodAutoscaler. Autoscaling stops; the workload is left at its current replica count. Requires explicit confirmation.
  • Kubernetes Delete IngressPermanently delete an Ingress, withdrawing the external route it defined. Requires explicit confirmation.
  • Kubernetes Delete JobPermanently delete a Job. Deleting with Background (default) or Foreground removes its pods too; Orphan leaves them running. Requires explicit confirmation.
  • Kubernetes Delete NamespacePermanently delete a namespace and every resource inside it. Requires explicit confirmation.
  • Kubernetes Delete PodDelete a Pod. If it is managed by a controller the controller recreates it: the usual way to restart one stuck Pod. Requires explicit confirmation.
  • Kubernetes Delete PVCPermanently 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.
  • Kubernetes Delete SecretPermanently delete a Secret. Requires explicit confirmation.
  • Kubernetes Delete ServicePermanently delete a Service, removing its stable IP and DNS name. Requires explicit confirmation.
  • Kubernetes Delete Service AccountPermanently delete a ServiceAccount, invalidating every token issued for it. Requires explicit confirmation.
  • Kubernetes Delete StatefulSetPermanently delete a StatefulSet. Its PersistentVolumeClaims are NOT removed: delete them separately to reclaim storage. Requires explicit confirmation.
  • Kubernetes Deployment Rollout StatusCheck whether a Deployment has finished rolling out: optionally waiting until it completes, fails, or times out.
  • Kubernetes Drain NodeCordon a Node and evict its pods so they reschedule elsewhere, ready for maintenance. Requires explicit confirmation.
  • Kubernetes Get ConfigMapFetch a single ConfigMap by name, including its data keys and values.
  • Kubernetes Get CronJobFetch a single CronJob by name: its schedule, suspend state, job template, and last/next run times.
  • Kubernetes Get DaemonSetFetch a single DaemonSet by name, including its rollout status and the number of nodes it is scheduled and ready on.
  • Kubernetes Get DeploymentFetch a single Deployment by name: its spec, replica counts, image, and rollout status.
  • Kubernetes Get Horizontal Pod AutoscalerRead one HorizontalPodAutoscaler: its target, its current and desired replica counts, and the live metrics driving it. Needs a Kubernetes 1.23+ cluster (autoscaling/v2).
  • Kubernetes Get IngressRetrieve one Ingress by name: its host rules, path backends, TLS blocks, and assigned load-balancer address.
  • Kubernetes Get JobFetch a single Job by name, including its status: how many pods have succeeded, failed, or are still running.
  • Kubernetes Get NamespaceFetch a single namespace by name, including its labels, annotations and phase.
  • Kubernetes Get NodeFetch a single Node by name, including its status, capacity, conditions and labels.
  • Kubernetes Get PodFetch a single Pod by name, including its status, conditions and per-container state.
  • Kubernetes Get Pod LogsRead the logs of a container in a pod: the last N lines, a recent time window, or the previous crashed instance.
  • Kubernetes Get PVCFetch a single PersistentVolumeClaim by name: its phase, capacity, StorageClass, and bound volume.
  • Kubernetes Get SecretRead a single Secret. Optionally base64-decode its values into a separate plaintext output.
  • Kubernetes Get ServiceRetrieve one Service by name: its type, selector, ports, and any assigned cluster or external IP.
  • Kubernetes Get Service AccountFetch a single ServiceAccount by name: its labels, annotations, imagePullSecrets, and referenced secrets.
  • Kubernetes Get StatefulSetFetch a single StatefulSet by name and return its full definition and status.
  • Kubernetes List ConfigMapsList the ConfigMaps in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List CronJobsList the CronJobs in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List DaemonSetsList the DaemonSets in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List DeploymentsList the Deployments in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List EventsList 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.
  • Kubernetes List Horizontal Pod AutoscalersList the HorizontalPodAutoscalers in a namespace, or across every namespace, optionally filtered by label or field. Needs a Kubernetes 1.23+ cluster (autoscaling/v2).
  • Kubernetes List IngressesList the Ingresses in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List JobsList the Jobs in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List NamespacesList the namespaces in the cluster, optionally filtered by label or field.
  • Kubernetes List NodesList the Nodes in the cluster, optionally filtered by label or field selector.
  • Kubernetes List PodsList the Pods in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List PVCsList the PersistentVolumeClaims in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List SecretsList the Secrets in a namespace, or across every namespace, optionally filtered by label or field. Note: each entry includes the secret's base64 data.
  • Kubernetes List Service AccountsList the ServiceAccounts in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List ServicesList the Services in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes List StatefulSetsList the StatefulSets in a namespace, or across every namespace, optionally filtered by label or field.
  • Kubernetes Restart DaemonSetTrigger a rolling restart of a DaemonSet: replaces its pod on each node in turn, honouring the update strategy.
  • Kubernetes Restart DeploymentTrigger a rolling restart of a Deployment: replaces its pods one batch at a time, with no downtime.
  • Kubernetes Restart StatefulSetTrigger a rolling restart of a StatefulSet: recreates its pods one ordinal at a time, reattaching the same volumes.
  • Kubernetes Resume CronJobUn-pause a suspended CronJob so it resumes scheduling Jobs. Missed runs are not backfilled.
  • Kubernetes Scale DeploymentSet the number of replicas a Deployment runs: scale up for load, or down to zero to pause it.
  • Kubernetes Scale StatefulSetSet the number of replicas for a StatefulSet: scale it up, down, or to zero.
  • Kubernetes Suspend CronJobPause a CronJob so it stops scheduling new Jobs. Jobs already running are left alone.
  • Kubernetes Trigger CronJobRun a CronJob immediately, off-schedule, by creating a one-off Job from its template: the same as kubectl create job --from=cronjob.
  • Kubernetes Uncordon NodeMark a Node schedulable again so the scheduler can place pods on it. Reverses Cordon Node.
  • Kubernetes Update ConfigMapUpdate a ConfigMap's data: merge the supplied keys into the existing data, or replace the whole data map.

Also in Infrastructure

Put Kubernetes in a flow

These actions sit on the same canvas as every other integration, so a Kubernetes step can follow a form, a schedule or a message without any glue code.