github.com/cilium/cilium@v1.16.2/test/controlplane/services/nodeport/v1.26/state1.yaml (about)

     1  apiVersion: v1
     2  items:
     3  - apiVersion: v1
     4    kind: Service
     5    metadata:
     6      annotations:
     7        kubectl.kubernetes.io/last-applied-configuration: |
     8          {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"echo","namespace":"test"},"spec":{"ports":[{"name":"http","port":80,"protocol":"TCP","targetPort":80}],"selector":{"name":"echo"},"type":"NodePort"}}
     9      creationTimestamp: "2022-09-13T11:11:26Z"
    10      name: echo
    11      namespace: test
    12      resourceVersion: "741"
    13      uid: a49fe99c-3564-4754-acc4-780f2331a49b
    14    spec:
    15      clusterIP: 10.96.50.104
    16      clusterIPs:
    17      - 10.96.50.104
    18      externalTrafficPolicy: Cluster
    19      internalTrafficPolicy: Cluster
    20      ipFamilies:
    21      - IPv4
    22      ipFamilyPolicy: SingleStack
    23      ports:
    24      - name: http
    25        nodePort: 30781
    26        port: 80
    27        protocol: TCP
    28        targetPort: 80
    29      selector:
    30        name: echo
    31      sessionAffinity: None
    32      type: NodePort
    33    status:
    34      loadBalancer: {}
    35  - apiVersion: v1
    36    kind: Service
    37    metadata:
    38      annotations:
    39        kubectl.kubernetes.io/last-applied-configuration: |
    40          {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"echo-local","namespace":"test"},"spec":{"externalTrafficPolicy":"Local","ports":[{"name":"http","port":80,"protocol":"TCP","targetPort":80}],"selector":{"name":"echo"},"type":"NodePort"}}
    41      creationTimestamp: "2022-09-13T11:11:26Z"
    42      name: echo-local
    43      namespace: test
    44      resourceVersion: "749"
    45      uid: 38d7dd54-d1ed-4893-aa57-d5474c1e4291
    46    spec:
    47      clusterIP: 10.96.155.18
    48      clusterIPs:
    49      - 10.96.155.18
    50      externalTrafficPolicy: Local
    51      internalTrafficPolicy: Cluster
    52      ipFamilies:
    53      - IPv4
    54      ipFamilyPolicy: SingleStack
    55      ports:
    56      - name: http
    57        nodePort: 30867
    58        port: 80
    59        protocol: TCP
    60        targetPort: 80
    61      selector:
    62        name: echo
    63      sessionAffinity: None
    64      type: NodePort
    65    status:
    66      loadBalancer: {}
    67  - apiVersion: v1
    68    kind: Endpoints
    69    metadata:
    70      annotations:
    71        endpoints.kubernetes.io/last-change-trigger-time: "2022-09-13T11:11:39Z"
    72      creationTimestamp: "2022-09-13T11:11:26Z"
    73      name: echo
    74      namespace: test
    75      resourceVersion: "795"
    76      uid: 034599d6-0f0a-435e-b8a0-1018520ee741
    77    subsets:
    78    - addresses:
    79      - ip: 10.244.1.224
    80        nodeName: nodeport-worker
    81        targetRef:
    82          kind: Pod
    83          name: echo-757d4cb97f-9gmf7
    84          namespace: test
    85          uid: 88542b9d-6369-4ec3-a5eb-fd53720013e8
    86      ports:
    87      - name: http
    88        port: 80
    89        protocol: TCP
    90  - apiVersion: v1
    91    kind: Endpoints
    92    metadata:
    93      annotations:
    94        endpoints.kubernetes.io/last-change-trigger-time: "2022-09-13T11:11:39Z"
    95      creationTimestamp: "2022-09-13T11:11:26Z"
    96      name: echo-local
    97      namespace: test
    98      resourceVersion: "794"
    99      uid: 10afc69c-3a93-4a84-9d38-4e8c2206855e
   100    subsets:
   101    - addresses:
   102      - ip: 10.244.1.224
   103        nodeName: nodeport-worker
   104        targetRef:
   105          kind: Pod
   106          name: echo-757d4cb97f-9gmf7
   107          namespace: test
   108          uid: 88542b9d-6369-4ec3-a5eb-fd53720013e8
   109      ports:
   110      - name: http
   111        port: 80
   112        protocol: TCP
   113  - addressType: IPv4
   114    apiVersion: discovery.k8s.io/v1
   115    endpoints:
   116    - addresses:
   117      - 10.244.1.224
   118      conditions:
   119        ready: true
   120        serving: true
   121        terminating: false
   122      nodeName: nodeport-worker
   123      targetRef:
   124        kind: Pod
   125        name: echo-757d4cb97f-9gmf7
   126        namespace: test
   127        uid: 88542b9d-6369-4ec3-a5eb-fd53720013e8
   128    kind: EndpointSlice
   129    metadata:
   130      annotations:
   131        endpoints.kubernetes.io/last-change-trigger-time: "2022-09-13T11:11:39Z"
   132      creationTimestamp: "2022-09-13T11:11:26Z"
   133      generateName: echo-
   134      generation: 3
   135      labels:
   136        endpointslice.kubernetes.io/managed-by: endpointslice-controller.k8s.io
   137        kubernetes.io/service-name: echo
   138      name: echo-kvlm2
   139      namespace: test
   140      ownerReferences:
   141      - apiVersion: v1
   142        blockOwnerDeletion: true
   143        controller: true
   144        kind: Service
   145        name: echo
   146        uid: a49fe99c-3564-4754-acc4-780f2331a49b
   147      resourceVersion: "797"
   148      uid: d1f517f6-ab88-4c76-9bd0-4906a17cdd75
   149    ports:
   150    - name: http
   151      port: 80
   152      protocol: TCP
   153  - addressType: IPv4
   154    apiVersion: discovery.k8s.io/v1
   155    endpoints:
   156    - addresses:
   157      - 10.244.1.224
   158      conditions:
   159        ready: true
   160        serving: true
   161        terminating: false
   162      nodeName: nodeport-worker
   163      targetRef:
   164        kind: Pod
   165        name: echo-757d4cb97f-9gmf7
   166        namespace: test
   167        uid: 88542b9d-6369-4ec3-a5eb-fd53720013e8
   168    kind: EndpointSlice
   169    metadata:
   170      annotations:
   171        endpoints.kubernetes.io/last-change-trigger-time: "2022-09-13T11:11:39Z"
   172      creationTimestamp: "2022-09-13T11:11:26Z"
   173      generateName: echo-local-
   174      generation: 3
   175      labels:
   176        endpointslice.kubernetes.io/managed-by: endpointslice-controller.k8s.io
   177        kubernetes.io/service-name: echo-local
   178      name: echo-local-jgpfp
   179      namespace: test
   180      ownerReferences:
   181      - apiVersion: v1
   182        blockOwnerDeletion: true
   183        controller: true
   184        kind: Service
   185        name: echo-local
   186        uid: 38d7dd54-d1ed-4893-aa57-d5474c1e4291
   187      resourceVersion: "796"
   188      uid: 7a3d5152-b96d-4fbd-8725-1f2acb91f703
   189    ports:
   190    - name: http
   191      port: 80
   192      protocol: TCP
   193  - apiVersion: v1
   194    kind: Pod
   195    metadata:
   196      creationTimestamp: "2022-09-13T11:11:26Z"
   197      generateName: echo-757d4cb97f-
   198      labels:
   199        name: echo
   200        pod-template-hash: 757d4cb97f
   201      name: echo-757d4cb97f-9gmf7
   202      namespace: test
   203      ownerReferences:
   204      - apiVersion: apps/v1
   205        blockOwnerDeletion: true
   206        controller: true
   207        kind: ReplicaSet
   208        name: echo-757d4cb97f
   209        uid: 169df1db-a9c4-4943-8a51-f7a44b686294
   210      resourceVersion: "793"
   211      uid: 88542b9d-6369-4ec3-a5eb-fd53720013e8
   212    spec:
   213      containers:
   214      - image: quay.io/cilium/json-mock:v1.3.3@sha256:f26044a2b8085fcaa8146b6b8bb73556134d7ec3d5782c6a04a058c945924ca0
   215        imagePullPolicy: IfNotPresent
   216        name: echo-container
   217        ports:
   218        - containerPort: 80
   219          hostPort: 8080
   220          protocol: TCP
   221        readinessProbe:
   222          failureThreshold: 3
   223          httpGet:
   224            path: /
   225            port: 80
   226            scheme: HTTP
   227          periodSeconds: 10
   228          successThreshold: 1
   229          timeoutSeconds: 1
   230        resources: {}
   231        terminationMessagePath: /dev/termination-log
   232        terminationMessagePolicy: File
   233        volumeMounts:
   234        - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
   235          name: kube-api-access-vtrcr
   236          readOnly: true
   237      dnsPolicy: ClusterFirst
   238      enableServiceLinks: true
   239      nodeName: nodeport-worker
   240      preemptionPolicy: PreemptLowerPriority
   241      priority: 0
   242      restartPolicy: Always
   243      schedulerName: default-scheduler
   244      securityContext: {}
   245      serviceAccount: default
   246      serviceAccountName: default
   247      terminationGracePeriodSeconds: 30
   248      tolerations:
   249      - effect: NoExecute
   250        key: node.kubernetes.io/not-ready
   251        operator: Exists
   252        tolerationSeconds: 300
   253      - effect: NoExecute
   254        key: node.kubernetes.io/unreachable
   255        operator: Exists
   256        tolerationSeconds: 300
   257      volumes:
   258      - name: kube-api-access-vtrcr
   259        projected:
   260          defaultMode: 420
   261          sources:
   262          - serviceAccountToken:
   263              expirationSeconds: 3607
   264              path: token
   265          - configMap:
   266              items:
   267              - key: ca.crt
   268                path: ca.crt
   269              name: kube-root-ca.crt
   270          - downwardAPI:
   271              items:
   272              - fieldRef:
   273                  apiVersion: v1
   274                  fieldPath: metadata.namespace
   275                path: namespace
   276    status:
   277      conditions:
   278      - lastProbeTime: null
   279        lastTransitionTime: "2022-09-13T11:11:26Z"
   280        status: "True"
   281        type: Initialized
   282      - lastProbeTime: null
   283        lastTransitionTime: "2022-09-13T11:11:39Z"
   284        status: "True"
   285        type: Ready
   286      - lastProbeTime: null
   287        lastTransitionTime: "2022-09-13T11:11:39Z"
   288        status: "True"
   289        type: ContainersReady
   290      - lastProbeTime: null
   291        lastTransitionTime: "2022-09-13T11:11:26Z"
   292        status: "True"
   293        type: PodScheduled
   294      containerStatuses:
   295      - containerID: containerd://9fe24338688e8c3e12e4ae626afe44567585648743a6c7fcf28cace496ee8f6b
   296        image: quay.io/cilium/json-mock:v1.3.3@sha256:f26044a2b8085fcaa8146b6b8bb73556134d7ec3d5782c6a04a058c945924ca0
   297        imageID: quay.io/cilium/json-mock@sha256:f26044a2b8085fcaa8146b6b8bb73556134d7ec3d5782c6a04a058c945924ca0
   298        lastState: {}
   299        name: echo-container
   300        ready: true
   301        restartCount: 0
   302        started: true
   303        state:
   304          running:
   305            startedAt: "2022-09-13T11:11:39Z"
   306      hostIP: 172.18.0.3
   307      phase: Running
   308      podIP: 10.244.1.224
   309      podIPs:
   310      - ip: 10.244.1.224
   311      qosClass: BestEffort
   312      startTime: "2022-09-13T11:11:26Z"
   313  kind: List
   314  metadata:
   315    resourceVersion: ""