Annotations

Like annotations for other Kubernetes objects, CAPI annotations are key-value pairs that can be used to reflect additional metadata for CAPI resources.

Machine

The following annotations can be set on CAPI Machine resources.

In-place Upgrade

Name

Description

Values

Set by user

v1beta2.k8sd.io/in-place-upgrade-to

Trigger a Kubernetes version upgrade on that machine

snap version e.g.:
- localPath=/full/path/to/k8s.snap
- revision=123
- channel=latest/edge

yes

v1beta2.k8sd.io/in-place-upgrade-status

The status of the version upgrade

in-progress|done|failed

no

v1beta2.k8sd.io/in-place-upgrade-release

The current version on the machine

snap version e.g.:
- localPath=/full/path/to/k8s.snap
- revision=123
- channel=latest/edge

no

v1beta2.k8sd.io/in-place-upgrade-change-id

The ID of the currently running upgrade

ID string

no

Refresh Certificates

Name

Description

Values

Set by user

v1beta2.k8sd.io/refresh-certificates

The requested duration (TTL) that the refreshed certificates should expire in.

Duration (TTL) string. A number followed by a unit e.g.: 1mo, 1y, 90d
Allowed units: Any unit supported by time.ParseDuration as well as y (year), mo (month) and d (day).

yes