operator
operator copied to clipboard
question: how to enable operator ready state after all sub conponents starts?
as topic describe
any method like this?
kubectl - wait - --for=condition=Ready
It's an interesting feature. Currently, only VMCluster has correct status spec that reflects actual cluster status.
Usually I recommend to wait for specific deployments/pods created by operator instead of waiting for CRD status.
Since v0.42.0 release , it's possible to wait readiness for any CRD with command:
kubectl -n vmcloud wait CRD/CRD_NAME --for='jsonpath={.status.updateStatus}'=operational
9ff78ab https://github.com/VictoriaMetrics/operator/commit/4d97ccfa4f722a4879bb263fb17ef4381f91a511 https://github.com/VictoriaMetrics/operator/commit/39795b468aef611193652e9244f32d85f6502615