Skip to content

Commit

Permalink
update to Kubernetes 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kelseyhightower committed Mar 25, 2017
1 parent c01f16b commit ebe2845
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
17 changes: 4 additions & 13 deletions docs/08-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,7 @@ Now that each worker node is online we need to add routes to make sure that Pods

## Container Subnets

The IP addresses for each pod will be allocated from the `podCIDR` range assigned to each Kubernetes worker through the node registration process.

During the worker setup process the following flags were set on the Kubelet to ensure each node obtained a `podCIDR` from the API server:

```
--configure-cbr0=true
--reconcile-cidr=true
```

The `podCIDR` will be allocated from the cluster cidr range as configured on the Kubernetes Controller Manager with the following flag:
The IP addresses for each pod will be allocated from the `podCIDR` range assigned to each Kubernetes worker through the node registration process. The `podCIDR` will be allocated from the cluster cidr range as configured on the Kubernetes Controller Manager with the following flag:

```
--cluster-cidr=10.200.0.0/16
Expand Down Expand Up @@ -53,21 +44,21 @@ Output:

```
gcloud compute routes create kubernetes-route-10-200-0-0-24 \
--network kubernetes \
--network kubernetes-the-hard-way \
--next-hop-address 10.240.0.20 \
--destination-range 10.200.0.0/24
```

```
gcloud compute routes create kubernetes-route-10-200-1-0-24 \
--network kubernetes \
--network kubernetes-the-hard-way \
--next-hop-address 10.240.0.21 \
--destination-range 10.200.1.0/24
```

```
gcloud compute routes create kubernetes-route-10-200-2-0-24 \
--network kubernetes \
--network kubernetes-the-hard-way \
--next-hop-address 10.240.0.22 \
--destination-range 10.200.2.0/24
```
Expand Down
7 changes: 4 additions & 3 deletions docs/09-dns-addon.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-t
```
kubectl --namespace=kube-system get svc
```

```
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns 10.32.0.10 <none> 53/UDP,53/TCP 5s
Expand All @@ -40,8 +41,8 @@ kubectl create -f https://raw.githubusercontent.com/kelseyhightower/kubernetes-t
```
kubectl --namespace=kube-system get pods
```

```
NAME READY STATUS RESTARTS AGE
kube-dns-v19-965658604-c8g5d 3/3 Running 0 49s
kube-dns-v19-965658604-zwl3g 3/3 Running 0 49s
NAME READY STATUS RESTARTS AGE
kube-dns-321336704-6749s 4/4 Running 0 10s
```

0 comments on commit ebe2845

Please sign in to comment.