Guest User

Untitled

a guest
Jul 11th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. kubectl -n ${K8_NAMESPACE} exec -it ${K8_NAMESPACE}-replicaset-0 -- bin/bash
  2. # mongodb@mongodb-world-replicaset-0:/$
  3. /var/lib/mongodb-mms-automation/mongodb-linux-x86_64-3.6.5/bin/mongo
  4. # MongoDB shell version v3.6.5
  5. # connecting to: mongodb://mongodb-world-replicaset-0:27017/
  6. # MongoDB server version: 3.6.5
  7. # mongodb-world-replicaset:PRIMARY>
Add Comment
Please, Sign In to add comment