Skip to content

Commit 6d13dbe

Browse files
author
alisovenko
committed
b833ccb1696542a99b6dec60349978641688c5e3: update public repo contents
1 parent c8e2964 commit 6d13dbe

File tree

5 files changed

+36
-12
lines changed

5 files changed

+36
-12
lines changed

helm_chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ operator:
1616
name: mongodb-enterprise-operator
1717

1818
# Version of mongodb-enterprise-operator and mongodb-enterprise-database images
19-
version: 0.3
19+
version: 0.4
2020

2121
registry:
2222
# Specify if images are pulled from private repository
23-
imagePullSecrets: null
23+
imagePullSecrets:
2424
pullPolicy: Always
2525
repository: quay.io/mongodb

mongodb-enterprise.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
serviceAccountName: mongodb-enterprise-operator
7575
containers:
7676
- name: mongodb-enterprise-operator
77-
image: quay.io/mongodb/mongodb-enterprise-operator:0.3
77+
image: quay.io/mongodb/mongodb-enterprise-operator:0.4
7878
imagePullPolicy: Always
7979
env:
8080
- name: OPERATOR_ENV
@@ -85,7 +85,7 @@ spec:
8585
fieldPath: metadata.namespace
8686

8787
- name: MONGODB_ENTERPRISE_DATABASE_IMAGE
88-
value: quay.io/mongodb/mongodb-enterprise-database:0.3
88+
value: quay.io/mongodb/mongodb-enterprise-database:0.4
8989
- name: IMAGE_PULL_POLICY
9090
value: Always
9191
- name: IMAGE_PULL_SECRETS

samples/extended/replica-set.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,19 @@ spec:
2121
podSpec:
2222
cpu: '0.25'
2323
memory: 512M
24-
storage: 12G
25-
storageClass: standard
24+
# "multiple" persistence allows to mount different directories to different Persistent Volumes
25+
persistence:
26+
multiple:
27+
data:
28+
storage: 10Gi
29+
journal:
30+
storage: 1Gi
31+
labelSelector:
32+
matchLabels:
33+
app: "my-app"
34+
logs:
35+
storage: 500M
36+
storageClass: standard
2637

2738
# For podAffinity and nodeAffinity see Kubernetes Docs
2839
# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

samples/extended/sharded-cluster.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ spec:
2424
configSrvPodSpec:
2525
cpu: '0.5'
2626
memory: 512M
27-
storage: 5G
28-
storageClass: fast
27+
28+
# if "persistence" element is omitted then Operator uses the default size (16G) for mounting single Persistent Volume
2929

3030
# For podAffinity and nodeAffinity see Kubernetes Docs
3131
# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
@@ -55,6 +55,13 @@ spec:
5555
shardPodSpec:
5656
cpu: '0.6'
5757
memory: 3G
58-
storage: 25G
59-
storageClass: standard
58+
persistence:
59+
multiple:
60+
# if the child of "multiple" is omitted then the default size will be used.
61+
# 16G for "data", 1G for "journal", 3Gb for "logs"
62+
data:
63+
storage: 20G
64+
logs:
65+
storage: 4G
66+
storageClass: standard
6067
podAntiAffinityTopologyKey: kubernetes.io/hostname

samples/extended/standalone.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@ spec:
1919
podSpec:
2020
cpu: '0.25'
2121
memory: 512M
22-
storage: 12G
23-
storageClass: standard
22+
# "single" persistence allows to mount different directories to single Persistent Volume
23+
persistence:
24+
single:
25+
storage: 12G
26+
storageClass: standard
27+
labelSelector:
28+
matchExpressions:
29+
- {key: environment, operator: In, values: [dev]}
2430

2531
# For podAffinity and nodeAffinity see Kubernetes Docs
2632
# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

0 commit comments

Comments
 (0)