public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Wolf Noble <wolf@wolfspyre.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] health check uri for proxmox web front end?
Date: Thu, 22 Jun 2023 17:33:43 -0500	[thread overview]
Message-ID: <A0D5D6F9-B205-4FD9-90AA-256FB57AB10C@wolfspyre.com> (raw)


hi all!

I have looked thru the api docs, and forums, and haven’t found a solution myself yet.
I’m looking for a lightweight uri to assess the health of a proxmox node for the purposes of  having the proxmox web ui behind a loadbalanced vip 
( haproxy run on opnsense )

Im aware of the existing api face, however what exists now requires authentication, and seems a little heavy for my intended use:

 (hey, you alive? yes? cool! i’ll check again in a couple seconds) 

Ideally, there’d be a super lightweight check face that responds with a 200/ok, perhaps even with some light metadata cached from other normal operations…

the ideal (from my perspective) would be a target endpoint that requires no auth, but the authorized calling hosts must be explicitly whitelisted for the node to respond to the query.

ideally logging of ‘good’ state request responses would be optional.

ideally, data included in the response, and it’s acceptable freshness would also be configurable.. but i don’t want to overcomplicate things either….

does such a mechanism exist already, and I just couldn’t find it?

if not, is there already a feature request, or someplace this was already discussed?



—- TANGENT

another thought I had which seemed totally tangental at first blush was wondering if the web ui for a cluster could additionally (ie not exclusively) be served by a different class of node (i was thinking pi4’s … ) the thought was that by having an ‘administrative function only’ cluster node type could be a way to as a way to slowly build arm64 support… 
… as i imagine this could be useful, but getting EVERYTHING working on a dif arch is a monumentally complex task not likely to bear much fruit terribly quickly, but I digress…



tia! 
I’ve been really happy with my proxmox experience over the last several years…. 

thanks for all the hard work you’ve done keeping proxmox such a stable abstraction layer… its greatly appreciated.

❤️🐺W


[= The contents of this message have been written, read, processed, erased, sorted, sniffed, compressed, rewritten, misspelled, overcompensated, lost, found, and most importantly delivered entirely with recycled electrons =]


             reply	other threads:[~2023-06-22 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22 22:33 Wolf Noble [this message]
2023-06-23  6:59 ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A0D5D6F9-B205-4FD9-90AA-256FB57AB10C@wolfspyre.com \
    --to=wolf@wolfspyre.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal