View service procedure status
You can view the status of the service procedure with:
kubectl get serviceprocedures <NAME> -n <NAMESPACE>
Permanent Maintenance Mode service procedure status
- When the PMM service procedure is in progress:
- Phase is changed to "Maintenance"
- status.conditions.maintenance.type = "in progress"OR
- status.conditions.maintenance.type = "completed" (All migrations are completed but taints still on a node)
- Once the PMM service procedure is completed:
- Phase is changed to "Available"
- status.conditions.maintenance.type = "success"
- If the PMM service procedure failed:
- Alert is sent
- status.conditions.maintenance.type = "failed"
Temporary Maintenance Mode service procedure status
- When the TMM service procedure is in progress:
- Phase is changed to "Maintenance"
- status.conditions.maintenance.type = "in progress"
- Once the TMM service procedure is completed:
- "Waiting" phase occurs when the operator has completed the TMM procedure, but before the taint has been removed from the node.
- Then, Phase is changed to "Available"
- status.conditions.maintenance.type = "success"
- If the TMM service procedure failed:
- Alert is sent
- status.conditions.maintenance.type = "failed"
Disk Replacement service procedure status
- When the replacement is in progress:
- Phase is changed to "ReplacingPV"
- status.conditions.replacement.type = "in progress"OR
- status.conditions.replacement.type = "pvc deleted"(PVCs were deleted and we need to delete ss one more time)
- Once the replacement is completed:
- Phase is changed to "Available"
- status.conditions.replacement.type = "success"
- If the replacement failed:
- Alert is sent
- status.conditions.replacement.type = "failed"
Vertical expansion service procedure status
- When the vertical expansion service procedure is in progress:
- Phase is changed to "Expansion"
- status.conditions.expansion.type = "in progress"
- Once the vertical expansion service procedure is completed:
- Phase is changed to "Available"
- status.conditions.expansion.type = "success"
- If the vertical expansion service procedure failed:
- Alert is sent
- status.conditions.expansion.type = "failed"
Horizontal expansion service procedure status
- When the horizontal expansion service procedure is in progress:
- Phase is changed to "Expansion"
- status.conditions.expansion.type = "in progress", status.conditions.updatingTopology.type = "in progress"
- When new pod is Running, status.conditions.expansion.type = "succeed" and phase is changed to "UpdatingTopology"
- Once the horizontal expansion service procedure is completed:
- Phase is changed to "Available"
- status.conditions.expansion.type = "success"
- status.conditions.updatingTopology.type = "success"
- If the horizontal expansion service procedure failed: