Get the App
SLTechnology News&Howtos  ›  Servers  › 

Chapter 1 introduction and installation of kind

Shulou Source: shulou.com Published: 2022-06-02 04:01:28 09月30日 Update

Note:

There are two articles in this series:

Chapter 1: introduction and installation of kind

Chapter 2: using kind to build k8s cluster in one minute

Catalogue

1 kind introduction

2 docker installation

2.1 set up the docker yum download source

2.2 install the specified version of docker

2.3Setting docker

2.4 verify docker

3 kubectl installation

3.1 set up the kubectl yum download source

3.2 install the specified version of kubectl

3.3View kubectl version

4 kind installation

Download kind binary installation package

4.2 add execution permissions

4.3 move the file to the execution path

4.4 verify kind

1 kind introduction

Kind (Kubernetes in Docker) is a tool. You can quickly create and delete k8s clusters locally. Kind is the simplest of all the K8s cluster management tools I have ever used. It has the lowest learning cost and is the most user-friendly.

Before installing kind, you first need to install docker and kubectl. Docker is the container environment in which K8s runs, and kubelet is the client tool for operating K8s clusters.

2 docker installation 2.1 setup docker yum download source

# wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo-O / etc/yum.repos.d/docker-ce.repo

2.2 install the specified version of docker# yum install-y docker-ce-18.06.1.ce-3.el7

2.3 set docker# systemctl start docker & & systemctl enable docker

2.4 verify docker# docker version

3 kubectl installation 3.1 Settings kubectl yum download Source # cat > / etc/yum.repos.d/k8s.repo

Tags: Version cluster authentication tools binaries files permissions paths mobility minimum customers clients containers costs articles environment users directories chapter 2 management tools Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Xiaomi Linux macOS Docker