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

How to use binary system to build K8S High availability Cluster

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

Share

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

This article mainly introduces how to use binary method to build K8S high availability cluster, the article is very detailed, has a certain reference value, interested friends must read it!

1. System Overview

Operating system version: CentOS7.5

K8s version: 1.12

System requirements: shut down swap, selinux, iptables

Specific information:

Topology Diagram:

Binary package download address

Etcd:

Https://github.com/coreos/etcd/releases/tag/v3.2.12

Flannel:

Https://github.com/coreos/flannel/releases/download/v0.10.0/flannel-v0.10.0-linux-amd64.tar.gz

K8s:

Https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.12.md

2. Self-signed Etcd SSL certificate

Master01 operation:

# cat cfssl.shrunken to binmax BASHWget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64wget https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64chmod + x cfssl_linux-amd64 cfssljson_linux-amd64 cfssl-certinfo_linux-amd64mv cfssl_linux-amd64 / usr/local/bin/cfsslmv cfssljson_linux-amd64 / usr/local/bin/cfssljsonmv cfssl-certinfo_linux-amd64 / usr/bin/cfssl-certinfo

Self-signed Etcd SSL certificate

# cat cert-etcd.shcat > 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