Python知識分享網(wǎng) - 專業(yè)的Python學(xué)習(xí)網(wǎng)站 學(xué)Python,上Python222
搭建一個完整的K8S集群部署文檔 下載
匿名網(wǎng)友發(fā)布于:2023-07-22 10:43:08
(侵權(quán)舉報)
(假如點擊沒反應(yīng),多刷新兩次就OK!)

搭建一個完整的K8S集群部署文檔  下載 圖1

 

資料內(nèi)容:

 

# cd TLS/etcd
安裝cfssl工具:
# ./cfssl.sh

修改請求文件中hosts字段包含所有etcd節(jié)點IP:
# vi server-csr.json 
{
    "CN": "etcd",
    "hosts": [
        "192.168.31.63",
        "192.168.31.64",
        "192.168.31.65"
        ],
    "key": {
        "algo": "rsa",
        "size": 2048
    },
    "names": [
        {
            "C": "CN",
            "L": "BeiJing",
            "ST": "BeiJing"
        }
    ]
}

# ./generate_etcd_cert.sh
# ls *pem
ca-key.pem  ca.pem  server-key.pem  server.pem