-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Co-authored-by: Nick Veitch <nick.veitch@canonical.com>
- Loading branch information
1 parent
c2f6925
commit 98f396e
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 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. | ||
|
||
| 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.:<br>- `localPath=/full/path/to/k8s.snap`<br>- `revision=123`<br>- `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.:<br>- `localPath=/full/path/to/k8s.snap`<br>- `revision=123`<br>- `channel=latest/edge` | no | | ||
| `v1beta2.k8sd.io/in-place-upgrade-change-id` | The ID of the currently running upgrade | ID string | no | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ Overview <self> | |
```{toctree} | ||
:titlesonly: | ||
releases | ||
annotations | ||
community | ||
configs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Annotations | ||
|
||
This page outlines the annotations that can be configured during cluster | ||
[bootstrap]. To do this, set the cluster-config/annotations parameter in | ||
the bootstrap configuration. | ||
|
||
| Name | Description | Values | | ||
|---------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------| | ||
| `k8sd/v1alpha/lifecycle/skip-cleanup-kubernetes-node-on-remove` | If set, only microcluster and file cleanup are performed. This is helpful when an external controller (e.g., CAPI) manages the Kubernetes node lifecycle. By default, k8sd will remove the Kubernetes node when it is removed from the cluster. | "true"\|"false" | | ||
|
||
<!-- Links --> | ||
|
||
[bootstrap]: /snap/reference/bootstrap-config-reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Overview <self> | |
releases | ||
commands | ||
annotations | ||
certificates | ||
bootstrap-config-reference | ||
proxy | ||
|