This repository was archived by the owner on Dec 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ metadata:
3131 name : my-user-password
3232type : Opaque
3333stringData :
34- password : 58LObjiMpxcjP1sMDW
34+ password : <your-password-here>
Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ metadata:
4343 name : my-user-password
4444type : Opaque
4545stringData :
46- password : 58LObjiMpxcjP1sMDW
46+ password : <your-password-here>
Original file line number Diff line number Diff line change @@ -44,4 +44,4 @@ metadata:
4444 name : my-user-password
4545type : Opaque
4646stringData :
47- password : 58LObjiMpxcjP1sMDW
47+ password : <your-password-here>
Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ metadata:
3737 name : my-user-password
3838type : Opaque
3939stringData :
40- password : 58LObjiMpxcjP1sMDW
40+ password : <your-password-here>
Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ The [`/deploy/crds`](../deploy/crds) directory contains example MongoDB resource
1515
1616To deploy your first replica set:
1717
18- 1 . Invoke the following ` kubectl ` command:
18+ 1 . Replace ` <your-password-here> ` in deploy/crds/mongodb.com_v1_mongodbcommunity_cr.yaml to the password you wish to use.
19+ 2 . Invoke the following ` kubectl ` command:
1920 ```
2021 kubectl apply -f deploy/crds/mongodb.com_v1_mongodbcommunity_cr.yaml --namespace <my-namespace>
2122 ```
22- 2 . Verify that the MongoDB resource deployed:
23+ 3 . Verify that the MongoDB resource deployed:
2324 ```
2425 kubectl get mongodbcommunity --namespace <my-namespace>
2526 ```
26- 3 . Connect clients to the MongoDB replica set:
27+ 4 . Connect clients to the MongoDB replica set:
2728 ```
2829 mongo "mongodb://<service-object-name>.<namespace>.svc.cluster.local:27017/?replicaSet=<replica-set-name>"
2930 ```
You can’t perform that action at this time.
0 commit comments