mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 15:46:50 +08:00
etcd on Azure: conform to Ubuntu's defaults
...because it's different than Fedora's defaults
This commit is contained in:
@@ -78,11 +78,11 @@ Now let's set up etcd on ns-azure:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
ssh ns-azure.sslip.io
|
ssh ns-azure.sslip.io
|
||||||
cd /etc/etcd
|
sudo mkdir /etc/etcd # default's okay: root:root 755
|
||||||
lpass login brian.cunnie@gmail.com --trust
|
lpass login brian.cunnie@gmail.com --trust
|
||||||
sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/ca.pem
|
sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/ca.pem
|
||||||
sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd.pem
|
sudo curl -OL https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd.pem
|
||||||
sudo curl -o etcd.conf -L https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd-azure.conf
|
sudo curl -o /etc/default/etcd -L https://raw.githubusercontent.com/cunnie/sslip.io/main/etcd/etcd-azure.conf
|
||||||
lpass show --note etcd-ca-key.pem | sudo tee ca-key.pem
|
lpass show --note etcd-ca-key.pem | sudo tee ca-key.pem
|
||||||
lpass show --note etcd-key.pem | sudo tee etcd-key.pem
|
lpass show --note etcd-key.pem | sudo tee etcd-key.pem
|
||||||
sudo chmod 400 *key*
|
sudo chmod 400 *key*
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# [member]
|
# [member]
|
||||||
ETCD_NAME=ns-azure
|
ETCD_NAME=ns-azure
|
||||||
ETCD_DATA_DIR="/var/lib/etcd/default.etcd"
|
ETCD_DATA_DIR="/var/lib/etcd/default"
|
||||||
#ETCD_WAL_DIR=""
|
#ETCD_WAL_DIR=""
|
||||||
#ETCD_SNAPSHOT_COUNT="10000"
|
#ETCD_SNAPSHOT_COUNT="10000"
|
||||||
#ETCD_HEARTBEAT_INTERVAL="100"
|
#ETCD_HEARTBEAT_INTERVAL="100"
|
||||||
|
Reference in New Issue
Block a user