Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: dbhost |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 5 | namespace: "{{ .Values.nsPrefix }}-appc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 6 | labels: |
| 7 | app: appc-dbhost |
| 8 | spec: |
| 9 | ports: |
| 10 | - name: "appc-dbhost-port" |
| 11 | port: 3306 |
| 12 | selector: |
| 13 | app: appc-dbhost |
| 14 | clusterIP: None |
| 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: sdnctldb01 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 20 | namespace: "{{ .Values.nsPrefix }}-appc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: appc-dbhost |
| 23 | spec: |
| 24 | ports: |
| 25 | - port: 3306 |
| 26 | selector: |
| 27 | app: appc-dbhost |
| 28 | clusterIP: None |
| 29 | --- |
| 30 | apiVersion: v1 |
| 31 | kind: Service |
| 32 | metadata: |
| 33 | name: sdnctldb02 |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 34 | namespace: "{{ .Values.nsPrefix }}-appc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 35 | labels: |
| 36 | app: appc-dbhost |
| 37 | spec: |
| 38 | ports: |
| 39 | - port: 3306 |
| 40 | selector: |
| 41 | app: appc-dbhost |
| 42 | clusterIP: None |
| 43 | --- |
| 44 | apiVersion: v1 |
| 45 | kind: Service |
| 46 | metadata: |
| 47 | name: sdnhost |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 48 | namespace: "{{ .Values.nsPrefix }}-appc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 49 | labels: |
| 50 | app: appc |
| 51 | spec: |
| 52 | ports: |
| 53 | - name: "appc-port-8282" |
| 54 | port: 8282 |
| 55 | targetPort: 8181 |
| 56 | nodePort: 30230 |
| 57 | - name: "appc-port-1830" |
| 58 | port: 1830 |
| 59 | nodePort: 30231 |
| 60 | type: NodePort |
| 61 | selector: |
| 62 | app: appc |
| 63 | --- |
| 64 | apiVersion: v1 |
| 65 | kind: Service |
| 66 | metadata: |
| 67 | name: dgbuilder |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame^] | 68 | namespace: "{{ .Values.nsPrefix }}-appc" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 69 | labels: |
| 70 | app: appc-dgbuilder |
| 71 | spec: |
| 72 | ports: |
| 73 | - name: "appc-dgbuilder-port" |
| 74 | port: 3000 |
| 75 | targetPort: 3100 |
| 76 | nodePort: 30228 |
| 77 | type: NodePort |
| 78 | selector: |
| 79 | app: appc-dgbuilder |