Actualizar 'README.md'
This commit is contained in:
27
README.md
27
README.md
@ -67,11 +67,14 @@ systemctl stop iptables
|
||||
### Instalación de ETCD Externo
|
||||
|
||||
wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
|
||||
wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
|
||||
chmod +x cfssl*
|
||||
mv cfssl_linux-amd64 /usr/local/bin/cfssl
|
||||
mv cfssljson_linux-amd64 /usr/local/bin/cfssljson
|
||||
|
||||
wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
|
||||
|
||||
chmod +x cfssl*
|
||||
|
||||
mv cfssl_linux-amd64 /usr/local/bin/cfssl
|
||||
|
||||
mv cfssljson_linux-amd64 /usr/local/bin/cfssljson
|
||||
|
||||
cfssl gencert -initca ca-csr.json | cfssljson -bare ca
|
||||
|
||||
@ -79,10 +82,24 @@ cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -hostname=172
|
||||
|
||||
scp ca.pem kubernetes.pem kubernetes-key.pem root@<"PeerIPx">:~
|
||||
|
||||
mkdir /etc/etcd
|
||||
|
||||
cp ca.pem kubernetes.pem kubernetes-key.pem /etc/etcd
|
||||
|
||||
cd /tmp
|
||||
|
||||
wget https://github.com/coreos/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz
|
||||
|
||||
tar -zxvf etcd-v3.5.0-linux-amd64.tar.gz
|
||||
|
||||
mv etcd-v3.5.0-linux-amd64/etcd* /usr/local/bin/
|
||||
|
||||
mv etcd.service /etc/systemd/system/etcd.service
|
||||
cd /opt/bootstrap
|
||||
|
||||
mv etcd.service /etc/systemd/system/etcd.service
|
||||
|
||||
systemctl daemon-reload
|
||||
|
||||
systemctl enable etcd
|
||||
|
||||
systemctl start etcd
|
Reference in New Issue
Block a user