Concept
Assert and observe
Each fact has one author. You assert facts in objects that you keep in git.
The operator observes facts and writes them in its own objects and in each status.
- Assertion
- A fact that you write: the serial number of a machine, the install disk, the Talos version.
- Observation
- A fact that the operator reads from a BMC, a node or etcd, and writes in a status.
- Spec
- The part of an object that holds assertions. On a Host the operator writes the spec too, from the claim.
- Status
- The part of an object that holds observations. Only the operator writes it.
When they disagree
Section titled “When they disagree”The operator does not guess which side is correct. If the serial number in the Asset is not the serial number that the BMC reports, the operator stops for that machine. See Identity and Host in Mismatch.
Why it helps
Section titled “Why it helps”- Your git repository holds only assertions. You can apply it again at each time.
- The status tells what is true now, not what someone wished.
- A change made by hand shows as drift, not as a new truth. See Drift.
In the reference
Section titled “In the reference”- Asset, Host
- Phases and conditions: how status reports observations