chore: add CLAUDE.md, kubectl notes, and settings/gitignore tweaks
Document the repo for Claude Code, note a couple of handy kubectl one-liners, allow a few more Bash/WebFetch/WebSearch permissions used during this session, and ignore the relocated zot sync-credentials.json. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
14
docs/kubernetes-extras.md
Normal file
14
docs/kubernetes-extras.md
Normal file
@@ -0,0 +1,14 @@
|
||||
## kubectl
|
||||
|
||||
```bash
|
||||
# condensed -o wide
|
||||
kubectl get pods -A -o wide --watch | awk '
|
||||
/NOMINATED NODE/ { sub(/[[:space:]]+NOMINATED NODE[[:space:]]+READINESS GATES[[:space:]]*$/,""); print; fflush(); next }
|
||||
{ sub(/[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]*$/,""); print; fflush() }
|
||||
'
|
||||
|
||||
# condensed -o wide
|
||||
kubectl get pods -A --watch -o custom-columns=\
|
||||
'NAMESPACE:.metadata.namespace,NAME:.metadata.name,STATUS:.status.phase,RESTARTS:.status.containerStatuses[0].restartCount,IP:.status.podIP,NODE:.spec.nodeName'
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user