diff options
Diffstat (limited to 'kud/tests/vnfs/comp-app/collection/m3db')
6 files changed, 114 insertions, 0 deletions
diff --git a/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/Chart.yaml b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/Chart.yaml new file mode 100644 index 00000000..10d9d542 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/Chart.yaml @@ -0,0 +1,3 @@ +apiVersion: v1 +name: m3db +version: 0.1.1 diff --git a/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/del.yaml b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/del.yaml new file mode 100644 index 00000000..86317508 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/del.yaml @@ -0,0 +1,49 @@ +--- +# Source: m3db/templates/m3dbcluster.yaml +apiVersion: operator.m3db.io/v1alpha1 +kind: M3DBCluster +metadata: + name: m3db-cluster +spec: + image: quay.io/m3db/m3dbnode:latest + replicationFactor: 3 + numberOfShards: 256 + isolationGroups: + - name: us-west1-a + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-a + numInstances: 1 + - name: us-west1-b + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-b + numInstances: 1 + - name: us-west1-c + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-c + numInstances: 1 + + tolerations: + {} + + namespaces: + - name: collectd + preset: 10s:2d + + etcdEndpoints: + - http://etcd-0.etcd:2379 + - http://etcd-1.etcd:2379 + - http://etcd-2.etcd:2379 + containerResources: + requests: + memory: 4Gi + cpu: '1' + limits: + memory: 32Gi + cpu: '4' + diff --git a/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/templates/m3dbcluster.yaml b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/templates/m3dbcluster.yaml new file mode 100644 index 00000000..c5da0307 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/templates/m3dbcluster.yaml @@ -0,0 +1,23 @@ +apiVersion: operator.m3db.io/v1alpha1 +kind: M3DBCluster +metadata: + name: m3db-cluster +spec: + image: {{ .Values.m3dbCluster.image.repository }}:{{ .Values.m3dbCluster.image.tag }} + replicationFactor: {{ .Values.m3dbCluster.replicationFactor }} + numberOfShards: {{ .Values.m3dbCluster.numberOfShards }} + isolationGroups: +{{ toYaml .Values.m3dbCluster.isolationGroups | indent 4 }} + namespaces: +{{ toYaml .Values.m3dbCluster.namespaces | indent 4 }} + etcdEndpoints: + - http://etcd-0.etcd:2379 + - http://etcd-1.etcd:2379 + - http://etcd-2.etcd:2379 + containerResources: + requests: + memory: 4Gi + cpu: '1' + limits: + memory: 32Gi + cpu: '4' diff --git a/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/values.yaml b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/values.yaml new file mode 100644 index 00000000..faa2a8b2 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/helm/m3db/values.yaml @@ -0,0 +1,29 @@ +m3dbCluster: + name: m3db-cluster + image: + repository: quay.io/m3db/m3dbnode + tag: latest + replicationFactor: 3 + numberOfShards: 256 + isolationGroups: + - name: us-west1-a + numInstances: 1 + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-a + - name: us-west1-b + numInstances: 1 + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-b + - name: us-west1-c + numInstances: 1 + nodeAffinityTerms: + - key: failure-domain.beta.kubernetes.io/region + values: + - us-west1-c + namespaces: + - name: collectd + preset: 10s:2d diff --git a/kud/tests/vnfs/comp-app/collection/m3db/profile/manifest.yaml b/kud/tests/vnfs/comp-app/collection/m3db/profile/manifest.yaml new file mode 100644 index 00000000..4d381d02 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/profile/manifest.yaml @@ -0,0 +1,4 @@ +--- +version: v1 +type: + values: "override_values.yaml" diff --git a/kud/tests/vnfs/comp-app/collection/m3db/profile/override_values.yaml b/kud/tests/vnfs/comp-app/collection/m3db/profile/override_values.yaml new file mode 100644 index 00000000..041fc40d --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/m3db/profile/override_values.yaml @@ -0,0 +1,6 @@ +service: + type: ClusterIP + nameOfPort: webPort + annotations: {} + labels: {} + clusterIP: ""
\ No newline at end of file |