Tooling plugin bundle for Docker container building, Compose environment management, and Kubernetes log/pod diagnostics for AI agents.
Container & Kubernetes Cloud-Native Dev Plugin
Overview
This plugin gives coding agents structured capabilities to interact with local Docker daemons, docker-compose dev environments, and Kubernetes clusters (kubectl, helm, kind, minikube).
Capabilities & Tool Wrappers
- Container Build Inspector: Runs multi-stage
docker build with build cache optimization and safety checks.
- Compose Service Healthcheck: Monitors container logs and exit status during local stack initialization.
- K8s Pod Diagnostic Suite: Tail logs, check describe outputs, and verify CrashLoopBackOff causes.
Sample Plugin Tool Declaration
{
"tools": [
{
"name": "docker_compose_up",
"command": "docker compose up -d --build",
"description": "Spins up local multi-container development environment in detached mode"
},
{
"name": "k8s_inspect_pod_logs",
"command": "kubectl logs -l app={{app_name}} --tail=100",
"description": "Fetches recent log lines from targeted Kubernetes pods"
}
]
}
Best Practices
- Always check container exit codes and healthcheck statuses before declaring environment ready.
- Avoid passing sensitive environment secrets directly in Dockerfiles — use
.env files or Kubernetes Secrets.