Kubernetes
Source: https://runstack.engineer/docs/toolkits/kubernetes
Manage pods, deployments, services, config, storage, nodes, jobs and autoscaling via the Kubernetes API.
Tools (43):
| Tool | Description |
|---|---|
kubernetesListNamespaces | List Kubernetes namespaces. Use to discover where workloads are deployed before other calls. |
kubernetesGetNamespace | Get details of a namespace including labels, annotations and phase. |
kubernetesCreateNamespace | Create a new namespace, optionally with labels. Use to isolate a new application or environment. |
kubernetesDeleteNamespace | Delete a namespace and everything in it. Irreversible — confirm with the user first. |
kubernetesListPods | List pods in a namespace or across all namespaces. Returns phase, IP, node, restart counts and images. Use to check workload health. |
kubernetesGetPod | Get full details of a pod including spec, container statuses, events-ready conditions and IPs. |
kubernetesGetPodLogs | Fetch container logs for a pod. Use to debug crashes, CrashLoopBackOff and application errors. |
kubernetesDeletePod | Delete a pod to force a restart (the controller recreates it). Use to recover stuck pods or pick up new config. |
kubernetesListDeployments | List deployments in a namespace or across all namespaces. Returns desired vs available replica counts for rollout health. |
kubernetesGetDeployment | Get full details of a deployment including strategy, selector, pod template and rollout status. |
kubernetesCreateDeployment | Create a deployment from a container image with replicas, port and env vars. Use to deploy a new stateless workload. |
kubernetesScaleDeployment | Scale a deployment to a replica count. Use to handle traffic spikes or scale down idle workloads. |
kubernetesRestartDeployment | Rolling-restart a deployment (kubectl rollout restart equivalent). Use to pick up new images with the same tag or fresh config. |
kubernetesDeleteDeployment | Delete a deployment and its pods. Services, config and PVCs are left untouched — confirm with the user first. |
kubernetesListStatefulSets | List StatefulSets for stateful workloads like databases and queues. Returns desired vs ready replicas. |
kubernetesListDaemonSets | List DaemonSets running node-level agents like log collectors and CNI plugins. Returns scheduling status. |
kubernetesListReplicaSets | List ReplicaSets backing deployments. Use to inspect rollout history and old revisions during a stuck rollout. |
kubernetesListServices | List services in a namespace or across all namespaces. Returns type, cluster IP and ports for service discovery. |
kubernetesGetService | Get full details of a service including selector, ports, endpoints-ready status and load balancer ingress. |
kubernetesCreateService | Create a ClusterIP, NodePort or LoadBalancer service for a set of pods. Use to expose a deployment inside or outside the cluster. |
kubernetesDeleteService | Delete a service. Pods keep running but lose the stable endpoint — confirm with the user first. |
kubernetesListIngresses | List ingresses with hosts, paths and backend services. Use to audit external HTTP routing into the cluster. |
kubernetesGetIngress | Get full ingress details including TLS config, rules, paths and load balancer status. |
kubernetesListConfigMaps | List ConfigMaps. Returns names and data keys only (never values) for config auditing. |
kubernetesGetConfigMap | Get a ConfigMap including its data. Use to inspect application configuration mounted into pods. |
kubernetesCreateConfigMap | Create a ConfigMap from key/value pairs. Use to add non-sensitive configuration for pods to consume. |
kubernetesListSecrets | List secrets returning metadata and data keys only — values are never exposed. Use to audit secret presence and types. |
kubernetesListPersistentVolumeClaims | List PersistentVolumeClaims with bound volumes, storage class, capacity and phase. Use to debug Pending pods waiting on storage. |
kubernetesGetPersistentVolumeClaim | Get a PersistentVolumeClaim including access modes, resources, selectors and bound volume details. |
kubernetesListPersistentVolumes | List cluster PersistentVolumes with capacity, reclaim policy, storage class and claim binding. Use for storage capacity planning. |
kubernetesListNodes | List cluster nodes with Ready status, capacity, allocatable resources and versions. Use for capacity and upgrade planning. |
kubernetesGetNode | Get full node details including addresses, taints, images, volumes and system info. |
kubernetesCordonNode | Mark a node unschedulable (kubectl cordon equivalent). Use before draining or maintaining a node. |
kubernetesUncordonNode | Mark a node schedulable again (kubectl uncordon equivalent). Use after maintenance completes. |
kubernetesListJobs | List batch jobs with active/succeeded/failed counts. Use to check one-off task and migration outcomes. |
kubernetesListCronJobs | List CronJobs with schedules, suspend state and last schedule time. Use to audit recurring workloads. |
kubernetesCreateJob | Create a one-off batch job from a container image and command. Use for migrations, scripts and manual triggers of cron work. |
kubernetesDeleteJob | Delete a batch job and its pods. Use to clean up finished or stuck jobs. |
kubernetesListHorizontalPodAutoscalers | List HorizontalPodAutoscalers with current vs desired replicas, targets and scaling status. |
kubernetesGetHorizontalPodAutoscaler | Get an HPA including scale target, metrics (CPU/memory/custom) and recent scaling conditions. |
kubernetesGetClusterVersion | Get the Kubernetes server version, git commit and platform. Use to check upgrade status and API compatibility. |
kubernetesListApiGroups | Discover available API groups and versions (apps/v1, batch/v1, networking.k8s.io/v1...). Use to check feature support before other calls. |
kubernetesListEvents | List cluster events (warnings, scheduling failures, image pulls). Use first when debugging unhealthy resources. |