About Kai
Kai is an MCP server published by basebandit in the Cloud category: an MCP Server for Kubernetes. Conduid read 102 tools from its source: apply_yaml, cluster_health, cordon_node, create_configmap, create_cronjob, create_deployment and 96 more. No package is published for it, so it installs from a source checkout.
The repository has 20 stars and 2 forks, is licensed MIT, and its last commit was on 27 Jul 2026. The latest release is v1.0.0 (15 Jun 2026): Changelog 9f6ac79efdff26698f642eaba22a6e309b8d3c7f Add cronjob support (#100) 0109435e5259dfa3ef74b0cc283cfc018c0b4dc4 Add tools (#99) 1002837bec0fb09b825f7069d4f3f51f96… The release before it was v0.0.1 (3 Jul 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include agent-platform, agentops, claude-agent-sdk, fastapi, gvisor and kubernetes.
Install
git clone https://github.com/basebandit/kaiTools (102)
apply_yamlApply one or more Kubernetes resources from a YAML/JSON manifest (like `kubectl apply -f`) Supports multiple documents separated by `---` and any kind, including CRDs. Uses server-side apply: resources are created if absent or merged if they already exist.| Parameter | Type | Description |
|---|---|---|
| manifest * | string | Raw YAML/JSON manifest text. |
| namespace | string | Default namespace for namespaced objects that omit metadata.namespace. Ignored for cluster-scoped kinds. |
cluster_healthSummarize cluster health: node readiness and pod phase distributioncordon_nodeMark a node as unschedulable so no new pods are scheduled onto it| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the node |
create_configmapCreate a new ConfigMap in the specified namespace| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to apply to the ConfigMap |
| binary_data | object | Key-value pairs of binary data (base64 encoded) |
| data | object | Key-value pairs of configuration data |
| labels | object | Labels to apply to the ConfigMap |
| name * | string | Name of the ConfigMap |
| namespace | string | Namespace for the ConfigMap (defaults to current namespace) |
create_cronjobCreate a new CronJob in the specified namespace| Parameter | Type | Description |
|---|---|---|
| args | array | Arguments to pass to the command |
| backoff_limit | number | Number of retries before marking the Job as failed |
| command | array | Command to run in the container (overrides entrypoint) |
| concurrency_policy | string | How to treat concurrent executions: Allow, Forbid, or Replace |
| env | object | Environment variables as key-value pairs |
| failed_jobs_history_limit | number | Number of failed finished jobs to retain |
| image * | string | Container image to run |
| image_pull_policy | string | |
| image_pull_secrets | array | Image pull secrets for private registries |
| labels | object | Labels to apply to the CronJob |
| name * | string | Name of the CronJob |
| namespace | string | Namespace for the CronJob (defaults to current namespace) |
| restart_policy | string | Restart policy for the pod (OnFailure, Never) |
| schedule * | string | Cron schedule expression (e.g., '*/5 * * * *' for every 5 minutes) |
| starting_deadline_seconds | number | Deadline in seconds for starting the job if it misses scheduled time |
| successful_jobs_history_limit | number | Number of successful finished jobs to retain |
| suspend | boolean | Whether the CronJob is suspended |
create_deploymentCreate a new deployment in the current namespace| Parameter | Type | Description |
|---|---|---|
| container_port | string | Container port to expose (format: 'port' or 'port/protocol') |
| env | object | Environment variables as key-value pairs |
| image * | string | Container image to use for the deployment |
| image_pull_policy | string | Image pull policy (Always, IfNotPresent, Never) |
| image_pull_secrets | array | Names of image pull secrets |
| labels | object | Labels to apply to the deployment and pods |
| name * | string | Name of the deployment |
| namespace | string | Namespace for the deployment (defaults to current namespace) |
| replicas | number | Number of replicas (defaults to 1) |
create_ingressCreate a new Ingress in the specified namespace for HTTP/HTTPS routing| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to apply to the Ingress (e.g., for ingress controller configuration) |
| default_backend | object | Default backend as an object with 'service_name' and 'service_port'. Provide this if no rules are specified |
| ingress_class | string | Ingress class name (e.g., 'nginx', 'traefik') |
| labels | object | Labels to apply to the Ingress |
| name * | string | Name of the Ingress |
| namespace | string | Namespace for the Ingress (defaults to current namespace) |
| rules | array | Ingress rules as array of objects with 'host' and 'paths'. Each path has 'path', 'path_type' (Prefix/Exact), 'service_name', and 'service_port' |
| tls | array | TLS configuration as array of objects with 'hosts' (array) and 'secret_name' |
create_jobCreate a new Job in the specified namespace| Parameter | Type | Description |
|---|---|---|
| args | array | Arguments to pass to the command |
| backoff_limit | number | Number of retries before marking the Job as failed |
| command | array | Command to run in the container (overrides entrypoint) |
| completions | number | Number of successful pod completions needed |
| env | object | Environment variables as key-value pairs |
| image * | string | Container image to run |
| image_pull_policy | string | |
| image_pull_secrets | array | Image pull secrets for private registries |
| labels | object | Labels to apply to the Job |
| name * | string | Name of the Job |
| namespace | string | Namespace for the Job (defaults to current namespace) |
| parallelism | number | Maximum number of pods running in parallel |
| restart_policy | string | Restart policy for the pod (OnFailure, Never) |
create_namespaceCreate a new Kubernetes namespace| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to apply to the namespace |
| labels | object | Labels to apply to the namespace |
| name * | string | Name of the namespace to create |
create_persistent_volume_claimCreate a persistent volume claim| Parameter | Type | Description |
|---|---|---|
| access_modes | array | Access modes (ReadWriteOnce, ReadOnlyMany, ReadWriteMany, ReadWriteOncePod) |
| name * | string | Name of the PVC |
| namespace | string | Namespace (defaults to current) |
| storage * | string | Requested storage, e.g. '1Gi' |
| storage_class | string | Storage class name |
| volume_mode | string | Volume mode: Filesystem (default) or Block |
create_podCreate a new pod in the current namespace| Parameter | Type | Description |
|---|---|---|
| args | array | Arguments to the command |
| command | array | Command to run in the container |
| container_name | string | Name of the container (defaults to pod name) |
| container_port | string | Container port to expose (format: 'port' or 'port/protocol') |
| env | object | Environment variables as key-value pairs |
| image * | string | Container image to use for the pod |
| image_pull_policy | string | Image pull policy (Always, IfNotPresent, Never) |
| image_pull_secrets | array | Names of image pull secrets |
| labels | object | Labels to apply to the pod |
| name * | string | Name of the pod |
| namespace | string | Namespace for the pod (defaults to current namespace) |
| node_selector | object | Node selector as key-value pairs |
| restart_policy | string | Restart policy for the pod (Always, OnFailure, Never) |
| service_account | string | Service account to use for the pod |
create_secretCreate a new Secret in the specified namespace| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to apply to the Secret |
| data | object | Key-value pairs of secret data (values should be base64 encoded or plain text) |
| labels | object | Labels to apply to the Secret |
| name * | string | Name of the Secret |
| namespace | string | Namespace for the Secret (defaults to current namespace) |
| string_data | object | Key-value pairs of secret data in plain text (auto-encoded by Kubernetes) |
| type | string | Secret type (Opaque, kubernetes.io/tls, kubernetes.io/dockerconfigjson, etc.) |
create_serviceCreate a new service in the current namespace| Parameter | Type | Description |
|---|---|---|
| cluster_ip | string | ClusterIP to assign to the service (leave empty for auto-assignment) |
| external_ips | array | External IPs for the service |
| external_name | string | External name for ExternalName service type |
| labels | object | Labels to apply to the service |
| name * | string | Name of the service |
| namespace | string | Namespace for the service (defaults to current namespace) |
| ports * | array | Ports to expose, each defined as an object with port, targetPort, etc. |
| selector | object | Pod selector as key-value pairs to route traffic to |
| session_affinity | string | Session affinity (None, ClientIP) |
| type | string | Service type (ClusterIP, NodePort, LoadBalancer, ExternalName) |
delete_configmapDelete a ConfigMap from the specified namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the ConfigMap to delete |
| namespace | string | Namespace of the ConfigMap (defaults to current namespace) |
delete_contextRemove a context from the manager| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the context to delete |
delete_cronjobDelete a CronJob from the specified namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the CronJob to delete |
| namespace | string | Namespace of the CronJob (defaults to current namespace) |
delete_custom_resourceDelete a single custom resource instance by group/version/resource/name| Parameter | Type | Description |
|---|---|---|
| group | string | API group (e.g. 'example.com'; empty for core) |
| name * | string | Name of the resource instance |
| namespace | string | Namespace (defaults to current; ignored for cluster-scoped) |
| resource * | string | Plural resource name (e.g. 'widgets') |
| version * | string | API version (e.g. 'v1') |
delete_deploymentDelete a deployment from the cluster| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment to delete |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
delete_ingressDelete an Ingress from the specified namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Ingress to delete |
| namespace | string | Namespace of the Ingress (defaults to current namespace) |
delete_jobDelete a Job from the specified namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Job to delete |
| namespace | string | Namespace of the Job (defaults to current namespace) |
delete_namespaceDelete a namespace or namespaces matching label selector| Parameter | Type | Description |
|---|---|---|
| labels | object | Label selector to delete multiple namespaces |
| name | string | Name of the namespace to delete |
delete_persistent_volumeDelete a persistent volume| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the persistent volume |
delete_persistent_volume_claimDelete a persistent volume claim| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the PVC |
| namespace | string | Namespace (defaults to current) |
delete_podDelete a pod by name| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force deletes the pod if set to true |
| name * | string | Name of the pod to delete |
| namespace | string | Namespace of the pod (defaults to current namespace) |
delete_secretDelete a Secret from the specified namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Secret to delete |
| namespace | string | Namespace of the Secret (defaults to current namespace) |
delete_serviceDelete a service or multiple services matching criteria from the current namespace| Parameter | Type | Description |
|---|---|---|
| labels | object | Label selector as key-value pairs to delete services matching these labels |
| name | string | Name of the specific service to delete (either name or labels must be provided) |
| namespace | string | Namespace of the service(s) (defaults to current namespace) |
delete_yamlDelete one or more Kubernetes resources described by a YAML/JSON manifest (like `kubectl delete -f`). Supports multiple documents separated by `---` and any kind, including CRDs. Objects that are already gone are reported, not errored.| Parameter | Type | Description |
|---|---|---|
| manifest * | string | Raw YAML/JSON manifest text identifying the resources to delete. |
| namespace | string | Default namespace for namespaced objects that omit metadata.namespace. Ignored for cluster-scoped kinds. |
describe_contextGet detailed information about a specific context| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the context to describe |
describe_deploymentGet detailed information about a specific deployment| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
drain_nodeCordon a node and evict its pods (DaemonSet and mirror pods are skipped)| Parameter | Type | Description |
|---|---|---|
| delete_local_data | boolean | Evict pods using emptyDir volumes, losing their local data (default false) |
| grace_period | number | Eviction grace period in seconds (-1 uses the pod default) |
| ignore_daemonsets | boolean | Skip DaemonSet-managed pods instead of failing (default true) |
| name * | string | Name of the node |
get_cluster_roleGet a cluster role with its rulesget_cluster_role_bindingGet a cluster role bindingget_configmapGet detailed information about a specific ConfigMap| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the ConfigMap |
| namespace | string | Namespace of the ConfigMap (defaults to current namespace) |
get_crdGet details about a CustomResourceDefinition, including how to query its instances| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the CRD (e.g. 'widgets.example.com') |
get_cronjobGet information about a specific CronJob| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the CronJob |
| namespace | string | Namespace of the CronJob (defaults to current namespace) |
get_current_contextGet the currently active Kubernetes contextget_custom_resourceGet a single custom resource instance by group/version/resource/name| Parameter | Type | Description |
|---|---|---|
| group | string | API group (e.g. 'example.com'; empty for core) |
| name * | string | Name of the resource instance |
| namespace | string | Namespace (defaults to current; ignored for cluster-scoped) |
| resource * | string | Plural resource name (e.g. 'widgets') |
| version * | string | API version (e.g. 'v1') |
get_deploymentGet basic information about a specific deployment| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
get_ingressGet information about a specific Ingress| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Ingress |
| namespace | string | Namespace of the Ingress (defaults to current namespace) |
get_jobGet information about a specific Job| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Job |
| namespace | string | Namespace of the Job (defaults to current namespace) |
get_namespaceGet detailed information about a specific namespace| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the namespace to get |
get_nodeGet detailed information about a specific node| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the node |
get_persistent_volumeGet details about a specific persistent volume| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the persistent volume |
get_persistent_volume_claimGet details about a specific persistent volume claim| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the PVC |
| namespace | string | Namespace (defaults to current) |
get_podGet detailed information about a specific pod| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the pod |
| namespace | string | Namespace of the pod (defaults to current namespace) |
get_roleGet an RBAC role with its rulesget_role_bindingGet an RBAC role bindingget_secretGet information about a specific Secret (values are masked for security)| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the Secret |
| namespace | string | Namespace of the Secret (defaults to current namespace) |
get_serviceGet detailed information about a specific service| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the service |
| namespace | string | Namespace of the service (defaults to current namespace) |
get_service_accountGet a service accountget_storage_classGet details about a specific storage class| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the storage class |
list_api_resourcesList the server's preferred API resources (like 'kubectl api-resources')list_cluster_role_bindingsList cluster role bindingslist_cluster_rolesList cluster roleslist_configmapsList ConfigMaps in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list ConfigMaps across all namespaces |
| label_selector | string | Label selector to filter ConfigMaps (e.g., 'app=nginx,env=prod') |
| namespace | string | Specific namespace to list ConfigMaps from (defaults to current namespace) |
list_contextsList all available Kubernetes contextslist_crdsList all CustomResourceDefinitions registered in the clusterlist_cronjobsList CronJobs in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list CronJobs across all namespaces |
| label_selector | string | Label selector to filter CronJobs (e.g., 'app=nginx,env=prod') |
| namespace | string | Specific namespace to list CronJobs from (defaults to current namespace) |
list_custom_resourcesList instances of a custom resource by group/version/resource| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | List across all namespaces |
| group | string | API group (e.g. 'example.com'; empty for core) |
| namespace | string | Namespace (defaults to current; ignored for cluster-scoped) |
| resource * | string | Plural resource name (e.g. 'widgets') |
| version * | string | API version (e.g. 'v1') |
list_deploymentsList deployments in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list deployments across all namespaces |
| label_selector | string | Label selector to filter deployments |
| namespace | string | Specific namespace to list deployments from (defaults to current namespace) |
list_eventsList Kubernetes events, optionally filtered by namespace, type or involved object| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | List events across all namespaces |
| involved_object | string | Filter to events about a specific object by name (e.g. a pod name) |
| limit | number | Maximum number of events to return |
| namespace | string | Namespace to list events from (defaults to current namespace) |
| type | string | Filter by event type: 'Warning' or 'Normal' |
list_ingressesList Ingresses in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list Ingresses across all namespaces |
| label_selector | string | Label selector to filter Ingresses (e.g., 'app=nginx,env=prod') |
| namespace | string | Specific namespace to list Ingresses from (defaults to current namespace) |
list_jobsList Jobs in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list Jobs across all namespaces |
| label_selector | string | Label selector to filter Jobs (e.g., 'app=nginx,env=prod') |
| namespace | string | Specific namespace to list Jobs from (defaults to current namespace) |
list_namespacesList all namespaces in the cluster| Parameter | Type | Description |
|---|---|---|
| label_selector | string | Label selector to filter namespaces (e.g., 'env=prod,tier=backend') |
list_nodesList all nodes in the cluster with status, roles and versionlist_persistent_volume_claimsList persistent volume claims in a namespace| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | List across all namespaces |
| label_selector | string | Label selector to filter PVCs |
| namespace | string | Namespace (defaults to current) |
list_persistent_volumesList all persistent volumes (cluster-scoped)list_podsList pods in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list pods across all namespaces |
| field_selector | string | Field selector to filter pods |
| label_selector | string | Label selector to filter pods |
| limit | number | Maximum number of pods to list |
| namespace | string | Specific namespace to list pods from (defaults to current namespace) |
list_port_forwardsList all active port forwarding sessionslist_role_bindingsList RBAC role bindings in a namespacelist_rolesList RBAC roles in a namespacelist_secretsList Secrets in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list Secrets across all namespaces |
| label_selector | string | Label selector to filter Secrets (e.g., 'app=nginx,env=prod') |
| namespace | string | Specific namespace to list Secrets from (defaults to current namespace) |
list_service_accountsList service accounts in a namespacelist_servicesList services in the current namespace or across all namespaces| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Whether to list services across all namespaces |
| label_selector | string | Label selector to filter services |
| namespace | string | Specific namespace to list services from (defaults to current namespace) |
list_storage_classesList all storage classes in the clusterload_kubeconfigLoad a kubeconfig file and register it as a new context| Parameter | Type | Description |
|---|---|---|
| name * | string | Name to assign to this context |
| path | string | Path to the kubeconfig file (defaults to ~/.kube/config) |
node_metricsShow CPU and memory usage per node (requires metrics-server)patch_serviceApply a partial update to an existing service| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the service to patch |
| namespace | string | Namespace of the service (defaults to current namespace) |
| patch * | object | Patch data as key-value pairs (e.g., labels, selector, type, externalIPs) |
pod_metricsShow CPU and memory usage per pod (requires metrics-server)| Parameter | Type | Description |
|---|---|---|
| all_namespaces | boolean | Report pods across all namespaces |
| namespace | string | Namespace to report (defaults to current namespace) |
rename_contextRename an existing context| Parameter | Type | Description |
|---|---|---|
| new_name * | string | New name for the context |
| old_name * | string | Current name of the context |
resume_cronjobResume a suspended CronJob| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the CronJob to resume |
| namespace | string | Namespace of the CronJob (defaults to current namespace) |
rollout_history_deploymentView the rollout history of a deployment| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
rollout_pause_deploymentPause a deployment rollout| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
rollout_restart_deploymentRestart a deployment by recreating its pods| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
rollout_resume_deploymentResume a paused deployment rollout| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
rollout_status_deploymentCheck the rollout status of a deployment| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
rollout_undo_deploymentRoll back a deployment to a previous revision| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
| revision | number | Specific revision to roll back to (defaults to previous revision) |
scale_deploymentScale a deployment to a specified number of replicas| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the deployment to scale |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
| replicas * | number | Number of replicas to scale to |
start_port_forwardStart port forwarding to a pod or service. Similar to 'kubectl port-forward'| Parameter | Type | Description |
|---|---|---|
| namespace | string | Namespace of the target (defaults to current namespace) |
| ports * | string | Port mapping in format 'LOCAL:REMOTE' (e.g., '8080:80') or just 'PORT' for same local and remote |
| target * | string | Target to forward to. Use 'pod/name' or 'service/name' or 'svc/name' format |
stop_port_forwardStop an active port forwarding session| Parameter | Type | Description |
|---|---|---|
| session_id * | string | ID of the port forward session to stop (e.g., 'pf-1') |
stream_logsStream logs from a container in a pod| Parameter | Type | Description |
|---|---|---|
| container | string | Name of the container (defaults to the first container) |
| namespace | string | Namespace of the pod (defaults to current namespace) |
| pod * | string | Name of the pod |
| previous | boolean | Whether to get logs from a previous container instance |
| since | string | Only return logs newer than a relative duration like 5s, 2m, or 3h |
| tail | number | Number of lines to show from the end of the logs (defaults to all) |
suspend_cronjobSuspend a CronJob to prevent it from creating new jobs| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the CronJob to suspend |
| namespace | string | Namespace of the CronJob (defaults to current namespace) |
switch_contextSwitch to a different Kubernetes context| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the context to switch to |
uncordon_nodeMark a node as schedulable again| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the node |
update_configmapUpdate an existing ConfigMap| Parameter | Type | Description |
|---|---|---|
| annotations | object | New annotations to apply to the ConfigMap (replaces existing annotations) |
| binary_data | object | New key-value pairs of binary data (replaces existing binary data) |
| data | object | New key-value pairs of configuration data (replaces existing data) |
| labels | object | New labels to apply to the ConfigMap (replaces existing labels) |
| name * | string | Name of the ConfigMap to update |
| namespace | string | Namespace of the ConfigMap (defaults to current namespace) |
update_cronjobUpdate an existing CronJob| Parameter | Type | Description |
|---|---|---|
| concurrency_policy | string | Concurrency policy (Allow, Forbid, Replace) |
| failed_jobs_history_limit | number | Number of failed jobs to retain |
| labels | object | Labels to add or update |
| name * | string | Name of the CronJob to update |
| namespace | string | Namespace of the CronJob (defaults to current namespace) |
| schedule | string | Cron schedule expression (e.g., '*/5 * * * *') |
| successful_jobs_history_limit | number | Number of successful jobs to retain |
update_deploymentUpdate an existing deployment| Parameter | Type | Description |
|---|---|---|
| container_port | string | Container port to expose (format: 'port' or 'port/protocol') |
| env | object | Environment variables to add or update as key-value pairs |
| image | string | New container image to use for the deployment |
| image_pull_policy | string | Image pull policy (Always, IfNotPresent, Never) |
| image_pull_secrets | array | Names of image pull secrets |
| labels | object | Labels to add or update on the deployment and pods |
| name * | string | Name of the deployment to update |
| namespace | string | Namespace of the deployment (defaults to current namespace) |
| replicas | number | New number of replicas |
update_ingressUpdate an existing Ingress| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to add/update on the Ingress |
| default_backend | object | Default backend as an object with 'service_name' and 'service_port' |
| ingress_class | string | New Ingress class name |
| labels | object | Labels to add/update on the Ingress |
| name * | string | Name of the Ingress to update |
| namespace | string | Namespace of the Ingress (defaults to current namespace) |
| rules | array | New Ingress rules (replaces existing rules) |
| tls | array | New TLS configuration (replaces existing TLS) |
update_jobUpdate an existing Job (limited to mutable fields like labels and parallelism)| Parameter | Type | Description |
|---|---|---|
| labels | object | Labels to add or update |
| name * | string | Name of the Job to update |
| namespace | string | Namespace of the Job (defaults to current namespace) |
| parallelism | number | Number of pods to run in parallel |
update_namespaceUpdate an existing namespace| Parameter | Type | Description |
|---|---|---|
| annotations | object | Annotations to add or update |
| labels | object | Labels to add or update |
| name * | string | Name of the namespace to update |
update_secretUpdate an existing Secret| Parameter | Type | Description |
|---|---|---|
| annotations | object | New annotations to apply to the Secret (replaces existing annotations) |
| data | object | New key-value pairs of secret data (replaces existing data) |
| labels | object | New labels to apply to the Secret (replaces existing labels) |
| name * | string | Name of the Secret to update |
| namespace | string | Namespace of the Secret (defaults to current namespace) |
| string_data | object | New key-value pairs of secret data in plain text (replaces existing string data) |
| type | string | Secret type (Opaque, kubernetes.io/tls, kubernetes.io/dockerconfigjson, etc.) |
update_serviceUpdate an existing service| Parameter | Type | Description |
|---|---|---|
| cluster_ip | string | ClusterIP address |
| external_ips | array | External IP addresses |
| external_name | string | External name for ExternalName service type |
| labels | object | Labels to add or update |
| name * | string | Name of the service to update |
| namespace | string | Namespace of the service (defaults to current namespace) |
| ports | array | Service ports configuration |
| selector | object | Selector labels |
| session_affinity | string | Session affinity (None or ClientIP) |
| type | string | Service type (ClusterIP, NodePort, LoadBalancer, ExternalName) |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 914 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
- ✓No dynamic code executionScanned 59 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEserver.go:168, server.go:175, server.go:200
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callcluster/manager.go:687
- Writes or deletes files
- No file writes or deletes
- Lockfile
- go.sum
Pattern matches on the source text of 59 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 914 words, fetched a month ago. The original in the repository is authoritative.
Read full README