- Red Hat OpenShift Enterprise 3.1
- After deploying pods in OpenShift, some pods never recover from Pending status
- Pods are showing as Pending in the OpenShift web console
- Pods are showing as Pending in the OpenShift command-line interface (CLI) tool
Retry the last deployment, if it is in a failed state:
$ oc deploy <config-name> --retry
If retry fails, cancel an in-progress deployment at any time:
$ oc deploy <config-name> --cancel
To kick off a new deployment, if there is no pending deployment:
$ oc deploy <config-name> --latest
To remove pods stuck in pending or terminating, see How to delete pods stuck in pending or terminating.
This behavior may be associated with a known issue with Kubernetes
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.