File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ $ ./install-plugin.sh
18
18
$ terraform init
19
19
$ terraform apply
20
20
$ 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
22
24
$ KUBECONFIG=secrets/admin.conf kubectl get pods --namespace=kube-system -o wide
23
25
$ KUBECONFIG=secrets/admin.conf kubectl run nginx --image=nginx
24
26
$ 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
37
39
| ` node_type ` | ` cx11 ` | Machine type for more types have a look at https://www.hetzner.de/cloud | No |
38
40
| ` ssh_private_key ` | ` ~/.ssh/id_ed25519 ` | Private Key to access the machines |
39
41
| ` 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 |
42
44
| ` core_dns ` | ` false ` | Enables CoreDNS as Service Discovery | No |
43
45
44
46
All variables cloud be passed through ` environment variables ` or a ` tfvars ` file.
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manife
4
4
Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin"
5
5
Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 --cluster-domain=cluster.local"
6
6
Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt"
7
- Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0"
8
7
Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir=/var/lib/kubelet/pki"
9
8
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
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ variable "ssh_public_key" {
35
35
}
36
36
37
37
variable "docker_version" {
38
- default = " 17.03 "
38
+ default = " 18.06 "
39
39
}
40
40
41
41
variable "kubernetes_version" {
42
- default = " 1.10 .0"
42
+ default = " 1.12 .0"
43
43
}
44
44
45
45
variable "core_dns" {
You can’t perform that action at this time.
0 commit comments