codeformuenster / codeformuenster/kubernetes-deployment
Lösche alte erfolgreiche CronJobs
Open
@webwurst is already working on this.
Since Feb 28, 2017.
- Dominant language
- No language data
- Stars
- 17
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
ungefähr sowas:
for job_name in (kubectl get --all-namespaces jobs -o json | jq -c '.items[] | select(.status.succeeded==1) | [.metadata.namespace,.metadata.name]')
set namespace (echo $job_name | jq -r '.[0]')
set name (echo $job_name | jq -r '.[1]')
kubectl --namespace "$namespace" delete job "$name"
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.