github.com/cilium/cilium@v1.16.2/test/controlplane/pod/hostport/state3.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-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"}}
     9      creationTimestamp: "2023-06-27T01:21:13Z"
    10      name: hostport-2
    11      namespace: test
    12      resourceVersion: "856"
    13      uid: 0a4b0772-865b-4d94-8a95-dd6139e40ce2
    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-bx526
    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-bx526
    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:21:15Z"
    83        status: "True"
    84        type: Initialized
    85      - lastProbeTime: null
    86        lastTransitionTime: "2023-06-27T01:21:55Z"
    87        status: "True"
    88        type: Ready
    89      - lastProbeTime: null
    90        lastTransitionTime: "2023-06-27T01:21:55Z"
    91        status: "True"
    92        type: ContainersReady
    93      - lastProbeTime: null
    94        lastTransitionTime: "2023-06-27T01:21:15Z"
    95        status: "True"
    96        type: PodScheduled
    97      containerStatuses:
    98      - containerID: containerd://92cf59c8409530906ae8d915b35859162960c939fcfa587401ba4d04d9e75282
    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:21:16Z"
   109      hostIP: 172.21.0.2
   110      phase: Running
   111      podIP: 10.244.0.223
   112      podIPs:
   113      - ip: 10.244.0.223
   114      qosClass: BestEffort
   115      startTime: "2023-06-27T01:21:15Z"
   116  kind: List
   117  metadata:
   118    resourceVersion: ""