Question: How to update readinessProbe settings for Spinnaker Services?


Answer: 

  • In Kubernetes, the 'readinessProbe' can be configured under containers specs for Spinnaker service containers. Document Reference
  • Execute the below command to edit the container
$ kubectl edit pod <name of service pod> -n <namespace>
  • Sample configuration of the service looks like below
spec:
containers:
----
----
readinessProbe:
exec:
  command:
  - cat
  - /tmp/healthy
initialDelaySeconds: 5
periodSeconds: 10