You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: Documentation/kubernetes-on-aws-prerequisites.md
+17-2
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,25 @@ If you're deploying a cluster with kube-aws:
7
7
8
8
## Deploying to an existing VPC
9
9
10
-
If you're deploying a cluster to an existing VPC:
10
+
`kube-aws` tries its best to not modify your existing AWS resources therefore it's users' responsibility to ensure existing AWS resources provided to `kube-aws` are properly configured.
11
11
12
-
* Internet Gateway needs to be added to VPC before cluster can be created
12
+
Please note that you don't need to care if you've instructed `kube-aws` to create all the AWS resources for you i.e. you've omitted `vpcId` and `routeTableId` from `cluster.yaml`.
13
+
14
+
What `kube-aws` does modify are:
15
+
16
+
* Adding a record set for Kubernetes API Endpoint to an existing hosted zone you've provided via the `hostedZoneId` configuration key in `cluster.yaml`
17
+
* Adding one or more subnet(s) to an existing VPC specified by the `vpcId`
18
+
* Associating one or more subnet(s) to an existing route table specified by the `routeTableId`
19
+
20
+
See [`cluster.yaml`](https://github.com/coreos/kube-aws/blob/master/config/templates/cluster.yaml) for more details.
21
+
22
+
All the other configurations for existing AWS resources must be done property by users before `kube-aws` is run.
23
+
24
+
For example, if you're deploying a cluster to an existing VPC:
25
+
26
+
* An internet gateway or a NAT gateway needs to be added to VPC before cluster can be created
13
27
* Or [all the nodes will fail to launch because they can't pull docker images or ACIs required to run essential processes like fleet, hyperkube, etcd, awscli, cfn-signal, cfn-init.](https://github.com/coreos/kube-aws/issues/120)
28
+
* Existing route tables must have an route to Internet in some form. For example, a default route to an internet gateway or to a NAT gateway via `0.0.0.0/0` would be needed or your cluster won't come up. See [a relevant issue about it](https://github.com/coreos/kube-aws/issues/121#issuecomment-266255407).
14
29
* Existing route tables to be reused by kube-aws must be tagged with the key `KubernetesCluster` and your cluster's name for the value.
15
30
* Or [Kubernetes will fail to create ELBs correspond to Kubernetes services with `type=LoadBalancer`](https://github.com/coreos/kube-aws/issues/135)
16
31
*["DNS Hostnames" must be turned on before cluster can be created](https://github.com/coreos/kube-aws/issues/119)
0 commit comments