Maintain-kubeusers should apply any changes to quotas after a tool was created.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | taavi | T324558 track and apply Toolforge quota changes via a Git repository | |||
Resolved | taavi | T333979 Re-visit Toolforge Kubernetes default quotas (April 2023) | |||
Resolved | taavi | T350873 Automatically apply quota changes to existing tools |
Event Timeline
taavi opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/132
maintain-kubeusers: document existing quotas
taavi opened https://gitlab.wikimedia.org/repos/cloud/toolforge/maintain-kubeusers/-/merge_requests/8
Automatically replace outdated quotas
taavi merged https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/132
maintain-kubeusers: document existing quotas
taavi merged https://gitlab.wikimedia.org/repos/cloud/toolforge/maintain-kubeusers/-/merge_requests/8
Automatically replace outdated quotas
just in case:
[taavi@toolsbeta-bastion-6 ~/quota] $ kubectl get quota -A -o json > backup-quota.json [taavi@toolsbeta-bastion-6 ~/quota] $ kubectl get limitrange -A -o json > backup-limit.json taavi@tools-sgebastion-11:~/quota $ kubectl get quota -A -o json > backup-quota.json taavi@tools-sgebastion-11:~/quota $ kubectl get limitrange -A -o json > backup-limit.json
Mentioned in SAL (#wikimedia-cloud) [2023-11-22T10:57:23Z] <taavi> deploy maintain-kubeusers patch to manage quotas from the git config T350873
Mentioned in SAL (#wikimedia-cloud-feed) [2023-11-22T10:57:30Z] <taavi@cloudcumin1001> START - Cookbook wmcs.toolforge.k8s.component.deploy for component maintain-kubeusers (T350873)
Mentioned in SAL (#wikimedia-cloud-feed) [2023-11-22T10:57:42Z] <taavi@cloudcumin1001> END (PASS) - Cookbook wmcs.toolforge.k8s.component.deploy (exit_code=0) for component maintain-kubeusers (T350873)
finished run, wrote 0 new accounts, disabled 0 accounts, cleaned up 0 accounts, renewed 9 accounts, updated 3201 quotas