mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 02:02:33 +03:00 
			
		
		
		
	Add config/zone cmds to the doc
This commit is contained in:
		
				
					committed by
					
						
						Kelsey Hightower
					
				
			
			
				
	
			
			
			
						parent
						
							0b5282165a
						
					
				
				
					commit
					5d8a0441ac
				
			@@ -24,6 +24,17 @@ To make our Kubernetes control plane remotely accessible, a public IP address wi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Networking
 | 
					## Networking
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Set the region and zone to us-central1:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					gcloud config set compute/region us-central1
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					gcloud config set compute/zone us-central1-f
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Create a Kubernetes network:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
gcloud compute networks create kubernetes --mode custom
 | 
					gcloud compute networks create kubernetes --mode custom
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user