mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 17:28:58 +03:00
Update to latest version (#325)
* Build now functional * Use ssh option to reduce questions * Use IPVS * Further e2e observations * Tidy up * RAM and CPU adjustments
This commit is contained in:
15
README.md
15
README.md
@@ -13,11 +13,13 @@ Kubernetes The Hard Way is optimized for learning, which means taking the long r
|
||||
This tutorial is a modified version of the original developed by [Kelsey Hightower](https://github.com/kelseyhightower/kubernetes-the-hard-way).
|
||||
While the original one uses GCP as the platform to deploy kubernetes, we use VirtualBox and Vagrant to deploy a cluster on a local machine. If you prefer the cloud version, refer to the original one [here](https://github.com/kelseyhightower/kubernetes-the-hard-way)
|
||||
|
||||
> 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 stop you from learning!
|
||||
> 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 stop you from learning!<br/>Note that we are only building 2 masters here instead of the recommended 3 that `etcd` requires to maintain quorum. This is to save on resources, and simply to show how to load balance across more than one master.
|
||||
|
||||
Please note that with this particular challenge, it is all about the minute detail. If you miss one tiny step anywhere along the way, it's going to break!
|
||||
|
||||
Always run the `cert_verify` script at the places it suggests, and always ensure you are on the correct node when you do stuff. If `cert_verify` shows anything in red, then you have made an error in a previous step. For the master node checks, run the check on `master-1` and on `master-2`
|
||||
Note also that in developing this lab, it has been tested *many many* times! Once you have the VMs up and you start to build the cluster, if at any point something isn't working it is 99.9999% likely to be because you missed something, not a bug in the lab!
|
||||
|
||||
Always run the `cert_verify.sh` script at the places it suggests, and always ensure you are on the correct node when you do stuff. If `cert_verify.sh` shows anything in red, then you have made an error in a previous step. For the master node checks, run the check on `master-1` and on `master-2`
|
||||
|
||||
## Target Audience
|
||||
|
||||
@@ -27,11 +29,10 @@ The target audience for this tutorial is someone planning to support a productio
|
||||
|
||||
Kubernetes The Hard Way guides you through bootstrapping a highly available Kubernetes cluster with end-to-end encryption between components and RBAC authentication.
|
||||
|
||||
* [Kubernetes](https://github.com/kubernetes/kubernetes) 1.24.3
|
||||
* [Container Runtime](https://github.com/containerd/containerd) 1.5.9
|
||||
* [CNI Container Networking](https://github.com/containernetworking/cni) 0.8.6
|
||||
* [Kubernetes](https://github.com/kubernetes/kubernetes) Latest version
|
||||
* [Container Runtime](https://github.com/containerd/containerd) Latest version
|
||||
* [Weave Networking](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/)
|
||||
* [etcd](https://github.com/coreos/etcd) v3.5.3
|
||||
* [etcd](https://github.com/coreos/etcd) v3.5.9
|
||||
* [CoreDNS](https://github.com/coredns/coredns) v1.9.4
|
||||
|
||||
### Node configuration
|
||||
@@ -40,7 +41,7 @@ We will be building the following:
|
||||
|
||||
* Two control plane nodes (`master-1` and `master-2`) running the control plane components as operating system services.
|
||||
* Two worker nodes (`worker-1` and `worker-2`)
|
||||
* One loadbalancer VM running HAProxy to balance requests between the two API servers.
|
||||
* One loadbalancer VM running [HAProxy](https://www.haproxy.org/) to balance requests between the two API servers.
|
||||
|
||||
## Labs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user