Skip to content

Commit f92413c

Browse files
authored
Merge pull request #6 from solidnerd/add-latest-docker-support
Support now docker 18.06 as default
2 parents d327535 + 1323032 commit f92413c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ $ ./install-plugin.sh
1818
$ terraform init
1919
$ terraform apply
2020
$ KUBECONFIG=secrets/admin.conf kubectl get nodes
21-
$ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml
21+
$ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/hosted/etcd.yaml
22+
$ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/rbac.yaml
23+
$ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/hosted/calico.yaml
2224
$ KUBECONFIG=secrets/admin.conf kubectl get pods --namespace=kube-system -o wide
2325
$ KUBECONFIG=secrets/admin.conf kubectl run nginx --image=nginx
2426
$ KUBECONFIG=secrets/admin.conf kubectl expose deploy nginx --port=80 --type NodePort
@@ -37,8 +39,8 @@ $ KUBECONFIG=secrets/admin.conf kubectl expose deploy nginx --port=80 --type Nod
3739
| `node_type` | `cx11` | Machine type for more types have a look at https://www.hetzner.de/cloud | No |
3840
| `ssh_private_key` | `~/.ssh/id_ed25519` | Private Key to access the machines |
3941
| `ssh_public_key` | `~/.ssh/id_ed25519.pub` | Public Key to authorized the access for the machines | No |
40-
| `docker_version` | `17.03` | Docker CE version that will be installed | No |
41-
| `kubernetes_version` | `1.10.0` | Kubernetes version that will be installed | No |
42+
| `docker_version` | `18.06` | Docker CE version that will be installed | No |
43+
| `kubernetes_version` | `1.12.0` | Kubernetes version that will be installed | No |
4244
| `core_dns` | `false` | Enables CoreDNS as Service Discovery | No |
4345

4446
All variables cloud be passed through `environment variables` or a `tfvars` file.

files/10-kubeadm.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manife
44
Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin"
55
Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 --cluster-domain=cluster.local"
66
Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt"
7-
Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0"
87
Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir=/var/lib/kubelet/pki"
98
ExecStart=
10-
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CADVISOR_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS
9+
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS

variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ variable "ssh_public_key" {
3535
}
3636

3737
variable "docker_version" {
38-
default = "17.03"
38+
default = "18.06"
3939
}
4040

4141
variable "kubernetes_version" {
42-
default = "1.10.0"
42+
default = "1.12.0"
4343
}
4444

4545
variable "core_dns" {

0 commit comments

Comments
 (0)