Commit 959cd57a authored by Владимир Карпов's avatar Владимир Карпов
Browse files

Обновить readme.md

parent 5655aa53
......@@ -10,7 +10,49 @@ https://github.com/coreos/docs/blob/master/os/generate-self-signed-certificates.
Calico Docker container install
https://docs.projectcalico.org/getting-started/bare-metal/installation/container
### Generate peer certificate
## ETCD Install
1. Сложная схема выкачивания архива с гита (рекомендуемая разрабами)
```
ETCD_VER=v3.4.14
# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test
curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
```
2. Сразу запоминаем Как убить :)
```
kill `pgrep etcd`
```
3. Для запуска служб копируем etcd и etcdctl
```
/usr/local/bin
```
## Generate peer certificate
```
cfssl print-defaults csr > member1.json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment