diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-10-14 14:35:11 -0700 |
---|---|---|
committer | Srivahni <srivahni.chivukula@intel.com> | 2019-10-14 14:52:05 -0700 |
commit | 3289af42fd3af32fd07c565d072c65743249ebce (patch) | |
tree | 9ce0f03e1150c0ffec10bec385cc36907f79f82e /vnfs/DAaaS/deploy/collection | |
parent | 9ad7d878dd3e5817fec67cceb6cccc298083a7c1 (diff) |
Change NodePort to ClusterIP in coll, promOper pkg
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: Ica0be8d255074b78dede3fd3b0045f41fde02136
Diffstat (limited to 'vnfs/DAaaS/deploy/collection')
3 files changed, 8 insertions, 7 deletions
diff --git a/vnfs/DAaaS/deploy/collection/charts/cadvisor/templates/service.yaml b/vnfs/DAaaS/deploy/collection/charts/cadvisor/templates/service.yaml index a8a932d1..c52eb22d 100644 --- a/vnfs/DAaaS/deploy/collection/charts/cadvisor/templates/service.yaml +++ b/vnfs/DAaaS/deploy/collection/charts/cadvisor/templates/service.yaml @@ -22,8 +22,8 @@ metadata: app: cadvisor release: {{ .Release.Name }} spec: - type: NodePort - externalTrafficPolicy: Local + type: ClusterIP + #externalTrafficPolicy: Local selector: {{ include "rangeskipempty" .Values.cadvisor_prometheus.service.selector | indent 4 }} ports: @@ -33,5 +33,5 @@ spec: {{- end }} protocol: TCP port: {{ .Values.cadvisor_prometheus.service.port }} - nodePort: {{ .Values.global.nodePortPrefix }}{{ .Values.cadvisor_prometheus.service.nodePort }} + #nodePort: {{ .Values.global.nodePortPrefix }}{{ .Values.cadvisor_prometheus.service.nodePort }} targetPort: {{ .Values.cadvisor_prometheus.service.targetPort }} diff --git a/vnfs/DAaaS/deploy/collection/charts/cadvisor/values.yaml b/vnfs/DAaaS/deploy/collection/charts/cadvisor/values.yaml index a17c3dd5..345b2281 100644 --- a/vnfs/DAaaS/deploy/collection/charts/cadvisor/values.yaml +++ b/vnfs/DAaaS/deploy/collection/charts/cadvisor/values.yaml @@ -14,9 +14,9 @@ resources: {} # lines, adjust them as necessary, and remove the curly braces after 'resources:'. cadvisor_prometheus: service: - type: NodePort + type: ClusterIP port: 80 - nodePort: 91 + #nodePort: 91 targetPort: 8080 selector: app: cadvisor diff --git a/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml b/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml index b3e685c5..c939af4b 100644 --- a/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml +++ b/vnfs/DAaaS/deploy/collection/charts/prometheus/values.yaml @@ -40,6 +40,7 @@ prometheus: resources: {} service: + type: ClusterIP annotations: {} labels: {} clusterIP: "" @@ -55,7 +56,7 @@ prometheus: ## Port to expose on each node ## Only used if service.type is 'NodePort' ## - nodePort: 90 + # nodePort: 90 ## Loadbalancer IP ## Only use if service.type is "loadbalancer" @@ -63,7 +64,7 @@ prometheus: loadBalancerSourceRanges: [] ## Service type ## - type: NodePort + #type: NodePort sessionAffinity: "" m3db: |