kubernetes-the-hard-way/README.md

49 lines
2.8 KiB
Markdown
Raw Normal View History

2016-07-07 17:15:59 +03:00
# Kubernetes The Hard Way
2017-08-03 00:42:02 +03:00
sdfa
2016-07-07 23:47:11 +03:00
This tutorial will walk you through setting up Kubernetes the hard way. This guide is not for people looking for a fully automated command to bring up a Kubernetes cluster. If that's you then check out [Google Container Engine](https://cloud.google.com/container-engine), or the [Getting Started Guides](http://kubernetes.io/docs/getting-started-guides/).
2016-07-07 17:27:23 +03:00
2017-03-26 04:06:03 +03:00
This tutorial is optimized for learning, which means taking the long route to help people understand each task required to bootstrap a Kubernetes cluster. This tutorial requires access to [Google Compute Engine](https://cloud.google.com/compute).
2016-07-09 02:35:09 +03:00
2016-09-11 23:37:41 +03:00
> The results of this tutorial should not be viewed as production ready, and may receive limited support from the community, but don't let that prevent you from learning!
2016-07-07 17:27:23 +03:00
## Target Audience
2016-07-07 23:48:12 +03:00
The target audience for this tutorial is someone planning to support a production Kubernetes cluster and wants to understand how everything fits together. After completing this tutorial I encourage you to automate away the manual steps presented in this guide.
2016-07-07 17:27:23 +03:00
2016-07-07 23:47:11 +03:00
## Cluster Details
* Kubernetes 1.7.0
2017-03-24 09:08:54 +03:00
* Docker 1.12.6
2017-03-24 05:48:14 +03:00
* etcd 3.1.4
2016-07-07 23:47:11 +03:00
* [CNI Based Networking](https://github.com/containernetworking/cni)
* Secure communication between all components (etcd, control plane, workers)
* Default Service Account and Secrets
2017-03-24 18:31:17 +03:00
* [RBAC authorization enabled](https://kubernetes.io/docs/admin/authorization)
* [TLS client certificate bootstrapping for kubelets](https://kubernetes.io/docs/admin/kubelet-tls-bootstrapping)
* DNS add-on
2016-07-07 23:47:11 +03:00
### What's Missing
2017-03-26 04:06:03 +03:00
The resulting cluster will be missing the following features:
2016-07-07 23:47:11 +03:00
2017-03-25 22:07:21 +03:00
* Cloud Provider Integration
2017-03-26 05:22:31 +03:00
* [Logging](https://kubernetes.io/docs/concepts/cluster-administration/logging/)
2016-07-07 23:47:11 +03:00
* [Cluster add-ons](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons)
2016-09-11 09:27:33 +03:00
## Labs
2017-03-26 04:06:03 +03:00
This tutorial assumes you have access to [Google Cloud Platform](https://cloud.google.com) and the [Google Cloud SDK](https://cloud.google.com/sdk/)(148.0.0+). While GCP is used for basic infrastructure needs the things learned in this tutorial can be applied to every platform.
2016-07-10 06:21:52 +03:00
2017-03-26 04:06:03 +03:00
* [Cloud Infrastructure Provisioning](docs/01-infrastructure-gcp.md)
2016-07-09 02:32:12 +03:00
* [Setting up a CA and TLS Cert Generation](docs/02-certificate-authority.md)
2017-03-26 05:06:38 +03:00
* [Setting up TLS Client Bootstrap and RBAC Authentication](docs/03-auth-configs.md)
2017-03-24 18:31:17 +03:00
* [Bootstrapping a H/A etcd cluster](docs/04-etcd.md)
* [Bootstrapping a H/A Kubernetes Control Plane](docs/05-kubernetes-controller.md)
2017-03-24 09:08:54 +03:00
* [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)