Do not rerun promjoin on every reboot

`promjoin` service should be started on first boot
only to bootstrap a kubernetes cluster.
Create /var/lib/prom.done file to ensure that
Docker and Kubelet do not get downgraded on every
reboot if they had been upgraded manually.

Change-Id: I76027dcde7cb7a4624894b3528abe13e4de174a1
Evgeny L 2019-03-11 21:24:54 +00:00 committed by Kaspars Skels
parent 2346e81dd4
commit c9ccc7d0fa
1 changed files with 5 additions and 1 deletions

View File

@ -106,7 +106,11 @@ data:
# Make sure that promjoin script does not run on every boot,
# otherwise it may downgrade current versions of Docker & Kubelet.
- path: /var/lib/prom.done
mode: 0444
content: ""
- deb xenial stable