title | linktitle | type | description | aliases | |
---|---|---|---|---|---|
jx gitops gc pods |
pods |
docs |
garbage collection for pods ***Aliases**: pod* |
|
jx gitops gc pods
Garbage collect old Pods that have completed or failed
# garbage collect old pods of the default age
jx gitops gc pods
# garbage collect pods older than 10 minutes
jx gitops gc pods -a 10m
-a, --age duration The minimum age of pods to garbage collect. Any newer pods will be kept (default 1h0m0s)
-h, --help help for pods
-n, --namespace string The namespace to look for the pods. If empty will work in namespaces labelled by 'env' and 'gitops.jenkins-x.io/pipeline', also will include `'jx-git-operator' namespace
-s, --selector string The selector to use to filter the pods