probeConfigs parameter

Use the probeConfigs parameter to define a list of probe configurations for readiness, liveness, and startup.

Define groups of configurations including initialDelaySeconds, periodSeconds, timeoutSeconds, successThreshold, failureThreshold by using probeConfigs and these groups can be used by the OMServer.

The following .yaml snippet is a schema of probeConfigs:
spec:
  probeConfigs:
    - name: test1               # Define the probeConfig
      liveness:
        initialDelaySeconds: 30
        periodSeconds: 30
        timeoutSeconds: 1
        failureThreshold: 3
      readiness:
        initialDelaySeconds: 40
        periodSeconds: 50
        timeoutSeconds: 1
        successThreshold: 2
        failureThreshold: 3
        handler:                  # Newly added handler
          httpGet:
            path: /ready
            port: 7443
            scheme: HTTPS
      startup:
        initialDelaySeconds: 30
        periodSeconds: 40
        timeoutSeconds: 1
        failureThreshold: 3

  servers:
    - name: agent-activemq
      probeConfig: test1               # Use the probeConfig
The following table explains the attributes applicable for probeConfigs.
Table 1. Properties for probeConfigs
Property Default value Value type Required Description
spec.probeConfigs.startup   object No Specify the startup probe configurations.
spec.probeConfigs.startup.initialDelaySeconds 120 int32 No Specify the number of seconds after which the container starts before startup probes are initiated.
spec.probeConfigs.startup.timeoutSeconds 1 int32 No Specify the number of seconds after which the probe times out.
spec.probeConfigs.startup.periodSeconds 60 int32 No Specify the frequency in seconds at which to perform the probe.
spec.probeConfigs.startup.failureThreshold 50 int32 No Specify the minimum consecutive failures for the probe to be considered failed after having succeeded.
spec.probeConfigs.readiness   object No Specify the readiness probe configurations.
spec.probeConfigs.readiness.initialDelaySeconds 120 int32 No Specify the number of seconds after the container has started before readiness probes are initiated.
spec.probeConfigs.readiness.timeoutSeconds 1 int32 No Specify the number of seconds after which the probe times out.
spec.probeConfigs.readiness.periodSeconds 90 int32 No Specify the frequency in seconds at which to perform the probe.
spec.probeConfigs.readiness.successThreshold 2 int32 No Specify the minimum consecutive successes for the probe to be considered successful after having failed.
spec.probeConfigs.readiness.failureThreshold 3 int32 No Specify the minimum consecutive failures for the probe to be considered failed after having succeeded.
spec.probeConfigs.liveness   object No Specify the liveness probe configurations.
spec.probeConfigs.liveness.initialDelaySeconds 900 int32 No Specify the number of seconds after the container has started before liveness probes are initiated.
spec.probeConfigs.liveness.timeoutSeconds 10 int32 No Specify the number of seconds after which the probe times out.
spec.probeConfigs.liveness.periodSeconds 60 int32 No Specify the frequency in seconds at which to perform the probe.
spec.probeConfigs.liveness.failureThreshold 3 int32 No Specify the minimum consecutive failures for the probe to be considered failed after having succeeded.
spec.probeConfigs.startup.handler   object No Specify this handler to define the startup action of the probe.
spec.probeConfigs.liveness.handler   object No Specify this handler to define the liveness action of the probe.
spec.probeConfigs.readiness.handler   object No Specify this handler to define the readiness action of the probe.