aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/vnfs/comp-app/collection/app3/helm/m3db/templates/m3dbcluster.yaml
blob: 8ce16a74b84231bfa23cb69dbed8dca0295d57d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
apiVersion: operator.m3db.io/v1alpha1
kind: M3DBCluster
metadata:
  name: {{ .Values.m3dbCluster.name }}
spec:
  image: {{ .Values.m3dbCluster.image.repository }}:{{ .Values.m3dbCluster.image.tag }}
  replicationFactor: {{ .Values.m3dbCluster.replicationFactor }}
  numberOfShards: {{ .Values.m3dbCluster.numberOfShards }}
  etcdEndpoints:
    - http://{{ .Release.Name }}-{{ .Values.etcdCluster.name }}:2379
  isolationGroups:
{{ toYaml .Values.m3dbCluster.isolationGroups | indent 4 }}
  tolerations:
{{ toYaml .Values.m3dbCluster.tolerations | indent 4 }}
  namespaces:
{{ toYaml .Values.m3dbCluster.namespaces | indent 4 }}
  configMapName: {{ .Values.m3dbCluster.configMapName }}
  resources:
    requests:
      memory: 4Gi
      cpu: '1'
    limits:
      memory: 12Gi
      cpu: '4'