Files
kubernetes.doku/Distribution/Service.yaml
T
2024-02-19 10:12:11 +01:00

15 lines
276 B
YAML

# Service.yaml
apiVersion: v1
kind: Service
metadata:
name: distribution-service
namespace: distribution
spec:
selector:
# app.kubernetes.io/name:registry
run: registry
ports:
- name: registry-tcp
protocol: TCP
port: 5000
targetPort: 5000