Skip to content

Commit

Permalink
change how we health check.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialongtin committed Oct 11, 2021
1 parent e53f24e commit 812c403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/etcd-helpers/templates/etcd-health.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

HOST={{ ansible_hostname }}

etcdctl --endpoints https://127.0.0.1:2379 --ca-file=/etc/ssl/etcd/ssl/ca.pem --cert-file=/etc/ssl/etcd/ssl/member-$HOST.pem --key-file=/etc/ssl/etcd/ssl/member-$HOST-key.pem --debug cluster-health
etcdctl --endpoints https://127.0.0.1:2379 --ca-file=/etc/ssl/etcd/ssl/ca.pem --cert-file=/etc/ssl/etcd/ssl/member-$HOST.pem --key-file=/etc/ssl/etcd/ssl/member-$HOST-key.pem endpoint --cluster health

0 comments on commit 812c403

Please sign in to comment.