update docs

pull/4/head
Kelsey Hightower 2016-07-07 12:23:30 -07:00
parent 0b6bcd287f
commit 21292f76cf
3 changed files with 40 additions and 1 deletions

View File

@ -13,3 +13,4 @@ The target audience for this workshop is someone planning to support a productio
* [Bootstrapping an H/A etcd cluster](docs/etcd.md) * [Bootstrapping an H/A etcd cluster](docs/etcd.md)
* [Bootstrapping an H/A Kubernetes Control Plane](docs/kubernetes-controller.md) * [Bootstrapping an H/A Kubernetes Control Plane](docs/kubernetes-controller.md)
* [Bootstrapping Kubernetes Workers](docs/kubernetes-worker.md) * [Bootstrapping Kubernetes Workers](docs/kubernetes-worker.md)
* [Managing the Container Network Routes](docs/network.md)

View File

@ -98,6 +98,24 @@ sudo systemctl start docker
sudo docker version sudo docker version
``` ```
```
Client:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:20:08 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:20:08 2016
OS/Arch: linux/amd64
```
#### kubelet #### kubelet
The Kubernetes kubelet no longer relies on docker networking for pods! The Kubelet can now use [CNI - the Container Network Interface](https://github.com/containernetworking/cni) to manage machine level networking requirements. The Kubernetes kubelet no longer relies on docker networking for pods! The Kubelet can now use [CNI - the Container Network Interface](https://github.com/containernetworking/cni) to manage machine level networking requirements.
@ -138,7 +156,7 @@ sudo cp kubernetes/server/bin/kubelet /usr/bin/
``` ```
``` ```
mkdir -p /var/lib/kubelet/ sudo mkdir -p /var/lib/kubelet/
``` ```
``` ```

View File

@ -0,0 +1,20 @@
# Managing the Container Network Routes
## Get the routing Table
```
kubectl get nodes \
--output=jsonpath='{range .items[*]}{.name} {.status.addaddress} {.spec.podCIDR} {"\n"}{end}'
```
```
10.240.0.30 10.200.0.0/24
```
### Add the routes
```
gcloud compute routes create default-route-10-200-0-0-24 \
--next-hop-address 10.240.0.30 \
--destination-range 10.200.0.0/24
```