mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 02:02:33 +03:00 
			
		
		
		
	update docs
This commit is contained in:
		@@ -32,8 +32,9 @@ service "nginx" exposed
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
 | 
					> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
export NODE_PORT=$(kubectl get svc nginx --output=jsonpath='{range .spec.ports[0]}{.nodePort}')
 | 
					export NODE_PORT=$(kubectl get svc nginx --output=jsonpath='{range .spec.ports[0]}{.nodePort}')
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
gcloud compute firewall-rules create kubernetes-nginx-service \
 | 
					gcloud compute firewall-rules create kubernetes-nginx-service \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user