Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Владимир Карпов
DevOps
Commits
959cd57a
Commit
959cd57a
authored
Feb 08, 2021
by
Владимир Карпов
Browse files
Обновить readme.md
parent
5655aa53
Changes
1
Hide whitespace changes
Inline
Side-by-side
readme.md
View file @
959cd57a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment