kubernetes-yaml/description/Service/Endpoints/example.yml

15 lines
234 B
YAML
Raw Normal View History

2023-12-15 16:39:01 +08:00
apiVersion: v1
kind: Endpoints
metadata:
name: example-endpoints
namespace: demo
labels:
name: example-endpoints
app: demo
type: endpoints
subsets:
- addresses:
- ip: 192.0.2.42
ports:
- port: 9376