Update Kubernetes from v1.11.3 to v1.12.1

* Mount an empty dir for the controller-manager to work around
https://github.com/kubernetes/kubernetes/issues/68973
* Update coreos/pod-checkpointer to strip affinity from
checkpointed pod manifests. Kubernetes v1.12.0-rc.1 introduced
a default affinity that appears on checkpointed manifests; but
it prevented scheduling and checkpointed pods should not have an
affinity, they're run directly by the Kubelet on the local node
* https://github.com/kubernetes-incubator/bootkube/issues/1001
* https://github.com/kubernetes/kubernetes/pull/68173
Этот коммит содержится в:
Dalton Hubble
2018-09-22 00:02:37 -07:00
родитель 5eb4078d68
Коммит 9b6113a058
49 изменённых файлов: 107 добавлений и 106 удалений

Просмотреть файл

@ -3,7 +3,7 @@
!!! danger
Typhoon for Azure is alpha. For production, use AWS, Google Cloud, or bare-metal. As Azure matures, check [errata](https://github.com/poseidon/typhoon/wiki/Errata) for known shortcomings.
In this tutorial, we'll create a Kubernetes v1.11.3 cluster on Azure with Container Linux.
In this tutorial, we'll create a Kubernetes v1.12.1 cluster on Azure with Container Linux.
We'll declare a Kubernetes cluster using the Typhoon Terraform module. Then apply the changes to create a resource group, virtual network, subnets, security groups, controller availability set, worker scale set, load balancer, and TLS assets.
@ -91,7 +91,7 @@ Define a Kubernetes cluster using the module `azure/container-linux/kubernetes`.
```tf
module "azure-ramius" {
source = "git::https://github.com/poseidon/typhoon//azure/container-linux/kubernetes?ref=v1.11.3"
source = "git::https://github.com/poseidon/typhoon//azure/container-linux/kubernetes?ref=v1.12.1"
providers = {
azurerm = "azurerm.default"
@ -165,10 +165,10 @@ In 4-8 minutes, the Kubernetes cluster will be ready.
$ export KUBECONFIG=/home/user/.secrets/clusters/ramius/auth/kubeconfig
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
ramius-controller-0 Ready controller,master 24m v1.11.3
ramius-worker-000001 Ready node 25m v1.11.3
ramius-worker-000002 Ready node 24m v1.11.3
ramius-worker-000005 Ready node 24m v1.11.3
ramius-controller-0 Ready controller,master 24m v1.12.1
ramius-worker-000001 Ready node 25m v1.12.1
ramius-worker-000002 Ready node 24m v1.12.1
ramius-worker-000005 Ready node 24m v1.12.1
```
List the pods.