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

15 lines
234 B
YAML

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