Major changes:
- Kubernetes tools: Replace subprocess kubectl calls with kubernetes-client library
- Supports in-cluster config for pod execution
- Fallback to local kubeconfig for development
- All k8s tools (nodes, pods, deployments, logs, describe) now use Python API
- PostgreSQL tools: Replace kubectl exec psql with direct psycopg2 connection
- Connect via Kubernetes service DNS
- Support for environment-based configuration
- Improved error handling with proper pgcode/pgerror
- Prometheus tools: Replace kubectl exec wget with direct HTTP requests
- Use requests library to query Prometheus API
- Connect via Kubernetes service DNS
- Configurable via PROMETHEUS_URL env var
- Deployment updates: Add explicit PostgreSQL connection env vars
- POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER
- Already had POSTGRES_PASSWORD from secret
Benefits:
- No longer requires kubectl binary in container
- Faster execution (no subprocess overhead)
- Better error handling and type safety
- Works seamlessly in Kubernetes pods with RBAC