Skip to content

Commit 0bfe869

Browse files
authored
Update bootkube.md
1 parent 1478527 commit 0bfe869

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/bootkube.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ curl -L https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/con
5454
curl -L https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/contrib/bootkube/kube-router.yaml -o assets/manifests/kube-router.yaml
5555
```
5656

57+
## Additional steps when deploying on AWS
58+
59+
Since kube-router uses node routing rules to directly route pod-to-pod traffic to destination node, nodes will send and recieve IP traffic with source and destination IP's from pod CIDR. AWS by default prevents sending and recieving traffic from ip different from instance private ip. So we need to relax this restricition. Please run below commnad on each of the node in the cluster to send and recieve traffic from pod IP's.
60+
61+
```
62+
aws ec2 modify-instance-attribute --instance-id <instance id>--no-source-dest-check
63+
```
64+
65+
Bootkube deploys kubelet with `--hostname-override=${COREOS_PRIVATE_IPV4}` in the manifest which means nodes will register with IP address instead of node hostname to Kubernetes API server. Which will cause problem for both Kube-proxy (unless you use `--hostname-override `with kube-proxy as well) and Kube-router. Kube-router does not implement `--hostname-override` yet. So remove `--hostname-override` flag from both kubelet.master and kubelet.worker manifests.
66+
5767
## Cluster Startup
5868

5969
Finally, proceed by following the Bootkube documentation, which generally

0 commit comments

Comments
 (0)