Difference between revisions of "Kind: EndpointSlice"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
  [[apiVersion:]] discovery.k8s.io/v1
+
  [[apiVersion:]] [[discovery.k8s.io]]/v1
 
  kind: EndpointSlice
 
  kind: EndpointSlice
 
  metadata:
 
  metadata:
Line 13: Line 13:
 
     protocol: TCP
 
     protocol: TCP
 
     port: 80
 
     port: 80
  endpoints:
+
  [[endpoints:]]
 
   - addresses:
 
   - addresses:
 
       - "10.1.2.3"
 
       - "10.1.2.3"
Line 25: Line 25:
 
== Related ==
 
== Related ==
 
* [[Kubernetes EndpointSlices]]
 
* [[Kubernetes EndpointSlices]]
 
+
* <code>[[kind: Endpoints]]</code>
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{discovery.k8s.io}}
 +
* {{Kubernetes EndpointSlices}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 14:46, 13 December 2023


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[edit]

See also[edit]

Advertising: