robocar-setup/ansible/roles/microservices/files/robocar/registry/services.yaml

28 lines
418 B
YAML
Raw Normal View History

2024-01-13 17:26:23 +00:00
apiVersion: v1
kind: Service
metadata:
name: registry-ext
spec:
type: NodePort
ports:
- port: 5000
name: http-registry
targetPort: http-registry
nodePort: 32000
selector:
app: registry
---
apiVersion: v1
kind: Service
metadata:
name: registry
spec:
type: ClusterIP
ports:
- port: 5000
name: http-registry
targetPort: http-registry
selector:
app: registry