Skip to content

Commit af32de9

Browse files
committed
docs: import CloudNativePG main
1 parent 37a77f1 commit af32de9

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

website/docs/labels_annotations.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,21 @@ This label is available only on `VolumeSnapshot` resources.
102102
default users created by CloudNativePG (typically `postgres` and `app`).
103103

104104
`role` - **deprecated**
105-
: Whether the instance running in a pod is a `primary` or a `replica`.
106-
This label is deprecated, you should use `cnpg.io/instanceRole` instead.
105+
: Role of the instance running in a pod: `primary`, `replica`, or
106+
`unhealthy`. The `unhealthy` value is transient: the operator sets
107+
it on the old primary during a failover or switchover and clears it
108+
automatically once the transition completes. This label is deprecated,
109+
you should use `cnpg.io/instanceRole` instead.
107110

108111
`cnpg.io/scheduled-backup`
109112
: When available, name of the `ScheduledBackup` resource that created a given
110113
`Backup` object.
111114

112115
`cnpg.io/instanceRole`
113-
: Whether the instance running in a pod is a `primary` or a `replica`.
116+
: Role of the instance running in a pod: `primary`, `replica`, or
117+
`unhealthy`. The `unhealthy` value is transient: the operator sets
118+
it on the old primary during a failover or switchover and clears it
119+
automatically once the transition completes.
114120

115121
`app.kubernetes.io/managed-by`
116122
: Name of the manager. It will always be `cloudnative-pg`.

0 commit comments

Comments
 (0)