Post

Kubernetes - EndPoint 란?

Kubernetes 기초

EndPoint 역할

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apiVersion: v1
kind: Service
metadata:
  name: my-service
spec:
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80

---

apiVersion: v1
kind: Endpoints
metadata:
  name: my-service
subsets:
  - addresses:
      - ip : 199.201.110.204
      - ip : 223.130.195.95
    ports:
      - port: 80
This post is licensed under CC BY 4.0 by the author.