Get the App
SLTechnology News&Howtos  ›  Servers  › 

K8S--ETCD deployment

Shulou Source: shulou.com Published: 2022-06-03 09:02:41 12月06日 Update

Role assignment:

Environmental deployment

Firewall and selinux core protection features are turned off for all virtual machines

Real fuck

Set up a working directory to store binary software packages

[root@master ~] # cd / [root@master /] # mkdir k8s

Install ETCD database (three-copy mechanism)

Master (download the ca certificate creation and management tool cfssl)

[root@master k8s] # curl-L https://pkg.cfssl.org/R1.2/cfssl_linux-amd64-o / usr/local/bin/cfssl [root@master k8s] # curl-L https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64-o / usr/local/bin/cfssljson [root@master k8s] # curl-L https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64-o / usr/local/bin/cfssl- Certinfo [root@master k8s] # chmod + x / usr/local/bin/cfssl / usr/local/bin/cfssljson / usr/local/bin/cfssl-certinfo

Generate ca certificate

/ / define ca certificate and generate ca certificate configuration file [root@master K8s] # cat > ca-config.json

Tags: Node certificate file configuration address generation name communication between script push authentication health binary command member directory service check success Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker Redmi MariaDB Shulou Information