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

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