From 3795d108c14c9fe6d637ebd14d11c215beaf84ab Mon Sep 17 00:00:00 2001 From: ada mancini Date: Mon, 22 Apr 2024 11:17:51 -0400 Subject: [PATCH] get rqlite nodes API data https://rqlite.io/docs/guides/monitoring-rqlite/#nodes-api --- in-cluster/default.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/in-cluster/default.yaml b/in-cluster/default.yaml index 0a42309..9f0f998 100644 --- a/in-cluster/default.yaml +++ b/in-cluster/default.yaml @@ -262,6 +262,15 @@ spec: image: busybox:1 command: ["wget"] args: ["-q", "-T", "5", "http://kotsadm-rqlite:4001/status?pretty", "-O-"] + - runPod: + name: rqlite-nodes + namespace: default + podSpec: + containers: + - name: rqlite-nodes + image: busybox:1 + command: ["wget"] + args: ["-q", "-T", "5", "http://kotsadm-rqlite:4001/nodes?pretty&ver=2", "-O-"] - http: collectorName: replicated.app-health-check get: