Created
July 11, 2018 20:56
-
-
Save sarjarapu/b7228aa19c2a85400276c57a5c700feb to your computer and use it in GitHub Desktop.
A kubectl command to recreate the MongoDB Enterprise Operator pod
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
# delete the existing pod after fixing the issue | |
kubectl -n mongodb delete pod $K8_OPERATOR_POD_NAME | |
sleep 5 | |
# display all the resources in the namespace | |
kubectl -n ${K8_NAMESPACE} get all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment