Add systemd timer to upgrade gitlab weekly
This commit is contained in:
@@ -77,7 +77,12 @@ in
|
|||||||
10.253.18.100 gitlab.cluster.local
|
10.253.18.100 gitlab.cluster.local
|
||||||
10.253.18.100 baywash.cluster.local
|
10.253.18.100 baywash.cluster.local
|
||||||
'';
|
'';
|
||||||
|
systemd.services.gitlab-upgrade = {
|
||||||
|
description = "Upgrade gitlab by zapping pod";
|
||||||
|
startAt = "Sun 09:00:00";
|
||||||
|
script = "kubectl delete pods -n gitlab --all";
|
||||||
|
path = [ pkgs.kubectl ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
k0-1 = cluster.server "10.253.18.101" "k0-1" "etcd1";
|
k0-1 = cluster.server "10.253.18.101" "k0-1" "etcd1";
|
||||||
|
|||||||
Reference in New Issue
Block a user