github.com/cilium/cilium@v1.16.2/test/controlplane/pod/hostport/state2.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: "775" 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 reason: PodCompleted 84 status: "True" 85 type: Initialized 86 - lastProbeTime: null 87 lastTransitionTime: "2023-06-27T01:21:13Z" 88 reason: PodCompleted 89 status: "False" 90 type: Ready 91 - lastProbeTime: null 92 lastTransitionTime: "2023-06-27T01:21:13Z" 93 reason: PodCompleted 94 status: "False" 95 type: ContainersReady 96 - lastProbeTime: null 97 lastTransitionTime: "2023-06-27T01:20:32Z" 98 status: "True" 99 type: PodScheduled 100 containerStatuses: 101 - containerID: containerd://92e4eb7ee3cd3e0bc1d5bb38f37befdd4194b389ac3e8eaefa6ec83273850dd8 102 image: docker.io/library/nginx:1.14.2 103 imageID: docker.io/library/nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d 104 lastState: {} 105 name: nginx 106 ready: false 107 restartCount: 0 108 started: false 109 state: 110 terminated: 111 containerID: containerd://92e4eb7ee3cd3e0bc1d5bb38f37befdd4194b389ac3e8eaefa6ec83273850dd8 112 exitCode: 0 113 finishedAt: "2023-06-27T01:21:12Z" 114 reason: Completed 115 startedAt: "2023-06-27T01:20:35Z" 116 hostIP: 172.21.0.2 117 phase: Succeeded 118 podIP: 10.244.0.117 119 podIPs: 120 - ip: 10.244.0.117 121 qosClass: BestEffort 122 startTime: "2023-06-27T01:20:32Z" 123 - apiVersion: v1 124 kind: Pod 125 metadata: 126 annotations: 127 kubectl.kubernetes.io/last-applied-configuration: | 128 {"apiVersion":"v1","kind":"Pod","metadata":{"annotations":{},"name":"hostport-2","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"}} 129 creationTimestamp: "2023-06-27T01:21:13Z" 130 name: hostport-2 131 namespace: test 132 resourceVersion: "856" 133 uid: 0a4b0772-865b-4d94-8a95-dd6139e40ce2 134 spec: 135 containers: 136 - image: nginx:1.14.2 137 imagePullPolicy: IfNotPresent 138 name: nginx 139 ports: 140 - containerPort: 80 141 hostPort: 8081 142 protocol: TCP 143 readinessProbe: 144 failureThreshold: 3 145 httpGet: 146 path: / 147 port: 80 148 scheme: HTTP 149 initialDelaySeconds: 30 150 periodSeconds: 20 151 successThreshold: 1 152 timeoutSeconds: 1 153 resources: {} 154 terminationMessagePath: /dev/termination-log 155 terminationMessagePolicy: File 156 volumeMounts: 157 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 158 name: kube-api-access-bx526 159 readOnly: true 160 dnsPolicy: ClusterFirst 161 enableServiceLinks: true 162 nodeName: hostport-control-plane 163 preemptionPolicy: PreemptLowerPriority 164 priority: 0 165 restartPolicy: Never 166 schedulerName: default-scheduler 167 securityContext: {} 168 serviceAccount: default 169 serviceAccountName: default 170 terminationGracePeriodSeconds: 30 171 tolerations: 172 - effect: NoExecute 173 key: node.kubernetes.io/not-ready 174 operator: Exists 175 tolerationSeconds: 300 176 - effect: NoExecute 177 key: node.kubernetes.io/unreachable 178 operator: Exists 179 tolerationSeconds: 300 180 volumes: 181 - name: kube-api-access-bx526 182 projected: 183 defaultMode: 420 184 sources: 185 - serviceAccountToken: 186 expirationSeconds: 3607 187 path: token 188 - configMap: 189 items: 190 - key: ca.crt 191 path: ca.crt 192 name: kube-root-ca.crt 193 - downwardAPI: 194 items: 195 - fieldRef: 196 apiVersion: v1 197 fieldPath: metadata.namespace 198 path: namespace 199 status: 200 conditions: 201 - lastProbeTime: null 202 lastTransitionTime: "2023-06-27T01:21:15Z" 203 status: "True" 204 type: Initialized 205 - lastProbeTime: null 206 lastTransitionTime: "2023-06-27T01:21:55Z" 207 status: "True" 208 type: Ready 209 - lastProbeTime: null 210 lastTransitionTime: "2023-06-27T01:21:55Z" 211 status: "True" 212 type: ContainersReady 213 - lastProbeTime: null 214 lastTransitionTime: "2023-06-27T01:21:15Z" 215 status: "True" 216 type: PodScheduled 217 containerStatuses: 218 - containerID: containerd://92cf59c8409530906ae8d915b35859162960c939fcfa587401ba4d04d9e75282 219 image: docker.io/library/nginx:1.14.2 220 imageID: docker.io/library/nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d 221 lastState: {} 222 name: nginx 223 ready: true 224 restartCount: 0 225 started: true 226 state: 227 running: 228 startedAt: "2023-06-27T01:21:16Z" 229 hostIP: 172.21.0.2 230 phase: Running 231 podIP: 10.244.0.223 232 podIPs: 233 - ip: 10.244.0.223 234 qosClass: BestEffort 235 startTime: "2023-06-27T01:21:15Z" 236 kind: List 237 metadata: 238 resourceVersion: ""