Difference between revisions of "Kind: EndpointSlice"

From wikieduonline
Jump to navigation Jump to search
(Created page with " <pre> apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: example-abc labels: kubernetes.io/service-name: example addressType: IPv4 ports: - name:...")
 
Line 1: Line 1:
 
+
{{lc}}
  
 
<pre>
 
<pre>

Revision as of 11:53, 2 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

Advertising: