summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-12-18 13:30:38 -0800
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-12-19 09:57:49 -0800
commit60f72472a038a0bcb7440f6ff028a422de20edc3 (patch)
tree95981bdc5441af32742bb295bc07b23205dc4fb3 /kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml
parent89bd7aa5782066800b9c6879a67d5cb738ed82bf (diff)
Reconfigure nodeport usage
Removed the nodeport usage for sms-db Converted all multicloud-prometheus charts to use ClusterIP for now. We can allocate nodeports for them later on when the services are requested by other services in multicloud. Also, disabled the multicloud-prometheus charts from starting up by default. Change once dependent charts or services are added. Issue-ID: OOM-1555 Change-Id: I2dddc54015844de3abbbf786f95b8bb6eba92d86 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml')
-rw-r--r--kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml
index 00c6e21c5d..562755db91 100644
--- a/kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml
+++ b/kubernetes/multicloud/charts/multicloud-prometheus/templates/deployment.yaml
@@ -14,6 +14,8 @@
# limitations under the License.
*/}}
+{{- if .Values.global.prometheus.enabled -}}
+
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -119,3 +121,5 @@ spec:
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
restartPolicy: Always
+
+{{- end -}} \ No newline at end of file