gyfora opened a new pull request, #961:
URL: https://github.com/apache/flink-kubernetes-operator/pull/961
## What is the purpose of the change
The operator correctly reacts to certain type of pod errors such as image
pull/crash loop when they happen on main / sidecar containers.
However these errors are ignored on initcontainers. Furthermore, volume
mount errors which do not manifest in clear container error statueses are not
recorded at all.
This PR aims to collectively fix this and greatly improve startup error
handling
## Brief change log
- *Check and catch all container and init container error statuses*
- *Add special logic to handle common volume mount errors based on pod
events in case of failed startup*
## Verifying this change
New unit tests + manually verified on different local and prod envs
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
no
- Core observer or reconciler logic that is regularly executed: yes
## Documentation
- Does this pull request introduce a new feature? no
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]