diff --git a/README.md b/README.md index 1f46638..083d73e 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,12 @@ The target audience for this tutorial is someone planning to support a productio ## Cluster Details * Kubernetes 1.6.0 -* Docker 1.12.1 +* Docker 1.12.6 * etcd 3.1.4 * [CNI Based Networking](https://github.com/containernetworking/cni) * Secure communication between all components (etcd, control plane, workers) * Default Service Account and Secrets +* RBAC ### What's Missing @@ -31,7 +32,6 @@ The resulting cluster will be missing the following items: * [Cluster add-ons](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons) * [Logging](http://kubernetes.io/docs/user-guide/logging) -* [No Cloud Provider Integration](http://kubernetes.io/docs/getting-started-guides/) ### Assumptions @@ -61,11 +61,12 @@ While GCP or AWS will be used for basic infrastructure needs, the things learned * [Cloud Infrastructure Provisioning](docs/01-infrastructure.md) * [Setting up a CA and TLS Cert Generation](docs/02-certificate-authority.md) -* [Bootstrapping an H/A etcd cluster](docs/03-etcd.md) -* [Bootstrapping an H/A Kubernetes Control Plane](docs/04-kubernetes-controller.md) -* [Bootstrapping Kubernetes Workers](docs/05-kubernetes-worker.md) -* [Configuring the Kubernetes Client - Remote Access](docs/06-kubectl.md) -* [Managing the Container Network Routes](docs/07-network.md) -* [Deploying the Cluster DNS Add-on](docs/08-dns-addon.md) -* [Smoke Test](docs/09-smoke-test.md) -* [Cleaning Up](docs/10-cleanup.md) +* [Setting up authentication](docs/03-authentication.md) +* [Bootstrapping an H/A etcd cluster](docs/04-etcd.md) +* [Bootstrapping an H/A Kubernetes Control Plane](docs/05-kubernetes-controller.md) +* [Bootstrapping Kubernetes Workers](docs/06-kubernetes-worker.md) +* [Configuring the Kubernetes Client - Remote Access](docs/07-kubectl.md) +* [Managing the Container Network Routes](docs/08-network.md) +* [Deploying the Cluster DNS Add-on](docs/09-dns-addon.md) +* [Smoke Test](docs/10-smoke-test.md) +* [Cleaning Up](docs/11-cleanup.md) diff --git a/docs/02-certificate-authority.md b/docs/02-certificate-authority.md index 9a7f4ed..ac0b73d 100644 --- a/docs/02-certificate-authority.md +++ b/docs/02-certificate-authority.md @@ -13,10 +13,14 @@ In this lab you will generate a single set of TLS certificates that can be used After completing this lab you should have the following TLS keys and certificates: ``` +admin.pem +admin-key.pem ca-key.pem ca.pem kubernetes-key.pem kubernetes.pem +kube-proxy.pem +kube-proxy-key.pem ``` @@ -182,6 +186,50 @@ admin.csr admin.pem ``` +Create the `kube-proxy-csr.json` file: + +``` +cat > kube-proxy-csr.json < token.csv < token.csv < bootstrap.kubeconfig < +``` + #### kube-proxy @@ -210,7 +229,7 @@ Documentation=https://github.com/GoogleCloudPlatform/kubernetes [Service] ExecStart=/usr/bin/kube-proxy \\ --master=https://${KUBERNETES_PUBLIC_ADDRESS}:6443 \\ - --kubeconfig=/var/lib/kubelet/kubeconfig \\ + --kubeconfig=/var/lib/kubelet/kube-proxy.kubeconfig \\ --proxy-mode=iptables \\ --v=2 Restart=on-failure @@ -218,6 +237,7 @@ RestartSec=5 [Install] WantedBy=multi-user.target +EOF ``` ``` diff --git a/docs/06-kubectl.md b/docs/07-kubectl.md similarity index 100% rename from docs/06-kubectl.md rename to docs/07-kubectl.md diff --git a/docs/07-network.md b/docs/08-network.md similarity index 100% rename from docs/07-network.md rename to docs/08-network.md diff --git a/docs/08-dns-addon.md b/docs/09-dns-addon.md similarity index 100% rename from docs/08-dns-addon.md rename to docs/09-dns-addon.md diff --git a/docs/09-smoke-test.md b/docs/10-smoke-test.md similarity index 100% rename from docs/09-smoke-test.md rename to docs/10-smoke-test.md diff --git a/docs/10-cleanup.md b/docs/11-cleanup.md similarity index 100% rename from docs/10-cleanup.md rename to docs/11-cleanup.md