Skip to content

Upgrade talos/k8s via config file #11072

Answered by smira
kaerbr asked this question in Q&A
Discussion options

You must be logged in to vote

There are many reasons for it, but let me try to put something very simple: there is a subtle difference between explicit actions (API calls) and reconciling changes (e.g. machine config).

For Talos, it was a challenge to pick whether one should be an action (API call) or a config change that Talos automatically reconciles.

Let's take reboot as an example:

  • can we make it an API call?
  • can we make it a change that is reconciled (e.g. bumping some counter in the machine config)?

Both are possible, but today reboot is an API call, and that makes sense, as reboot is a single-time action which might carry some parameters (do I want to quick reboot, full reboot via firmware, etc.).

Upgrade/ins…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kaerbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants