model-service/k8s/service.yaml
2020-04-14 13:01:10 +02:00

16 lines
260 B
YAML

apiVersion: v1
kind: Service
metadata:
name: model-service
namespace: birbnetes
labels:
app: model-service
spec:
ports:
- name: model-service
port: 80
targetPort: 8000
protocol: TCP
selector:
app: model-service
type: ClusterIP