clean up k8s task
This commit is contained in:
parent
956f9a2afe
commit
e79d23c022
1 changed files with 6 additions and 7 deletions
|
@ -2,14 +2,13 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
hubble:
|
cleanup-pods:
|
||||||
desc: forward the hubble relay
|
desc: Clean up leftover Pods
|
||||||
cmds:
|
cmds:
|
||||||
- cilium hubble port-forward &
|
- for:
|
||||||
hubble-ui:
|
matrix:
|
||||||
desc: port-forward hubble to 8888
|
PHASE: [Failed, Succeeded, Pending]
|
||||||
cmds:
|
cmd: kubectl delete pods --field-selector status.phase={{.ITEM.PHASE}} -A --ignore-not-found=true
|
||||||
- kubectl port-forward -n kube-system svc/hubble-ui 8888:80
|
|
||||||
sync-secrets:
|
sync-secrets:
|
||||||
desc: Sync ExternalSecret resources
|
desc: Sync ExternalSecret resources
|
||||||
vars:
|
vars:
|
||||||
|
|
Loading…
Reference in a new issue