kubernetes-the-hard-way README

The project's README from github.com/kelseyhightower/kubernetes-the-hard-way. As one markdown file: README.md.

Kubernetes The Hard Way

This tutorial walks you through setting up Kubernetes the hard way. This guide is not for someone looking for a fully automated tool to bring up a Kubernetes cluster. Kubernetes The Hard Way is optimized for learning, which means taking the long route to ensure you understand each task required to bootstrap a Kubernetes cluster.

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!

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Target Audience

The target audience for this tutorial is someone who wants to understand the fundamentals of Kubernetes and how the core components fit together.

Cluster Details

Kubernetes The Hard Way guides you through bootstrapping a basic Kubernetes cluster with all control plane components running on a single node, and two worker nodes, which is enough to learn the core concepts.

Component versions:

Labs

This tutorial requires four (4) ARM64 or AMD64 based virtual or physical machines connected to the same network.

kubernetes-the-hard-way (kelseyhightower/kubernetes-the-hard-way)

Searching Database…

这是什么?这是一份分步教程,带你手动从零搭建 Kubernetes 集群,不使用任何自动化脚本,让你真正了解每个组件是如何工作的。
这是工具还是教程?这是一个纯文档、教程类仓库(由一系列 Markdown 实验组成),不是你需要运行的工具或安装程序。
我该怎么跟着这个教程操作?按顺序完成各个实验:先设置跳板机,再准备计算资源,接着生成 TLS 证书和 kubeconfig,然后启动 etcd 和控制平面,再配置工作节点,最后配置 kubectl。
运行这些实验需要哪些机器?四台处于同一网络中的 ARM64 或 AMD64 虚拟机或物理机,并运行指定版本的 Kubernetes、containerd、CNI 和 etcd。
搭好的集群能用在生产环境吗?不能。它明确用于学习,最终搭建的集群并不适合生产环境,而且可能只能获得有限的社区支持。
这个教程适合谁?适合任何想深入理解 Kubernetes 基础知识以及各核心组件如何协同工作的人,而不只是想快速跑起一个集群的人。
最终的集群是什么样的?一个基础集群:所有控制平面组件运行在同一个节点上,另加两个工作节点,足以学习核心概念。
用的是哪些组件版本?使用的版本为 Kubernetes v1.32.x、containerd v2.1.x、CNI v1.6.x 和 etcd v3.6.x。
有没有自动化脚本?没有。整个教程的目的就是手动完成每一步、不使用脚本,项目说明中也有此表述。
集群搭好之后的最后一步是什么?运行冒烟测试以验证一切正常,之后是清理实验,用于拆除集群。
Size
0.7 MB
Stars
50.4K
Updated
CommitApr 10
Age
10y
Commits · 90 Days