Skip to content

Commit 8408de7

Browse files
lsierantjwilliams-mongo
authored andcommitted
Update sample files from MEKO (#2077)
1 parent 3a71f6e commit 8408de7

21 files changed

+177
-96
lines changed

source/includes/code-examples/reference-architectures/mongodb-replicaset-multi-cluster/code_snippets/1100_mongodb_replicaset_multi_cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: ${RESOURCE_NAME}
66
spec:
77
type: ReplicaSet
8-
version: 8.0.3
8+
version: ${MONGODB_VERSION}
99
opsManager:
1010
configMapRef:
1111
name: mdb-org-project-config

source/includes/code-examples/reference-architectures/mongodb-replicaset-multi-cluster/env_variables.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# ${MDB_NAMESPACE}
88

99
export RESOURCE_NAME=mdb
10+
export MONGODB_VERSION=8.0.5

source/includes/code-examples/reference-architectures/mongodb-replicaset-multi-cluster/output/1210_verify_mongosh_connection.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
},
66
ok: 1,
77
'$clusterTime': {
8-
clusterTime: Timestamp({ t: 1736786648, i: 9 }),
8+
clusterTime: Timestamp({ t: 1741701953, i: 1 }),
99
signature: {
10-
hash: Binary.createFromBase64('oEXuV6w8Ct5J26i/Sqwr8oex8tI=', 0),
11-
keyId: Long('7459441848994496517')
10+
hash: Binary.createFromBase64('uhYReuUiWNWP6m1lZ5umgDVgO48=', 0),
11+
keyId: Long('7480552820140146693')
1212
}
1313
},
14-
operationTime: Timestamp({ t: 1736786648, i: 9 })
14+
operationTime: Timestamp({ t: 1741701953, i: 1 })
1515
}

source/includes/code-examples/reference-architectures/mongodb-sharded-multi-cluster/code_snippets/2100_mongodb_sharded_multi_cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
# we don't specify mongodsPerShardCount, mongosCount and configServerCount as they don't make sense for multi-cluster
99
topology: MultiCluster
1010
type: ShardedCluster
11-
version: 8.0.3
11+
version: ${MONGODB_VERSION}
1212
opsManager:
1313
configMapRef:
1414
name: mdb-org-project-config

source/includes/code-examples/reference-architectures/mongodb-sharded-multi-cluster/env_variables.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# ${MDB_NAMESPACE}
88

99
export RESOURCE_NAME=mdb-sh
10+
export MONGODB_VERSION=8.0.5

source/includes/code-examples/reference-architectures/mongodb-sharded-multi-cluster/output/2210_verify_mongosh_connection.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
},
66
ok: 1,
77
'$clusterTime': {
8-
clusterTime: Timestamp({ t: 1736788186, i: 2 }),
8+
clusterTime: Timestamp({ t: 1741702735, i: 1 }),
99
signature: {
10-
hash: Binary.createFromBase64('Tw0lp5LRFZ7qRJmyr1eYFd+B6Cs=', 0),
11-
keyId: Long('7459444481809448983')
10+
hash: Binary.createFromBase64('kVqqNDHTI1zxYrPsU0QaYqyksJA=', 0),
11+
keyId: Long('7480555706358169606')
1212
}
1313
},
14-
operationTime: Timestamp({ t: 1736788186, i: 2 })
14+
operationTime: Timestamp({ t: 1741702735, i: 1 })
1515
}

source/includes/code-examples/reference-architectures/ops-manager-multi-cluster/env_variables.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ export S3_SECRET_KEY="console123"
2020
# server certificates for Ops Manager Application.
2121
export OPS_MANAGER_EXTERNAL_DOMAIN="om-svc.${OM_NAMESPACE}.svc.cluster.local"
2222

23-
export OPS_MANAGER_VERSION="8.0.0"
24-
export APPDB_VERSION="8.0.3"
23+
export OPS_MANAGER_VERSION="8.0.4"
24+
export APPDB_VERSION="8.0.5"

source/includes/code-examples/reference-architectures/ops-manager-multi-cluster/output/0312_ops_manager_wait_for_running_state.out

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ mongodbopsmanager.mongodb.com/om condition met
1414

1515
MongoDBOpsManager resource
1616
NAME REPLICAS VERSION STATE (OPSMANAGER) STATE (APPDB) STATE (BACKUP) AGE WARNINGS
17-
om 8.0.0 Running Running Disabled 10m
17+
om 8.0.4 Running Running Disabled 11m
1818

19-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0
19+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0-67d0389d75b70a0007e5894a
2020
NAME READY STATUS RESTARTS AGE
21-
om-0-0 2/2 Running 0 7m47s
22-
om-db-0-0 4/4 Running 0 44s
23-
om-db-0-1 4/4 Running 0 2m7s
24-
om-db-0-2 4/4 Running 0 3m9s
21+
om-0-0 2/2 Running 0 7m35s
22+
om-db-0-0 4/4 Running 0 37s
23+
om-db-0-1 4/4 Running 0 115s
24+
om-db-0-2 4/4 Running 0 2m57s
2525

26-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1
26+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1-67d0389d75b70a0007e5894a

source/includes/code-examples/reference-architectures/ops-manager-multi-cluster/output/0322_ops_manager_wait_for_running_state.out

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ mongodbopsmanager.mongodb.com/om condition met
66

77
MongoDBOpsManager resource
88
NAME REPLICAS VERSION STATE (OPSMANAGER) STATE (APPDB) STATE (BACKUP) AGE WARNINGS
9-
om 8.0.0 Running Running Disabled 17m
9+
om 8.0.4 Running Running Disabled 19m
1010

11-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0
11+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0-67d0389d75b70a0007e5894a
1212
NAME READY STATUS RESTARTS AGE
13-
om-0-0 2/2 Running 0 2m13s
14-
om-db-0-0 4/4 Running 0 7m16s
15-
om-db-0-1 4/4 Running 0 8m36s
16-
om-db-0-2 4/4 Running 0 9m43s
13+
om-0-0 2/2 Running 0 2m35s
14+
om-db-0-0 4/4 Running 0 8m35s
15+
om-db-0-1 4/4 Running 0 9m53s
16+
om-db-0-2 4/4 Running 0 10m
1717

18-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1
18+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1-67d0389d75b70a0007e5894a
1919
NAME READY STATUS RESTARTS AGE
20-
om-1-0 2/2 Running 0 2m44s
21-
om-db-1-0 4/4 Running 0 6m35s
22-
om-db-1-1 4/4 Running 0 4m47s
20+
om-1-0 2/2 Running 0 3m5s
21+
om-db-1-0 4/4 Running 0 7m49s
22+
om-db-1-1 4/4 Running 0 5m54s

source/includes/code-examples/reference-architectures/ops-manager-multi-cluster/output/0522_ops_manager_wait_for_running_state.out

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ mongodbopsmanager.mongodb.com/om condition met
99

1010
MongoDBOpsManager resource
1111
NAME REPLICAS VERSION STATE (OPSMANAGER) STATE (APPDB) STATE (BACKUP) AGE WARNINGS
12-
om 8.0.0 Running Running Running 22m
12+
om 8.0.4 Running Running Running 24m
1313

14-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0
14+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-a_k8s-mdb-0-67d0389d75b70a0007e5894a
1515
NAME READY STATUS RESTARTS AGE
16-
om-0-0 2/2 Running 0 3m45s
17-
om-db-0-0 4/4 Running 0 11m
18-
om-db-0-1 4/4 Running 0 13m
19-
om-db-0-2 4/4 Running 0 14m
16+
om-0-0 2/2 Running 0 3m56s
17+
om-db-0-0 4/4 Running 0 13m
18+
om-db-0-1 4/4 Running 0 14m
19+
om-db-0-2 4/4 Running 0 15m
2020

21-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1
21+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-b_k8s-mdb-1-67d0389d75b70a0007e5894a
2222
NAME READY STATUS RESTARTS AGE
23-
om-1-0 2/2 Running 0 3m46s
24-
om-db-1-0 4/4 Running 0 11m
25-
om-db-1-1 4/4 Running 0 9m29s
23+
om-1-0 2/2 Running 0 3m55s
24+
om-db-1-0 4/4 Running 0 12m
25+
om-db-1-1 4/4 Running 0 10m
2626

27-
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-c_k8s-mdb-2
27+
Pods running in cluster gke_scratch-kubernetes-team_europe-central2-c_k8s-mdb-2-67d0389d75b70a0007e5894a
2828
NAME READY STATUS RESTARTS AGE
29-
om-2-backup-daemon-0 2/2 Running 0 2m2s
29+
om-2-backup-daemon-0 2/2 Running 0 113s

0 commit comments

Comments
 (0)