目录
Part.01 Kubernets与docker
Part.02 Docker版本
Part.03 Kubernetes原理
Part.04 资源规划
Part.05 基础环境准备
Part.06 Docker安装
Part.07 Harbor搭建
Part.08 K8s环境安装
Part.09 K8s集群构建
Part.10 容器回退
第四章 资源规划
4.1.资源配置
主机名 | FQDN | IP | 服务器配置 | 操作系统 |
---|---|---|---|---|
master01 | master01.k8s.local | 192.168.111.1/24 | 8c、8G、500GB | CentOS 7.7.1908 |
master02 | master02.k8s.local | 192.168.111.2/24 | 8c、8G、500GB | CentOS 7.7.1908 |
master03 | master03.k8s.local | 192.168.111.3/24 | 8c、8G、500GB | CentOS 7.7.1908 |
worker01 | worker01.k8s.local | 192.168.111.11/24 | 8c、4G、500GB | CentOS 7.7.1908 |
worker02 | worker02.k8s.local | 192.168.111.12/24 | 8c、4G、500GB | CentOS 7.7.1908 |
harbor01 | harbor01.k8s.local | 192.168.111.20/24 | 8c、4G、500GB | CentOS 7.7.1908 |
4.2.组件规划
|------------|-------------------------|--------|----------|----------|----------|----------|----------|----------|
| 组件 || 版本 | master01 | master02 | master03 | worker01 | worker02 | harbor01 |
| ansible || 2.9.27 | ★ | | | | | |
| docker | docker-ce | 23.0.5 | ★ | ★ | ★ | ★ | ★ | ★ |
| docker | docker-compose | 2.16.0 | | | | | | ★ |
| docker | harbor | 2.7.2 | | | | | | ★ |
| KeepAlived || 1.3.5 | | ★ | ★ | | | |
| HAProxy || 1.5.18 | | ★ | ★ | | | |
| kubernetes | kube-apiserver | 1.23.5 | ★ | ★ | ★ | | | |
| kubernetes | kube-proxy | 1.23.5 | ★ | ★ | ★ | ★ | ★ | |
| kubernetes | kube-scheduler | 1.23.5 | ★ | ★ | ★ | | | |
| kubernetes | kube-controller-manager | 1.23.5 | ★ | ★ | ★ | | | |
| kubernetes | etcd | 3.5.1 | ★ | ★ | ★ | | | |
| kubernetes | coredns | 1.8.6 | ★ | | | | | |
| calico | calico-kube-controllers | 3.23.5 | ★ | | | | | |
| calico | calico-node | 3.23.5 | ★ | ★ | ★ | ★ | ★ | |