Browse Source

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
changes/71/642571/8
Evgeny L 3 years ago
committed by Kaspars Skels
parent
commit
c9ccc7d0fa
  1. 6
      global/profiles/kubernetes-host.yaml

6
global/profiles/kubernetes-host.yaml

@ -106,7 +106,11 @@ data:
"auth": "DH_SUB_PRIVATE_DOCKER_KEY"
}
}
# 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: ""
packages:
repositories:
- deb https://download.docker.com/linux/ubuntu/ xenial stable

Loading…
Cancel
Save