14 lines
457 B
Bash
Executable File
14 lines
457 B
Bash
Executable File
#!/usr/bin/bash
|
|
NODES="-n 10.51.10.101 -n 10.51.10.102 -n 10.51.10.102"
|
|
ENDPOINTS="--endpoints 10.51.10.100"
|
|
TALOSCONFIG=" --talosconfig=output/talos-config.yaml"
|
|
|
|
PARAMETERS="${NODES} ${ENDPOINTS} ${TALOSCONFIG}"
|
|
echo " === Talos Cluster Members ==="
|
|
talosctl ${PARAMETERS} get members
|
|
echo
|
|
echo " === etcd status ==="
|
|
talosctl ${PARAMETERS} etcd status
|
|
echo
|
|
echo " === Cluster Health ==="
|
|
talosctl ${ENDPOINTS} ${TALOSCONFIG} -n 10.51.10.101 health |