github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-tcp-liveness.yaml (about) 1 # 2 # Copyright (c) 2019 Intel Corporation 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 apiVersion: v1 7 kind: Pod 8 metadata: 9 name: tcptest 10 labels: 11 app: tcp-liveness 12 spec: 13 terminationGracePeriodSeconds: 0 14 runtimeClassName: kata 15 containers: 16 - name: tcp-liveness 17 image: ${agnhost_image} 18 args: 19 - liveness 20 ports: 21 - containerPort: 8080 22 readinessProbe: 23 tcpSocket: 24 port: 8080 25 initialDelaySeconds: 5 26 periodSeconds: 10 27 livenessProbe: 28 tcpSocket: 29 port: 8080 30 initialDelaySeconds: 15 31 periodSeconds: 20