Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kubernetes single node deployment ETCD tutorials

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article is a tutorial on how to deploy ETCD on a single node in kubernetes. The editor thought it was very practical, so I shared it with you to learn. The following information is about the deployment of ETCD.

The software adopts the version software name version Linux system Linux version 4.8.5Kubernetes1.9DockerDocker version 19.03.5Etcdv3.3.10 server role assignment address installation component master192.168.142.220kube-apiserver kube-controller-manager kube-scheduler etcdnode1192.168.142.136kubelet kube-proxy docker flannel etcdnode2192.168.142.132kubelet kube-proxy docker flannel etcd previous attention

All experimental virtual machines have turned off the selinux core protection function

Set up a working directory to store the binary package [root@master] # cd / [root@master /] # mkdir k8s install ETCD database (three-node backup) download ca certificate creation on the master side, 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 Generate ca certificate configuration file [root@master k8s] # cat > ca-config.json

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report