Skip to content

Commit

Permalink
Update kops.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murali-reddy authored Jun 3, 2017
1 parent a478a2d commit c072469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/kops.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ We are working to get the Kube-router support in Kops thorugh [#2606](https://gi

## Instructions

- Please download the [Linux](https://s3.amazonaws.com/nodeupbkt/kops/1.6.0/linux/amd64/kops) or [Mac](https://s3.amazonaws.com/nodeupbkt/kops/1.6.0/darwin/amd64/kops) version of KOPS.
- Please download the [Linux](https://s3.amazonaws.com/nodeupbkt/kops/1.6.0/linux/amd64/kops) or [Mac](https://s3.amazonaws.com/nodeupbkt/kops/1.6.0/darwin/amd64/kops) patched version of KOPS with support for Kube-router.

- Please run `kops create cluster --help` to see the support for kube-router in `--networking` flag. You should see as below

```
--networking string Networking mode to use. kubenet (default), classic, external, kopeio-vxlan (or kopeio), weave, flannel, calico, canal, kube-router. (default "kubenet")
```

- Please export KOPS_BASE_URL as environment variable `export KOPS_BASE_URL=https://nodeupbkt.s3.amazonaws.com/kops/1.6.0/` this will make kops to use patche protokube and nodeup with support for Kube-router
- Please export KOPS_BASE_URL as environment variable `export KOPS_BASE_URL=https://nodeupbkt.s3.amazonaws.com/kops/1.6.0/` this will make kops to use patched protokube and nodeup with support for Kube-router

- Now you can deploy cluster with `--networking` flag set to `kube-router`. For e.g as shown below, all kops functionality remains same, so you configure rest of the param as you need.

Expand All @@ -40,7 +40,7 @@ kops update cluster mycluster.aws.cloudnativelabs.net --yes

- It would take couple of minutes to provision cluster. Once cluster is provisioned please veriy kube-router running on each node `kubectl get pods --all-namespaces`

- At this point your cluster control plane is setup. One last is step is needed for pod connectivity. Since kube-router used host based routing, AWS instances will send and recieve traffic from IP in the pod CIDR range. AWS by default drops packets destined to instance and from instances with IP not in subnet range. So we will need to perform disable source and desintation check on each instance by running below command
- At this point your cluster control plane is setup. One last is step is needed for pod connectivity. Since kube-router uses host based routing, AWS instances will send and recieve traffic from IP in the pod CIDR range. AWS by default drops packets destined to instance and from instances with IP not in subnet range. So we will need to perform disable source and desintation check on each instance by running below command

```
aws ec2 modify-instance-attribute --instance-id <instance id> --no-source-dest-check
Expand Down

0 comments on commit c072469

Please sign in to comment.