Skip to content

Commit 3bcd9ef

Browse files
committed
Add addonmanager.kubernetes.io label documentation
1 parent f88b5fc commit 3bcd9ef

File tree

1 file changed

+18
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+18
-0
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,24 @@ The annotation `kubernetes.io/limit-ranger` records that resource defaults were
268268
and they were applied successfully.
269269
For more details, read about [LimitRanges](/docs/concepts/policy/limit-range).
270270

271+
### addonmanager.kubernetes.io/mode
272+
273+
Example: `addonmanager.kubernetes.io/mode: "Reconcile"`
274+
275+
Used on: All objects
276+
277+
To specify how an add-on should be managed, you can use the `addonmanager.kubernetes.io/mode` label.
278+
This label can have one of three values: `Reconcile`, `EnsureExists`, or `Ignore`.
279+
280+
- `Reconcile`: Addon resources will be periodically reconciled with the expected state. If there are any differences,
281+
the add-on manager will recreate, reconfigure or delete the resources as needed. This is the default mode if no label is specified.
282+
- `EnsureExists`: Addon resources will be checked for existence only but will not be modified after creation.
283+
The add-on manager will create or re-create the resources when there is no instance of the resource with that name.
284+
- `Ignore`: Addon resources will be ignored. This mode is useful for add-ons that are not compatible with
285+
the add-on manager or that are managed by another controller.
286+
287+
For more details, see [Addon-manager](https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md)
288+
271289
### beta.kubernetes.io/arch (deprecated)
272290

273291
This label has been deprecated. Please use `kubernetes.io/arch` instead.

0 commit comments

Comments
 (0)