mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 02:02:33 +03:00 
			
		
		
		
	add support for aws
This commit is contained in:
		@@ -25,14 +25,14 @@ In this section you will configure the kubectl client to point to the [Kubernete
 | 
				
			|||||||
### GCE
 | 
					### GCE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
export KUBERNETES_PUBLIC_IP_ADDRESS=$(gcloud compute addresses describe kubernetes \
 | 
					KUBERNETES_PUBLIC_IP_ADDRESS=$(gcloud compute addresses describe kubernetes \
 | 
				
			||||||
  --format 'value(address)')
 | 
					  --format 'value(address)')
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### AWS
 | 
					### AWS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
export KUBERNETES_PUBLIC_IP_ADDRESS=$(aws elb describe-load-balancers \
 | 
					KUBERNETES_PUBLIC_IP_ADDRESS=$(aws elb describe-load-balancers \
 | 
				
			||||||
  --load-balancer-name kubernetes | \
 | 
					  --load-balancer-name kubernetes | \
 | 
				
			||||||
  jq -r '.LoadBalancerDescriptions[].DNSName')
 | 
					  jq -r '.LoadBalancerDescriptions[].DNSName')
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user