add support for aws
parent
0a524878f1
commit
c884f0a47c
|
@ -271,6 +271,8 @@ etcd-2 Healthy {"health": "true"}
|
||||||
|
|
||||||
The virtual machines created in this tutorial will not have permission to complete this section. Run the following commands from the same place used to create the virtual machines for this tutorial.
|
The virtual machines created in this tutorial will not have permission to complete this section. Run the following commands from the same place used to create the virtual machines for this tutorial.
|
||||||
|
|
||||||
|
### GCE
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute http-health-checks create kube-apiserver-check \
|
gcloud compute http-health-checks create kube-apiserver-check \
|
||||||
--description "Kubernetes API Server Health Check" \
|
--description "Kubernetes API Server Health Check" \
|
||||||
|
@ -300,3 +302,19 @@ gcloud compute forwarding-rules create kubernetes-rule \
|
||||||
--ports 6443 \
|
--ports 6443 \
|
||||||
--target-pool kubernetes-pool
|
--target-pool kubernetes-pool
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### AWS
|
||||||
|
|
||||||
|
```
|
||||||
|
aws elb create-load-balancer \
|
||||||
|
--load-balancer-name kubernetes \
|
||||||
|
--listeners "Protocol=TCP,LoadBalancerPort=6443,InstanceProtocol=TCP,InstancePort=6443" \
|
||||||
|
--subnets ${SUBNET_ID} \
|
||||||
|
--security-groups ${SECURITY_GROUP_ID}
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
aws elb register-instances-with-load-balancer \
|
||||||
|
--load-balancer-name kubernetes \
|
||||||
|
--instances ${CONTROLLER_0_INSTANCE_ID} ${CONTROLLER_1_INSTANCE_ID} ${CONTROLLER_2_INSTANCE_ID}
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue