From b2fe4bedd05183231ca4ef8dfb251dd46c02ecac Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Thu, 16 Jun 2016 14:44:02 -0700 Subject: [PATCH] examples/bootkube: Disable auto-updates on bootkube cluster --- Documentation/bootkube.md | 4 ++-- examples/ignition/bootkube-master.yaml | 6 ++++++ examples/ignition/bootkube-worker.yaml | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/bootkube.md b/Documentation/bootkube.md index 474dbdc5..4f699361 100644 --- a/Documentation/bootkube.md +++ b/Documentation/bootkube.md @@ -5,7 +5,7 @@ The self-hosted Kubernetes examples provision a 3 node cluster with etcd, flanne ## Experimental -Self-hosted Kubernetes is under very active development by CoreOS. We're working on upstreaming the required Hyperkube patches. Be aware that a deployment with a single apiserver cannot tolerate its failure. We'll be improving this to allow CoreOS auto-updates. +Self-hosted Kubernetes is under very active development by CoreOS. We're working on upstreaming the required Hyperkube patches. Be aware that this cluster disabled auto-updates until checkpointing is available to restart a the kube-apiserver. ## Requirements @@ -69,7 +69,7 @@ Connect to the chosen Kubernetes master node, ssh core@172.15.0.21 -and run the following commands *on the node*. +and run the following command *on the node*. sudo ./bootkube-start diff --git a/examples/ignition/bootkube-master.yaml b/examples/ignition/bootkube-master.yaml index f3e3e363..ecff7dc3 100644 --- a/examples/ignition/bootkube-master.yaml +++ b/examples/ignition/bootkube-master.yaml @@ -64,6 +64,12 @@ systemd: RestartSec=10 [Install] WantedBy=multi-user.target + - name: update-engine.service + enable: false + mask: true + - name: locksmithd.service + enable: false + mask : true storage: {{ if index . "pxe" }} diff --git a/examples/ignition/bootkube-worker.yaml b/examples/ignition/bootkube-worker.yaml index 9202b632..c67f5cfc 100644 --- a/examples/ignition/bootkube-worker.yaml +++ b/examples/ignition/bootkube-worker.yaml @@ -58,6 +58,12 @@ systemd: RestartSec=5 [Install] WantedBy=multi-user.target + - name: update-engine.service + enable: false + mask: true + - name: locksmithd.service + enable: false + mask : true storage: {{ if index . "pxe" }}