siddhi-io/siddhi-operator

Missing the Readiness and Liveness probes after deployment update

Closed this issue · 0 comments

Description:
After the creation of deployment, the Readiness and Liveness probes were missing. The reason is when creating a deployment we are using CreateOrUpdate function because we need to gracefully update the K8s artifacts when there is a spec change.

The MutateFunction used to gracefully update artifacts. The MutateFunction of the deployment was not explicitly set those readiness and liveness probes. Therefore it takes default values for readiness and liveness probes. Since the default values are empty those probes become empty too.

Suggested Labels:
Bug report

Affected Product Version:
0.2.0