storage-service/k8s/service.yaml

16 lines
268 B
YAML
Raw Normal View History

2020-03-31 19:47:12 +02:00
apiVersion: v1
kind: Service
metadata:
name: storage-service
namespace: birbnetes
labels:
app: storage-service
spec:
ports:
- name: storage-service
2020-04-13 01:02:18 +02:00
port: 80
2020-03-31 19:47:12 +02:00
targetPort: 8000
protocol: TCP
selector:
app: storage-service
type: ClusterIP