Created
          December 19, 2018 13:24 
        
      - 
      
- 
        Save georgepaoli/dae0b9cfdf5632acf087bc6d4c0b7d62 to your computer and use it in GitHub Desktop. 
    Test communication between pods
  
        
  
    
      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
    
  
  
    
  | kubectl create ns test | |
| kubectl run --namespace=test nginx --replicas=2 --image=nginx | |
| kubectl expose --namespace=test deployment nginx --port=80 | |
| kubectl run --namespace=test access --rm -ti --image busybox /bin/sh | |
| wget -q nginx -O - | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment