delete_resource
Remove specific Kubernetes resources by specifying type, name, and namespace. Simplify resource management tasks for streamlined cluster operations.
Instructions
Delete a Kubernetes resource
Args:
resource_type: Type of the resource (e.g., pod, service, deployment,configmap,secret,ingress,statefulset,replicaset,damonset,newtorkpolicy,rolebinding,role,serviceaccount,job,cronjob)
resource_name: Name of the resource to delete
namespace: Namespace of the resource
Input Schema
Name | Required | Description | Default |
---|---|---|---|
namespace | No | default | |
resource_name | Yes | ||
resource_type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"namespace": {
"default": "default",
"title": "Namespace",
"type": "string"
},
"resource_name": {
"title": "Resource Name",
"type": "string"
},
"resource_type": {
"title": "Resource Type",
"type": "string"
}
},
"required": [
"resource_type",
"resource_name"
],
"title": "delete_resourceArguments",
"type": "object"
}