OpenShift Container Platform 4.5 Applications 7 A startup probe. 8 An HTTP  GET  test. 9 The port on which the container is listening. 10 The number of times to try the probe after a failure. 11 The number of seconds to perform the probe. 1 The container name. 2 Specify the container image to deploy. 3 The liveness probe. 4 The type of probe, here a container command probe. 5 The command line to execute inside the container. 6 How often in seconds to perform the probe. 7 The number of consecutive successes needed to show success after a failure. 8 The number of times to try the probe after a failure. Sample readiness probe and liveness probe with a TCP socket test in a deployment Sample liveness probe with a container command test that uses a timeout in a pod spec 98 apiVersion: v1 kind: Pod metadata: labels: test: health-check name: my-application ... spec: containers: - name: goproxy-app  1 args: image: k8s.gcr.io/goproxy: 0.1 2 livenessProbe:  3 exec:  4 command:  5 - /bin/bash -  '-c' - timeout  60  /opt/eap/bin/livenessProbe.sh periodSeconds:  10 6 successThreshold:  1 7 failureThreshold:  3 8 ...