You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2024. It is now read-only.
and a `phase` field. The phase of a Deployment is a high-level summary
1234
+
of where the Deployment is in its lifecycle.
1196
1235
1197
1236
The possible `phase` values and their meaning are as below:
1198
1237
1199
1238
| Value | Meaning |
1200
1239
|---|---|
1201
1240
| empty string | A new deployment. |
1202
-
| Initializing | All the direct sub-resources of the `Deployment` are created, but some indirect ones (like pods controlled by a daemon set) may still be missing. |
1203
1241
| Running | The operator has determined that the driver is usable<sup>1</sup>. |
1204
-
| Failed | For some reason the state of the `Deployment` failed and cannot be progressed<sup>2</sup>. |
1242
+
| Failed | For some reason the state of the `Deployment` failed and cannot be progressed. The failure reason is placed in the `DeploymentStatus.Reason` field. |
1205
1243
1206
1244
<sup>1</sup> This check has not been implemented yet. Instead, the deployment goes straight to `Running` after creating sub-resources.
1207
-
<sup>2</sup> Failure reason is supposed to be carried by one of additional `DeploymentStatus` field, but not implemented yet.
1245
+
1246
+
#### Deployment Conditions
1247
+
1248
+
PMEM-CSI `DeploymentStatus` has an array of `conditions` through which the
1249
+
PMEM-CSI Deployment has or has not passed. Below are the possible condition
1250
+
types and their meanings:
1251
+
1252
+
| Condition type | Meaning |
1253
+
|---|---|
1254
+
| CertsReady | Driver certificates/secrets are available. |
1255
+
| CertsVerified | Verified that the provided certificates are valid. |
1256
+
| DriverDeployed | All the componentes required for the PMEM-CSI deployment have been deployed. |
1257
+
1258
+
#### Driver component status
1259
+
1260
+
PMEM-CSI `DeploymentStatus` has an array of `components` of type `DriverStatus`
1261
+
in which the operator records the brief driver components status. This is
1262
+
useful to know if all the driver instances of a deployment are ready.
1263
+
Below are the fields and their meanings of `DriverStatus`:
1264
+
1265
+
| Field | Meaning |
1266
+
| --- | --- |
1267
+
| component | Represents the driver component type; one of `Controller` or `Node`. |
1268
+
| status | Represents the state of the component; one of `Ready` or `NotReady`. Component becomes `Ready` if all the instances of the driver component are running. Otherwise, `NotReady`. |
1269
+
| reason | A brief message that explains why the component is in this state. |
1270
+
| lastUpdateTime | Time at which the status updated. |
0 commit comments