infra/.claude/commands/kubectl.md

14 lines
355 B
Markdown
Raw Normal View History

2026-01-18 15:40:43 +00:00
# Kubectl Command
Run kubectl commands on the cluster.
2026-01-18 15:40:43 +00:00
```bash
kubectl --kubeconfig $(pwd)/config $ARGUMENTS
2026-01-18 15:40:43 +00:00
```
Examples:
- `/kubectl get pods -A` - List all pods
- `/kubectl get pods -n immich` - List pods in immich namespace
- `/kubectl logs -n immich deploy/immich-server` - View logs
- `/kubectl describe pod -n monitoring <pod>` - Describe a pod