diff --git a/deployments/coredns-1.7.0.yaml b/deployments/coredns-1.8.0.yaml similarity index 99% rename from deployments/coredns-1.7.0.yaml rename to deployments/coredns-1.8.0.yaml index e471d9f..3a6ece8 100644 --- a/deployments/coredns-1.7.0.yaml +++ b/deployments/coredns-1.8.0.yaml @@ -98,7 +98,7 @@ spec: beta.kubernetes.io/os: linux containers: - name: coredns - image: coredns/coredns:1.7.0 + image: coredns/coredns:1.8.0 imagePullPolicy: IfNotPresent resources: limits: diff --git a/docs/07-bootstrapping-etcd.md b/docs/07-bootstrapping-etcd.md index 99f2c04..ab2354d 100644 --- a/docs/07-bootstrapping-etcd.md +++ b/docs/07-bootstrapping-etcd.md @@ -22,15 +22,15 @@ Download the official etcd release binaries from the [etcd](https://github.com/e ``` wget -q --show-progress --https-only --timestamping \ - "https://github.com/etcd-io/etcd/releases/download/v3.4.10/etcd-v3.4.10-linux-amd64.tar.gz" + "https://github.com/etcd-io/etcd/releases/download/v3.4.14/etcd-v3.4.14-linux-amd64.tar.gz" ``` Extract and install the `etcd` server and the `etcdctl` command line utility: ``` { - tar -xvf etcd-v3.4.10-linux-amd64.tar.gz - sudo mv etcd-v3.4.10-linux-amd64/etcd* /usr/local/bin/ + tar -xvf etcd-v3.4.14-linux-amd64.tar.gz + sudo mv etcd-v3.4.14-linux-amd64/etcd* /usr/local/bin/ } ``` diff --git a/docs/08-bootstrapping-kubernetes-controllers.md b/docs/08-bootstrapping-kubernetes-controllers.md index e64e8a2..b6d7131 100644 --- a/docs/08-bootstrapping-kubernetes-controllers.md +++ b/docs/08-bootstrapping-kubernetes-controllers.md @@ -28,10 +28,10 @@ Download the official Kubernetes release binaries: ``` wget -q --show-progress --https-only --timestamping \ - "https://storage.googleapis.com/kubernetes-release/release/v1.18.6/bin/linux/amd64/kube-apiserver" \ - "https://storage.googleapis.com/kubernetes-release/release/v1.18.6/bin/linux/amd64/kube-controller-manager" \ - "https://storage.googleapis.com/kubernetes-release/release/v1.18.6/bin/linux/amd64/kube-scheduler" \ - "https://storage.googleapis.com/kubernetes-release/release/v1.18.6/bin/linux/amd64/kubectl" + "https://storage.googleapis.com/kubernetes-release/release/v1.19.4/bin/linux/amd64/kube-apiserver" \ + "https://storage.googleapis.com/kubernetes-release/release/v1.19.4/bin/linux/amd64/kube-controller-manager" \ + "https://storage.googleapis.com/kubernetes-release/release/v1.19.4/bin/linux/amd64/kube-scheduler" \ + "https://storage.googleapis.com/kubernetes-release/release/v1.19.4/bin/linux/amd64/kubectl" ``` Install the Kubernetes binaries: @@ -158,7 +158,7 @@ Create the `kube-scheduler.yaml` configuration file: ``` cat < Remember to run the above commands on each controller node: `controller-0`, `controller-1`, and `controller-2`. ## RBAC for Kubelet Authorization @@ -295,7 +321,7 @@ Create the `system:kube-apiserver-to-kubelet` [ClusterRole](https://kubernetes.i ``` cat < output ``` -NAME STATUS ROLES AGE VERSION -worker-0 Ready 24s v1.18.6 -worker-1 Ready 24s v1.18.6 -worker-2 Ready 24s v1.18.6 +NAME STATUS ROLES AGE VERSION +worker-0 Ready 3m v1.19.4 +worker-1 Ready 3m v1.19.4 +worker-2 Ready 2m58s v1.19.4 ``` Next: [Configuring kubectl for Remote Access](10-configuring-kubectl.md) diff --git a/docs/10-configuring-kubectl.md b/docs/10-configuring-kubectl.md index 888013b..ba3f923 100644 --- a/docs/10-configuring-kubectl.md +++ b/docs/10-configuring-kubectl.md @@ -34,6 +34,12 @@ Generate a kubeconfig file suitable for authenticating as the `admin` user: ``` ## Verification +--- +**NOTE** + +Although the `kubectl get componentstatues` still "works", the API has been deprecated as of Kubernetes v1.19 +> [Release Notes](https://kubernetes.io/docs/setup/release/notes/#deprecation-1) +--- Check the health of the remote Kubernetes cluster: @@ -52,6 +58,7 @@ etcd-1 Healthy {"health":"true"} etcd-2 Healthy {"health":"true"} ``` + List the nodes in the remote Kubernetes cluster: ``` @@ -62,9 +69,9 @@ kubectl get nodes ``` NAME STATUS ROLES AGE VERSION -worker-0 Ready 2m30s v1.18.6 -worker-1 Ready 2m30s v1.18.6 -worker-2 Ready 2m30s v1.18.6 +worker-0 Ready 6m34s v1.19.4 +worker-1 Ready 6m34s v1.19.4 +worker-2 Ready 6m32s v1.19.4 ``` Next: [Provisioning Pod Network Routes](11-pod-network-routes.md) diff --git a/docs/12-dns-addon.md b/docs/12-dns-addon.md index feddcf5..2c6a5b2 100644 --- a/docs/12-dns-addon.md +++ b/docs/12-dns-addon.md @@ -7,7 +7,7 @@ In this lab you will deploy the [DNS add-on](https://kubernetes.io/docs/concepts Deploy the `coredns` cluster add-on: ``` -kubectl apply -f https://storage.googleapis.com/kubernetes-the-hard-way/coredns-1.7.0.yaml +kubectl apply -f https://storage.googleapis.com/kubernetes-the-hard-way/coredns-1.8.0.yaml ``` > output diff --git a/docs/13-smoke-test.md b/docs/13-smoke-test.md index ab14fe5..0b65590 100644 --- a/docs/13-smoke-test.md +++ b/docs/13-smoke-test.md @@ -159,7 +159,7 @@ kubectl exec -ti $POD_NAME -- nginx -v > output ``` -nginx version: nginx/1.19.1 +nginx version: nginx/1.19.5 ``` ## Services