OpenShift  Container Platform 4.5 Applications 1 Specify the container name. 2 Specify the container image to deploy. 3 Optional: Create a Liveness probe. 4 Specify a test to perform, here a TCP Socket test. 5 Specify the port on which the container is listening. 6 Specify the time, in seconds, after the container starts before the probe can be scheduled. 7 Specify the number of seconds to perform the probe. The default is  10 . This value must be greater than  timeoutSeconds . 8 Specify the number of seconds of inactivity after which the probe is assumed to have failed. The default is  1 . This value must be lower than  periodSeconds . 9 Optional: Create a Readiness probe. 10 Specify the type of test to perform, here an HTTP test. 11 Specify a host IP address. When  host  is not defined, the  PodIP  is used. 12 Specify  HTTP  or  HTTPS . When  scheme  is not defined, the  HTTP  scheme is used. 100 test: health-check name: my-application spec: containers: - name: my-container  1 args: image: k8s.gcr.io/goproxy: 0.1 2 livenessProbe:  3 tcpSocket: 4 port:  8080 5 initialDelaySeconds:  15 6 periodSeconds:  20 7 timeoutSeconds:  10 8 readinessProbe:  9 httpGet:  10 host: my-host  11 scheme: HTTPS  12 path: /healthz port:  8080 13 startupProbe:  14 exec:  15 command:  16 - cat - /tmp/healthy failureThreshold:  30 17 periodSeconds:  20 18 timeoutSeconds:  10 19