Skip to content

Commit a2bdcd5

Browse files
committed
Updated EndpointSlice example
1 parent 42dcf1d commit a2bdcd5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Endpoints/endpoint-slice.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/
3-
apiVersion: discovery.k8s.io/v1beta1
3+
apiVersion: discovery.k8s.io/v1
44
kind: EndpointSlice
55
metadata:
66
name: endpoint-slices
@@ -15,6 +15,5 @@ endpoints:
1515
conditions:
1616
ready: true
1717
hostname: pod-1
18-
topology:
19-
kubernetes.io/hostname: node-1
20-
topology.kubernetes.io/zone: us-west2-a
18+
nodeName: node-1
19+
zone: us-west2-a

0 commit comments

Comments
 (0)