okteto: Recrate pods in error state on `okteto deploy`
Is your feature request related to a problem? Please describe.
okteto deploy leave pods on error state because of an infra problem. If I run okteto deploy again and the infra issue is solved, my pods continue in error state until k8s retries to schedule them.
Describe the solution you’d like
okteto deploy should always recreate pods if they are in error state.
Describe alternatives you’ve considered Let the user recreate the pods manually, but this requires context about kubernetes
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (19 by maintainers)
@abs007 it’s the name of the git repo. Or the
nameproperty of the okteto manifest if definedRight, it’s
deployed-by@abs007 awesome, I assigned it to you. All pods created by
okteto deployhave adeploy-bylabel. You can use that to identify the pods and destroy them if they are in a failing state since before the lastokteto deploycommand is executed