manage_namespace
Manage Namespace
Create, update, or list Kubernetes namespaces. Use this to organize cluster resources into logical groups for multi-tenancy and isolation.
manage_namespace
Create, update, or list Kubernetes namespaces. Use this to organize cluster resources into logical groups for multi-tenancy and isolation.
manage_rbac
Create or update RBAC resources: Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings. Use this to define access control policies for users, groups, and service accounts.
cluster_info
Retrieve general information about the Kubernetes cluster, including the API server version and a summary of all worker nodes with their status, capacity, and versions.
manage_config_storage
Create or update Kubernetes ConfigMaps and Secrets. Supports setting key-value data directly, or providing a full manifest. For secrets, values should be provided as plain text — they will be base64-encoded automatically.
delete_resource
Delete a Kubernetes resource by type and name. Supports all standard resource types. Optionally set the propagation policy to control how dependent resources are cleaned up.
apply_resource
Apply a Kubernetes resource manifest (similar to `kubectl apply`). Creates the resource if it doesn't exist, or updates it if it does. Accepts a full resource manifest as a JSON object. The kind, apiVersion, and metadata.name are required.
manage_service
Create or update a Kubernetes Service, including ClusterIP, NodePort, LoadBalancer, and ExternalName types. Also manages Ingress resources for HTTP(S) routing.
manage_job
Create or inspect Kubernetes Jobs and CronJobs. Jobs run workloads to completion; CronJobs schedule jobs on a cron-based schedule.
get_pod_logs
Retrieve logs from a specific pod. Supports selecting a specific container in multi-container pods, tailing a fixed number of lines, and fetching logs from a previous container instance.
list_resources
List Kubernetes resources of a given type. Supports all standard resource types including pods, deployments, services, configmaps, secrets, namespaces, nodes, and more. Use **labelSelector** and **fieldSelector** to filter results. Pagination is supported via **limit** and **continueToken**.
manage_deployment
Create, update, scale, or restart a Kubernetes Deployment. Combine multiple operations in one call — for example, update the image and scale replicas simultaneously. Also supports StatefulSets and DaemonSets for similar workload management.
manage_autoscaler
Create, update, or get the status of a HorizontalPodAutoscaler (HPA). HPAs automatically scale the number of pod replicas based on CPU utilization, memory usage, or custom metrics.
get_resource
Retrieve the full details of a specific Kubernetes resource by name and type. Returns the complete resource manifest including metadata, spec, and status. Useful for inspecting the current state and configuration of any resource.
Manage and orchestrate containerized applications on Kubernetes clusters. Create, update, scale, and delete workloads including Pods, Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs. Configure service discovery and load balancing through Services, Ingress, and Endpoints. Manage configuration and storage with ConfigMaps, Secrets, PersistentVolumes, and StorageClasses. Control access with Namespaces, RBAC roles and bindings, ServiceAccounts, and NetworkPolicies. Administer cluster infrastructure including Nodes, ResourceQuotas, LimitRanges, and PriorityClasses. Autoscale workloads with HorizontalPodAutoscaler and VerticalPodAutoscaler. Define and manage Custom Resource Definitions (CRDs) to extend cluster functionality. Watch resources in real time for create, modify, and delete events. Configure admission webhooks to validate or mutate resources before persistence.
Common questions about connecting Kubernetes to AI agents with Metorial.