1.3 KiB
1.3 KiB
etcd
Setup etcd Project
- Copy and rename this folder to active/software_etcd
- Find and replace etcd with the name of the service
- Write the etcd.service spec
- (OPTIONAL) Write the etcd.timer spec
- (OPTIONAL) Write the etcd.sh.j2 template
- Write the install_etcd.yaml ansible template
- Install the service via ansible
- Expose the service
- Install a backup service and timer
Service Variables
- For most vars,populate
vars.yaml - For secret vars, create a new folder called
secrets/and put avars.yamlthere.
Install etcd
https://etcd.io/docs/v3.6/install/
Fedora
sudo dnf install etcd
# Run the playbook
ansible-playbook \
-i ansible/inventory.yaml \
-l podman \
active/software_etcd/install_etcd.yaml \
-e "@active/software_etcd/vars.yaml" \
-e "@active/software_etcd/secrets/vars.yaml"
Upgrade etcd
Backup etcd
Follow the Borg Backup instructions