From 27b59a675fa767ad91239d89528a90e515539595 Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Wed, 24 Jun 2020 11:42:17 -0700 Subject: Integrate M3DB and prometheus & enable remoteWrite In this patch, added the correct helm charts for M3DB, M3DB operator,and verified by deploying them on a 3-node k8s clusters. After deployment, we enable the remote write from prometheus to M3DB. So that M3Db can be used as a long term storage solution for metrics collected by prometheus. Signed-off-by: Rajamohan Raj Issue-ID: MULTICLOUD-1098 Change-Id: I9ecba8c1341d71047685b10fc46676b1df2ee5f8 --- .../comp-app/collection/app3/helm/m3db/values.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 kud/tests/vnfs/comp-app/collection/app3/helm/m3db/values.yaml (limited to 'kud/tests/vnfs/comp-app/collection/app3/helm/m3db/values.yaml') diff --git a/kud/tests/vnfs/comp-app/collection/app3/helm/m3db/values.yaml b/kud/tests/vnfs/comp-app/collection/app3/helm/m3db/values.yaml new file mode 100644 index 00000000..515fd2ad --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/app3/helm/m3db/values.yaml @@ -0,0 +1,52 @@ +m3dbCluster: + name: m3db-cluster + image: + repository: quay.io/m3db/m3dbnode + tag: v0.10.2 + replicationFactor: 3 + numberOfShards: 256 + isolationGroups: + - name: us-west1-a + numInstances: 1 + - name: us-west1-b + numInstances: 1 + - name: us-west1-c + numInstances: 1 + namespaces: + - name: collectd + preset: 10s:2d + configMapName: m3-configuration + tolerations: {} + +etcdCluster: + name: etcd + size: 3 + version: 3.4.3 + image: + repository: quay.io/coreos/etcd + tag: v3.4.3 + pullPolicy: Always + enableTLS: false + # TLS configs + tls: + static: + member: + peerSecret: etcd-peer-tls + serverSecret: etcd-server-tls + operatorSecret: etcd-client-tls + ## etcd cluster pod specific values + ## Ref: https://github.com/coreos/etcd-operator/blob/master/doc/user/spec_examples.md#three-members-cluster-with-resource-requirement + pod: + ## Antiaffinity for etcd pod assignment + ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity + antiAffinity: false + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + ## Node labels for etcd pod assignment + ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ + nodeSelector: {} -- cgit 1.2.3-korg