github.com/cilium/cilium@v1.16.2/test/controlplane/pod/hostport/state1.yaml (about) 1 apiVersion: v1 2 items: 3 - apiVersion: v1 4 kind: Pod 5 metadata: 6 annotations: 7 kubectl.kubernetes.io/last-applied-configuration: | 8 {"apiVersion":"v1","kind":"Pod","metadata":{"annotations":{},"name":"hostport-1","namespace":"test"},"spec":{"containers":[{"image":"nginx:1.14.2","name":"nginx","ports":[{"containerPort":80,"hostPort":8081}],"readinessProbe":{"httpGet":{"path":"/","port":80},"initialDelaySeconds":30,"periodSeconds":20}}],"restartPolicy":"Never"}} 9 creationTimestamp: "2023-06-27T01:20:32Z" 10 name: hostport-1 11 namespace: test 12 resourceVersion: "765" 13 uid: 6c4c248d-5fb2-46ec-bb15-37c2dfe5da5d 14 spec: 15 containers: 16 - image: nginx:1.14.2 17 imagePullPolicy: IfNotPresent 18 name: nginx 19 ports: 20 - containerPort: 80 21 hostPort: 8081 22 protocol: TCP 23 readinessProbe: 24 failureThreshold: 3 25 httpGet: 26 path: / 27 port: 80 28 scheme: HTTP 29 initialDelaySeconds: 30 30 periodSeconds: 20 31 successThreshold: 1 32 timeoutSeconds: 1 33 resources: {} 34 terminationMessagePath: /dev/termination-log 35 terminationMessagePolicy: File 36 volumeMounts: 37 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 38 name: kube-api-access-wtf2t 39 readOnly: true 40 dnsPolicy: ClusterFirst 41 enableServiceLinks: true 42 nodeName: hostport-control-plane 43 preemptionPolicy: PreemptLowerPriority 44 priority: 0 45 restartPolicy: Never 46 schedulerName: default-scheduler 47 securityContext: {} 48 serviceAccount: default 49 serviceAccountName: default 50 terminationGracePeriodSeconds: 30 51 tolerations: 52 - effect: NoExecute 53 key: node.kubernetes.io/not-ready 54 operator: Exists 55 tolerationSeconds: 300 56 - effect: NoExecute 57 key: node.kubernetes.io/unreachable 58 operator: Exists 59 tolerationSeconds: 300 60 volumes: 61 - name: kube-api-access-wtf2t 62 projected: 63 defaultMode: 420 64 sources: 65 - serviceAccountToken: 66 expirationSeconds: 3607 67 path: token 68 - configMap: 69 items: 70 - key: ca.crt 71 path: ca.crt 72 name: kube-root-ca.crt 73 - downwardAPI: 74 items: 75 - fieldRef: 76 apiVersion: v1 77 fieldPath: metadata.namespace 78 path: namespace 79 status: 80 conditions: 81 - lastProbeTime: null 82 lastTransitionTime: "2023-06-27T01:20:32Z" 83 status: "True" 84 type: Initialized 85 - lastProbeTime: null 86 lastTransitionTime: "2023-06-27T01:21:12Z" 87 status: "True" 88 type: Ready 89 - lastProbeTime: null 90 lastTransitionTime: "2023-06-27T01:21:12Z" 91 status: "True" 92 type: ContainersReady 93 - lastProbeTime: null 94 lastTransitionTime: "2023-06-27T01:20:32Z" 95 status: "True" 96 type: PodScheduled 97 containerStatuses: 98 - containerID: containerd://92e4eb7ee3cd3e0bc1d5bb38f37befdd4194b389ac3e8eaefa6ec83273850dd8 99 image: docker.io/library/nginx:1.14.2 100 imageID: docker.io/library/nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d 101 lastState: {} 102 name: nginx 103 ready: true 104 restartCount: 0 105 started: true 106 state: 107 running: 108 startedAt: "2023-06-27T01:20:35Z" 109 hostIP: 172.21.0.2 110 phase: Running 111 podIP: 10.244.0.117 112 podIPs: 113 - ip: 10.244.0.117 114 qosClass: BestEffort 115 startTime: "2023-06-27T01:20:32Z" 116 kind: List 117 metadata: 118 resourceVersion: ""