Open srfrnk opened 2 years ago
Things the post deployment step might need to do:
Event
s on resources(?)Event
passing status
along with latest commit status
***Manifest
resources - status lastTestedCommit
and Tested
condition added***Manifest
resources - add passConditions
kubectl rollout status deployment myapp
(and configured with these)It looks like there is no standard. Many solutions are available some more automated than others. All solutions require lots or scripting to integrate with other solutions and CI/CD frameworks.
1) Waiting for pre-condition 1) Triggering a custom workload (with any testing solution preferred) 1) Waiting for testing workload to complete 1) Determining outcome and configuring status accordingly
1) Time since ??? 1) Readiness of ??? 1) Annotation check 1) Label check 1) Status check
All of these may be possible using jq or yq given a resource definition.
1) Container 1) Pods 1) Jobs/Deployments 1) More complex setups - e.g. services/roles etc...
While being under permissive is not desired - over complicating the setup may also be counter productive. Allowing a Pod definition might be a good comromise.
Add support for following use case: