Resources / LiveStatus
LiveStatus
What a host of the platform's controllers is running and whether each controller passes (spec 0047 section 6.5). Written by the host, never by a person: one object per host, one entry per controller registered, with its last pass and last error, and the outcome of the dry run of the safety mechanisms the host carries.
Overview
| API | platform.etorm.com/v1alpha1 |
| Resource | livestatuses (cluster-scoped inside its cluster) |
| Short names | live |
| Available in | the platform only |
| Status | written by a controller through /status |
Minimal example
apiVersion: platform.etorm.com/v1alpha1
kind: LiveStatus
metadata:
name: example
spec:
host: "<host>"
Spec
| Field | Type | Required | Default | Allowed | Description |
host | string | yes | | length 1 to 63 | The host that writes it (for example operator). |
Status
| Field | Type | Required | Default | Allowed | Description |
build | string | | | | The build id compiled into the host, or unknown. |
version | object | | | | The provider's version of the code that wrote this status (read at run time): its id and the tag the deploy gave it (the commit). A status written by an older version is visible here. |
version.id | string | | | | The provider's version id. |
version.tag | string | | | | The tag of that version (the deployed commit), empty when the deploy gave none. |
updatedAt | integer | | | | Unix time of the last write. |
controllers | object | | | | By <group>/<controller>: the last pass and the last error of every controller the host registered. |
selftests | object | | | | By name: the outcome of the dry run of a safety mechanism, made when the host's isolate started. |
Columns in listings
| Column | From |
|---|
| Host | .spec.host |
| Build | .status.build |
| Updated | .status.updatedAt |
All resources