docs icon indicating copy to clipboard operation
docs copied to clipboard

Correct way to disable updates

Open cemo opened this issue 8 years ago • 3 comments

Hi, I am using kubernetes with CoreOS. I have read the documentation but still some doubts about the correct way of documentation.

I am using etcd and want to be in safe in case a reboot. At the same time I want to disable updates too. Since I am very often creating our infrastructure from bottom up, I want an immutable infrastructure instead of updating it.

What I understood is that in order to have a healthy reboot I need:

reboot_strategy: etcd-lock

and in order to disable updates I need:

    - name: update-engine.service
      mask: true

If my approach is true, It would be nice to add a documentation to make it clear.

What do you think?

cemo avatar May 29 '17 08:05 cemo

For me this is unclear as as well. cloud-config docs refer to a differently named key reboot-strategy.

sanmai-NL avatar Jun 01 '17 17:06 sanmai-NL

relevant discussion is at here: https://github.com/coreos/bugs/issues/1982

Current state is buggy, waiting someone to be clear the situation.

cemo avatar Jun 01 '17 20:06 cemo

The correct way to do this is to use Ignition to mask both locksmith and update engine. I realize that in your case, @cemo, you are unable to use Ignition.

crawford avatar Jun 02 '17 22:06 crawford