Created
July 11, 2018 20:37
-
-
Save sarjarapu/12309ac4e346f72d826ff7f8a85cecf9 to your computer and use it in GitHub Desktop.
Shell commands to generate and apply the YAML file to create the MongoDB replica set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create the YAML file using the template | |
sh templates/generate-yaml-simple-replicaset.sh | |
# create the replica set based on the generated YAML | |
source templates/environment.sh | |
kubectl apply -f samples/${K8_NAMESPACE}-replicaset.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment