SHARE
TWEET

Untitled

a guest Jul 21st, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Manage Secrets
  2. ## Create private Registry Secrets
  3. kubectl create secret docker-registry <secret-name> \
  4. --docker-server=<your-registry-server> \
  5. --docker-username=<your-name> \
  6. --docker-password=<your-pword> \
  7. --docker-email=<your-email>
  8.  
  9. ## View Secrets
  10. kubectl get secret <secret-name> (optional '-o' or '--output=yaml')
  11.  
  12. ## Reimport Registry Secrets from file
  13. kubectl create -f secrets.yml
  14.  
  15. # Debug Container
  16. kubectl logs <podname> (optional '-p' will show logs of previously crashed container)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top