VictorySpecificationII / homelab-k8s-ha-cluster_components-etcd

Playbook that deploys a HTTPS etcd cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

homelab-k8s-ha-cluster_components-etcd

Playbook that deploys a HTTP etcd cluster. See branch https_modification for the HTTPS, TLS enabled version of the cluster.

Developed for use with Ubuntu 22. Modify accordingly for other operating systems.

Deployment

  • Name your hosts in the hosts file with the same names you used in your Terraform files.
  • Run:
ansible-playbook -i hosts playbook.yaml -k

Sanity Check

The following commands are to be ran to check for sanity.

To check cluster health, on a random etcd node, run:

etcdctl endpoint health --cluster

on etcd node 1 run:

etcdctl put foo "bar"

on etcd node 2 run:

etcdctl get foo

About

Playbook that deploys a HTTPS etcd cluster.


Languages

Language:Jinja 100.0%