Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f33346

Browse files
committed
clarifying
1 parent 0ef8180 commit 6f33346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Working mongodb replica sets with kubernetes
33

44

5-
First generate a secret using the generate secret script `sh generate-secret.sh`
5+
You'll need a secret for your mongodb key if you don't have one already: `sh generate-secret.sh`
66

77
```
88
kubectl create -f mongodb.yaml
@@ -14,6 +14,7 @@ This will create a mongodb replica set across three nodes with an admin account
1414
Other useful things:
1515
Statefulsets aren't deleted in the same way as other things so here is an easy teardown for debugging stuff:
1616
```
17+
# Note you wouldn't want to do this normally.
1718
kubectl delete statefulsets mongod --force --grace-period=0 --cascade=false;
1819
kubectl delete services mongodb-service;
1920
kubectl delete pods all --grace-period=0 --force;

0 commit comments

Comments
 (0)