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

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: nodejs
     5  spec:
     6    containers:
     7    - name: nodejs-web
     8      image: specified-runtime-nodejs
     9      ports:
    10      - containerPort: 3000
    11      # connect to the devtools debugger endpoint
    12      readinessProbe:
    13        httpGet:
    14          path: /json
    15          port: 9229
    16        initialDelaySeconds: 2
    17        periodSeconds: 10
    18      # connect to the app port
    19      livenessProbe:
    20        httpGet:
    21          path: /
    22          port: 3000
    23        failureThreshold: 30
    24        periodSeconds: 10