Created
          March 4, 2019 21:42 
        
      - 
      
- 
        Save rms1000watt/eb281dd574102dc1f0bb88cd6d762c69 to your computer and use it in GitHub Desktop. 
    Kubernetes shell in cluster
  
        
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| kubectl create -f https://k8s.io/examples/application/shell-demo.yaml | |
| kubectl get pod shell-demo | |
| kubectl exec -it shell-demo -- /bin/bash | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment