service.yaml 411 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: v1
kind: Service
metadata:
  name: "{{ .Values.conf.app_name }}"
  annotations:
    cloud.google.com/neg: '{"ingress": true}'
  namespace: "{{ .Release.Namespace }}"
  labels:
    app: "{{ .Values.conf.app_name }}"
    service: "{{ .Values.conf.app_name }}"
spec:
  ports:
    - protocol: TCP
      port: 80
      targetPort: 8080
      name: http
  selector:
    app: "{{ .Values.conf.app_name }}"