我要评分
获取效率
正确性
完整性
易理解

Environment Requirements

Before deploying Kubernetes, ensure that the environment meets the hardware and software requirements. The hardware environment includes CPUs and NICs. The software environment includes the OS and applications.

Hardware Requirements

Table 1 lists the hardware requirements.

Table 1 Hardware requirements

Item

Requirement

Server

3 x Kunpeng server

CPU

Kunpeng 920

OS and Software Requirements

This document verifies deployments in which different Kubernetes, Docker and OS versions are used. Select appropriate OSs and software versions based on your actual requirements. Table 2 and Table 3 list the OS and software requirements.

Table 2 OS and software requirements (1)

Item

Version

How to Obtain

OS

openEuler 22.03 LTS SP2

https://www.openeuler.org/en/download/archive/detail/?version=openEuler%2022.03%20LTS%20SP2

openEuler 22.03 LTS SP4

https://mirrors.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP4/ISO/aarch64/

Docker

18.09.0

Install it using a Yum source.

Kubernetes

1.23.1

Install it using a Yum source.

Table 3 OS and software requirements (2)

Item

Version

How to Obtain

OS

openEuler 20.03 LTS SP1

https://repo.huaweicloud.com/openeuler/openEuler-20.03-LTS-SP1/ISO/aarch64/openEuler-20.03-LTS-SP1-everything-aarch64-dvd.iso

CentOS 7.6

https://mirrors.huaweicloud.com/centos-vault/altarch/7.6.1810/isos/aarch64/CentOS-7-aarch64-Everything-1810.iso

CentOS 8.1

https://mirrors.huaweicloud.com/centos-vault/8.1.1911/isos/aarch64/CentOS-8.1.1911-aarch64-dvd1.iso

Docker

19.03.10

You are advised to use the official binary package for the installation. For details, see Docker 19.03.10 Installation Guide (CentOS & openEuler).

Kubernetes component

1.18.20

Install it using a Yum source.

Cluster Planning

A Kubernetes cluster consists of one management node (master) and multiple compute nodes (workers). Cluster creation and management are performed on the master node. Therefore, the master node and worker nodes must be on the same network and can communicate with each other. Figure 1 shows the planned cluster network.

Figure 1 Kubernetes cluster network
  • The master is the cluster management node and the workers are the cluster compute nodes.
  • At least two nodes are required to verify the cluster setup function. To verify the affinity scheduling function, at least three nodes are required. The installation and configuration operations must be performed on all nodes.
Table 4 Roles and example IP addresses in the cluster

Role

Host Name

Example IP Address

Master

master

192.168.1.11

Worker1

compute01

192.168.1.12

Worker2

compute02

192.168.1.13

Enter the IP addresses and host names of the nodes based on the actual network information.