github.com/cilium/cilium@v1.16.2/test/controlplane/pod/hostport/manifests/hostport-1.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: hostport-1
     5    namespace: test
     6  spec:
     7    restartPolicy: Never
     8    containers:
     9    - name: nginx
    10      image: nginx:1.14.2
    11      ports:
    12      - containerPort: 80
    13        hostPort: 8081
    14      readinessProbe:
    15        initialDelaySeconds: 30
    16        periodSeconds: 20
    17        httpGet:
    18          path: /
    19          port: 80
    20