Back to modules
v0.4.37

tinysystems/kubernetes-module

View Source

Container Image

europe-west2-docker.pkg.dev/tinyplatform/tinysystems/kubernetes-module-v0:0.4.37

Components 17 available

C

configmap_patch

Set or remove a key in a Kubernetes ConfigMap. On set: creates the ConfigMap if it doesn't exist, or upserts the key. On remove: deletes the key from the ConfigMap data.

D

daemonset_list

Lists Kubernetes DaemonSets with scheduling status and health information.

D

deployment_list

Lists Kubernetes Deployments with replica status, conditions, and health information.

D

deployment_scale

Scale a Kubernetes Deployment to a specified replica count.

D

deployment_update

Update a Kubernetes Deployment's images, environment variables, resources, replicas, and metadata.

E

event_watch

Watch Kubernetes Events for warnings and errors. Use to detect ImagePullBackOff, CrashLoopBackOff, scheduling failures, and other cluster issues.

P

pod_delete

Delete a Kubernetes Pod by name. Useful for forcing pod restart or cleanup.

P

pod_list

Lists Kubernetes Pods with container statuses, phases, and problem detection.

P

pod_logs_get

Get logs from a specific pod by exact name. Use pod_list to find pods first if needed.

P

pod_status_get

Get status of pods matching a label selector. Returns pod count, health summary, and individual pod details.

P

pod_update

Update a Kubernetes Pod's labels and annotations. Note: Pod spec cannot be modified after creation.

P

pod_watch

Watch Kubernetes Pods for status changes. Emits typed events with pod phase, container states, and problem detection.

S

service_list

Lists Kubernetes Services with ports, selectors, and endpoint information.

S

service_update

Update a Kubernetes Service's selector, ports, labels, or annotations.

S

statefulset_list

Lists Kubernetes StatefulSets with replica status, revisions, and health information.

W

workload_list

Lists Kubernetes workload resources (Deployments, StatefulSets, DaemonSets) with optional filtering by namespace and label selector. Returns resource details including name, namespace, kind, labels, replicas, and status.

W

workload_restart

Performs a rollout restart on a Deployment, StatefulSet, or DaemonSet by name. Triggers a rolling update by setting the restart annotation.

Release Notes

Tiny Systems Kubernetes Module

Kubernetes resource management components for cluster automation workflows.

Components

Component Description
Pod Watcher Watch pod events in real time
Pod Status Get current status of a pod
Pod Logs Stream or fetch pod log output
Pod List List pods with label/field selectors
Pod Delete Delete a pod by name
Pod Update Update pod spec or metadata
Deployment List List deployments in a namespace
Deployment Scale Scale a deployment's replica count
Deployment Update Update deployment spec or metadata
Workload List List workloads across resource types
Workload Restart Trigger a rolling restart of a workload
StatefulSet List List statefulsets in a namespace
DaemonSet List List daemonsets in a namespace
Service List List services in a namespace
Service Update Update service spec or metadata
ConfigMap Patch Patch individual keys in a ConfigMap
Event Watcher Watch Kubernetes events in real time

Installation

helm repo add tinysystems https://tiny-systems.github.io/module/
helm install kubernetes-module tinysystems/tinysystems-operator \
  --set controllerManager.manager.image.repository=ghcr.io/tiny-systems/kubernetes-module

Run locally

go run cmd/main.go run --name=kubernetes-module --namespace=tinysystems --version=1.0.0

Part of Tiny Systems

This module is part of the Tiny Systems platform -- a visual flow-based automation engine running on Kubernetes.

License

This module's source code is MIT-licensed. It depends on the Tiny Systems Module SDK (BSL 1.1). See LICENSE for details.

Required Permissions

This module requires elevated Kubernetes RBAC permissions.

API GroupResourcesVerbs
*
*
getlistwatch
apps
deployments
updatepatch
core
configmaps
createupdatepatch
core
pods/log
get