api-gateway/k8s/service.yml

16 lines
260 B
YAML
Raw Normal View History

2020-04-10 16:00:28 +02:00
apiVersion: v1
kind: Service
metadata:
name: api-gateway
namespace: birbnetes
labels:
app: api-gateway
spec:
ports:
- name: api-gateway
port: 80
targetPort: 8080
protocol: TCP
selector:
app: api-gateway
type: ClusterIP