Difference between revisions of "Kind: EndpointSlice"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
     protocol: TCP
 
     protocol: TCP
 
     port: 80
 
     port: 80
  endpoints:
+
  [[endpoints:]]
 
   - addresses:
 
   - addresses:
 
       - "10.1.2.3"
 
       - "10.1.2.3"

Revision as of 17:21, 5 December 2022


apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
  name: example-abc
  labels:
    kubernetes.io/service-name: example
addressType: IPv4
ports:
  - name: http
    protocol: TCP
    port: 80
endpoints:
  - addresses:
      - "10.1.2.3"
    conditions:
      ready: true
    hostname: pod-1
    nodeName: node-1
    zone: us-west2-a


Related


See also

Advertising: