api-gateway/k8s/service.yml

17 lines
282 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
2020-04-13 01:26:36 +02:00
port: 8080
2020-04-10 16:00:28 +02:00
targetPort: 8080
2020-04-13 01:26:36 +02:00
nodePort: 8069
2020-04-10 16:00:28 +02:00
protocol: TCP
selector:
app: api-gateway
2020-04-13 01:26:36 +02:00
type: NodePort