SHARE
TWEET

Untitled

a guest Sep 17th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # in k8s-rtr repo
  2. # in scripts
  3. # execute ./k8s-dev-login.sh
  4. # leave namespace blank
  5.  
  6. # get the pods
  7.  
  8. kubectl -n dev-tio get pods
  9.  
  10.  
  11. # this will port forward the es to port 9201
  12.  
  13. kubectl -n dev-tio port-forward elasticsearch-0 9201:9200
  14.  
  15.  
  16. # have bash console to container
  17.  
  18. kubectl -n dev-tio exec -it nlg-backend-f558c6bf8-c5d8x bash
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