1 The container name. 

2 The container image to deploy. 

3 A readiness probe. 

4 A container command test. 

5 The commands to execute on the container. 

## Sample container command startup probe and liveness probe with container command tests in a pod spec 

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 httpGet: 4 scheme: HTTPS 5 path: /healthz port: 8080 6 httpHeaders: - name: X-Custom-Header value: Awesome startupProbe: 7 httpGet: 8 path: /healthz port: 8080 9 failureThreshold: 30 10 periodSeconds: 10 11 ... 

1 The container name. 

2 Specify the container image to deploy. 

3 A liveness probe. 

4 An HTTP GET  test. 

5 The internet scheme: HTTP  or HTTPS . The default value is HTTP . 

6 The port on which the container is listening. 

