clean up k8s task

This commit is contained in:
Joseph Hanson 2024-10-30 17:47:06 -05:00
parent 956f9a2afe
commit e79d23c022
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -2,14 +2,13 @@
version: "3"
tasks:
hubble:
desc: forward the hubble relay
cleanup-pods:
desc: Clean up leftover Pods
cmds:
- cilium hubble port-forward &
hubble-ui:
desc: port-forward hubble to 8888
cmds:
- kubectl port-forward -n kube-system svc/hubble-ui 8888:80
- for:
matrix:
PHASE: [Failed, Succeeded, Pending]
cmd: kubectl delete pods --field-selector status.phase={{.ITEM.PHASE}} -A --ignore-not-found=true
sync-secrets:
desc: Sync ExternalSecret resources
vars: