File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ` .
You can’t perform that action at this time.
0 commit comments