update to Kubernetes 1.6

pull/137/head
Kelsey Hightower 2017-03-25 11:50:26 -07:00
parent c01f16bc3e
commit ebe2845c17
2 changed files with 8 additions and 16 deletions

View File

@ -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
@ -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
```

View File

@ -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
@ -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
```