github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/debug/python3/k8s/pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: python3
     5  spec:
     6    containers:
     7    - name: python3-web
     8      image: skaffold-debug-python3
     9      ports:
    10      - containerPort: 5000
    11      # connect to the debug-adapter port
    12      readinessProbe:
    13        tcpSocket:
    14          port: 5678
    15        initialDelaySeconds: 2
    16        periodSeconds: 10
    17      # connect to the app port
    18      livenessProbe:
    19        httpGet:
    20          path: /
    21          port: 5000
    22        failureThreshold: 30
    23        periodSeconds: 10