Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement