mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 22:01:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			500 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			500 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Install and configure kubectl
 | |
| 
 | |
| ## Download the kubectl CLI tool
 | |
| 
 | |
| ### Darwin
 | |
| 
 | |
| ```
 | |
| wget https://storage.googleapis.com/kubernetes-release/release/v0.10.1/bin/darwin/amd64/kubectl
 | |
| ```
 | |
| 
 | |
| ### Linux
 | |
| 
 | |
| ```
 | |
| wget https://storage.googleapis.com/kubernetes-release/release/v0.10.1/bin/linux/amd64/kubectl
 | |
| ```
 | |
| 
 | |
| ### Copy kubectl to your path
 | |
| 
 | |
| ```
 | |
| chmod +x kubectl
 | |
| mv kubectl /usr/local/bin/
 | |
| ```
 | |
| 
 | |
| ### Create a secure tunnel for API communication
 | |
| 
 | |
| ```
 | |
| ssh -f -nNT -L 8080:127.0.0.1:8080 core@<master-public-ip>
 | |
| ```
 |