remove_annotation
Remove specific annotations from Kubernetes resources, such as pods, services, or deployments, by specifying the resource type, name, and annotation key. Simplifies Kubernetes management through targeted cleanup.
Instructions
Remove an annotation from a Kubernetes resource
Args:
resource_type: Type of the resource (e.g., pod, service, deployment)
resource_name: Name of the resource to remove the annotation from
annotation_key: Key of the annotation to remove
namespace: Namespace of the resource
Input Schema
Name | Required | Description | Default |
---|---|---|---|
annotation_key | Yes | ||
namespace | No | default | |
resource_name | Yes | ||
resource_type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"annotation_key": {
"title": "Annotation Key",
"type": "string"
},
"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",
"annotation_key"
],
"title": "remove_annotationArguments",
"type": "object"
}