Kubernetes
knowledge skill
Applies Kubernetes manifests to a cluster and returns the status of the applied resources. Produces a list of created/updated Kubernetes objects with their current state.
Worked examples
- {"input": {"manifest": "apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: nginx-deployment\nspec:\n replicas: 3\n selector:\n matchLabels:\n app: nginx\n template:\n metadata:\n labels:\n app: nginx\n spec:\n containers:\n - name: nginx\n image: nginx:1.14.2\n ports:\n - containerPort: 80", "namespace": "default"}, "output": {"applied_resources": [{"kind": "Deployment", "name": "nginx-deployment"}], "status": "success", "errors": []}}
- {"input": {"manifest": "apiVersion: v1\nkind: Service\nmetadata:\n name: invalid-service\nspec:\n selector:\n app: nonexistent", "namespace": "prod"}, "output": {"applied_resources": [], "status": "failed", "errors": ["service/prod/invalid-service: no endpoints matched"]}}
Input
- manifest: string (YAML/JSON content of Kubernetes manifests)
- namespace: string (target namespace, optional)
Output
- applied_resources: array (list of resource kinds/names)
- status: string (overall result: success, partial, failed)
- errors: array (list of error messages, if any)
Details
- Skill type: knowledge skill
- Safety level: safe_public_research
- Version: 1.0.0