6.1.2 Microservice Parameters

For each microservice, there is an option to specify the following parameters in its own values.yaml file to perform the readinessProbe.

Table 6-2 Microservice Parameter

Parameter Description Details
readinessProbe.initialDelaySeconds

This is an optional parameter.

Specifies the configurable wait time before performing the first readiness probe by Kubelet.

Default value: 20
readinessProbe.timeoutSeconds

This is an optional parameter.

Number of seconds after which the probe times out.

Default value: 3
readinessProbe.periodSeconds

This is an optional parameter.

Specifies the time interval for every readiness probe check performed by Kubelet.

Default value: 10
readinessProbe.successThreshold

This is an optional parameter.

Minimum consecutive successes for the probe to be considered successful after having failed.

Default value: 1
readinessProbe.failureThreshold

This is an optional parameter.

When a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up.

Default value: 3

Following is an example of the configurations that should be included in the values.yaml file of each microservice.

readinessProbe:
  initialDelaySeconds: 20
  timeoutSeconds: 3
  periodSeconds: 10
  successThreshold: 1
  failureThreshold: 3