input-service/k8s/service.yaml

16 lines
260 B
YAML
Raw Normal View History

2020-03-25 01:19:22 +01:00
apiVersion: v1
kind: Service
metadata:
name: input-service
namespace: birbnetes
labels:
app: input-service
spec:
ports:
- name: input-service
2020-03-31 17:54:14 +02:00
port: 80
2020-03-25 01:19:22 +01:00
targetPort: 8080
protocol: TCP
selector:
app: input-service
type: ClusterIP