Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
README: Add manual network install instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd committed Sep 18, 2018
1 parent 54c395f commit a957f93
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ The setup follows https://github.com/kelseyhightower/kubernetes-the-hard-way
with the following exceptions:

* `cri-o` is used as a container runtime, not `cri-containerd`
* The `pod-cidr` is `10.2${i}.0.0/16`, routes are provisioned from
`scripts/vagrant-setup-routes.bash` automatically
* For `crio`, an explicit `--stream-address` must be set, as the address
of the default interface isn't routable (see e.g. [`config/worker-0-crio.service`](config/worker-0-crio.service))
* `192.168.199.40` is the IP of the loadbalancer (haproxy) for HA controllers
Expand All @@ -27,9 +25,6 @@ To learn Kubernetes from the bottom up, it's recommended to go through
KTHW manually. `vagrant up` gives you three controller and three worker
nodes to do that.

The `pod-cidr` is `10.2${i}.0.0/16`, for which the Vagrant nodes have
configured routes (see `route -n`).

The following KTHW parts can/should be skipped:

* Everything in regard to the frontend loadbalancer
Expand Down Expand Up @@ -155,6 +150,24 @@ kubectl get nodes
[...]
```

Install overlay network so pods on different nodes can connect with each other,
by running following command:

```bash
sysctl -w net.ipv4.ip_forward=1
./scripts/setup-networking
```

Now verify that the weave pods are all up and running, using following command:

```console
$ kubectl -n kube-system get pods -l name=weave-net
NAME READY STATUS RESTARTS AGE
weave-net-24wdp 2/2 Running 0 8m
weave-net-bnxl6 2/2 Running 0 8m
weave-net-jh9nx 2/2 Running 0 8m
```

## Using the cluster

### Setup DNS add-on
Expand Down

0 comments on commit a957f93

Please sign in to comment.