Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. 419 minikube status
  2. 420 minikube start
  3. 421 minikube status
  4. 422 docker ps
  5. 423 minikube dashboard
  6. 424 clear
  7. 425 docker images
  8. 426 eval $(minikube docker-env)
  9. 427 docker images
  10. 428 cd /home/viewnext/git/client-server-discovery/client1
  11. 429 pwd
  12. 430 ls
  13. 431 docker build --tag client1:v1 --build-arg JAR_FILE=client1-0.0.1-SNAPSHOT.jar
  14. 432 docker build --tag client1:v1 --build-arg JAR_FILE=client1-0.0.1-SNAPSHOT.jar .
  15. 433 cd ..
  16. 434 ls
  17. 435 cd client2/
  18. 436 docker build --tag client2:v1 --build-arg JAR_FILE=client2-0.0.1-SNAPSHOT.jar .
  19. 437 docker images
  20. 438 kubectl run client1 -- image=client1:v1 --port=8080
  21. 439 kubectl run client1 --image=client1:v1 --port=8080
  22. 440 kubectl get deployments
  23. 441 kubectl get pods
  24. 442 kubectl run client2 --image=client2:v1 --port=8081
  25. 443 kubectl get deployments
  26. 444 kubectl get pods
  27. 445 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement