selectdb / doris-operator

Doris kubernetes operator
Apache License 2.0
66 stars 33 forks source link

[Feature] support pod crash debug #40

Closed intelligentfu closed 9 months ago

intelligentfu commented 9 months ago

when a pod of doris crashes and does not restart successfully, we should exec the pod for manual debugging. when a pod crashes, we can add an annotation selectdb.com.doris/runmode=debug, the next start of the pod should run in debug mode. The pod will re-enter running status in the next restart. when you have finished debugging the service, you can delete the pod or cancel the annotation, the pod will run in normal mode at the next start.

intelligentfu commented 9 months ago

https://github.com/selectdb/doris-operator/pull/42