You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
367 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: "{{ include "service.name" $ }}"
labels:
app: "{{ include "service.name" $ }}"
spec:
selector:
app: "{{ include "service.name" $ }}"
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: http
- port: 8081
targetPort: 8081
protocol: TCP
name: http-metrics