This is an automated email from the ASF dual-hosted git repository.
hgruszecki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new d4a5287d6 feat: add UI /healthz endpoint (#2983)
d4a5287d6 is described below
commit d4a5287d67e36b9501b972b39f742f3f2472b14e
Author: Aviraj Khare <[email protected]>
AuthorDate: Sat Mar 21 17:31:05 2026 +0530
feat: add UI /healthz endpoint (#2983)
---
helm/charts/iggy/templates/deployment.yaml | 4 ++--
web/README.md | 8 +++++++-
web/src/routes/healthz/+server.ts | 29 +++++++++++++++++++++++++++++
3 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/helm/charts/iggy/templates/deployment.yaml
b/helm/charts/iggy/templates/deployment.yaml
index 4a75c57d9..d669d6aba 100644
--- a/helm/charts/iggy/templates/deployment.yaml
+++ b/helm/charts/iggy/templates/deployment.yaml
@@ -181,11 +181,11 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
- path: /
+ path: /healthz
port: http
readinessProbe:
httpGet:
- path: /
+ path: /healthz
port: http
resources:
{{ toYaml .Values.ui.resources | nindent 12 }}
diff --git a/web/README.md b/web/README.md
index 6f2324237..f2ef7cdbc 100644
--- a/web/README.md
+++ b/web/README.md
@@ -10,6 +10,12 @@ The Iggy Web UI provides a user-friendly panel for managing
various aspects of t
The [docker image](https://hub.docker.com/r/apache/iggy-web-ui) is available,
and can be fetched via `docker pull apache/iggy-web-ui`.
+## Tooling
+
+- Node.js: use a version supported by the current frontend toolchain,
`^20.19.0 || ^22.13.0 || >=24`. `22.13+` LTS is the safest default.
+- Package manager: `npm`
+- `pnpm` and `yarn` are not part of the supported workflow for this package.
CI, Docker builds, and the committed lockfile use `npm`.
+
### Getting Started
1. **Run Iggy server first**
@@ -32,7 +38,7 @@ The [docker
image](https://hub.docker.com/r/apache/iggy-web-ui) is available, an
```sh
cd web
- npm install
+ npm ci
```
4. **Run the project:**
diff --git a/web/src/routes/healthz/+server.ts
b/web/src/routes/healthz/+server.ts
new file mode 100644
index 000000000..7ca5b1b46
--- /dev/null
+++ b/web/src/routes/healthz/+server.ts
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+const STATUS_OK = 'ok';
+
+export const prerender = true;
+
+export const GET = () =>
+ new Response(STATUS_OK, {
+ headers: {
+ 'content-type': 'text/plain; charset=utf-8'
+ }
+ });