zwave-js-ui
by k8s On Lab
Helm chartv0.10.0App 11.27.0Apache-2.0Verified publisher
Helmchart for zwave-js-ui
About this chart
zwave-js-ui
Helmchart for zwave-js-ui
Homepage: https://github.com/k8sonlab/publiccharts/tree/main/charts/zwave-js-ui
Install
You can install this chart from the classic Helm repository or from OCI in GHCR.
Helm repository
helm repo add publiccharts https://charts.ar80.eu
helm repo update
helm install my-release publiccharts/zwave-js-ui
OCI registry (GHCR)
helm registry login ghcr.io
helm install my-release oci://ghcr.io/k8sonlab/publiccharts/zwave-js-ui --version <chart-version>
Maintainers
| Name | Url | |
|---|---|---|
| varet80 | https://github.com/varet80 |
Source Code
- https://github.com/zwave-js/zwave-js-ui
- https://github.com/zwave-js/node-zwave-js
- https://github.com/k8sonlab/zwave-js-prom-exporter
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | |
| image.repository | string | "zwavejs/zwave-js-ui" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| health | object | {"livenessProbe":{"httpHeaders":[{"name":"Accept","value":"text/plain"}],"initialDelaySeconds":15,"path":"/health","periodSeconds":30},"readinessProbe":{"httpHeaders":[{"name":"Accept","value":"text/plain"}],"initialDelaySeconds":5,"path":"/health","periodSeconds":30},"startupProbe":{"httpHeaders":[{"name":"Accept","value":"text/plain"}],"initialDelaySeconds":5,"path":"/health","periodSeconds":30}} | configure Probes |
| ports | object | {"promExporter":{"containerPort":9090,"name":"http-exporter","protocol":"TCP","servicePort":9090},"ui":{"containerPort":8091,"name":"http-ui","protocol":"TCP","servicePort":80},"websocket":{"containerPort":3000,"name":"http-websocket","protocol":"TCP","servicePort":3000}} | ui and websocet ports |
| service | object | {"annotations":{},"port":80,"type":"ClusterIP"} | Define service |
| service.type | string | "ClusterIP" | Use cluster ip as main service option |
| strategy | object | {"type":"Recreate"} | Setting default strategy, to avoid running 2 containers with one stick |
| serviceAccount.create | bool | true | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.name | string | "" | |
| env | list | [{"name":"ZWAVE_JS_EXTERNAL_CONFIG","value":"/usr/src/app/store/.config-db"}] | add your env variables here, following standard syntax |
| envFrom | list | [] | you can add secrets and configmaps. this way you support external secrets for secure variables |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| securityContext | object | {} | |
| persistence.enabled | bool | false | enable persistent volume, otherwise use empty dir |
| persistence.mountPath | string | "/usr/src/app/store" | change the path of store. Just in case you use different env variable. |
| httpRoute | object | {"annotations":{},"apiVersion":"gateway.networking.k8s.io/v1","enabled":false,"hostnames":[],"kind":"HTTPRoute","labels":{},"parentRefs":[],"rules":[{"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]} | Support custom usb device usbDevice: /dev/ttyUSB0 |
| httpRoute.enabled | bool | false | Enable an HTTPRoute resource for nextcloud . |
| httpRoute.apiVersion | string | "gateway.networking.k8s.io/v1" | Set the route apiVersion |
| httpRoute.kind | string | "HTTPRoute" | Set the route kind |
| httpRoute.annotations | object | {} | Route annotations |
| httpRoute.labels | object | {} | Route labels |
| httpRoute.hostnames | list | [] | Route hostnames |
| httpRoute.parentRefs | list | [] | Reference to parent gateways |
| ingress.enabled | bool | false | Enable classic Ingress resource |
| ingress.className | string | "" | Choose the ingress class |
| ingress.annotations | object | {} | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| resources | object | {"limits":{"cpu":"300m","memory":"256Mi"},"requests":{"cpu":"200m","memory":"192Mi"}} | Initial resources, based on a 40node network |
| nodeSelector | object | {} | |
| tolerations | list | [] | |
| affinity | object | {} | |
| networkPolicy | object | {"cilium":{"egress":[],"ingress":[{"toPorts":[{"ports":[{"port":"http-ui"}]}]}]},"egress":[],"enabled":false,"flavor":"kubernetes","ingress":[{"ports":[{"port":"http-ui","protocol":"TCP"}]}]} | Define network policy targeting managed pod |
| networkPolicy.cilium | object | {"egress":[],"ingress":[{"toPorts":[{"ports":[{"port":"http-ui"}]}]}]} | If cilium flavor is defined, fill definition here |
| networkPolicy.flavor | string | "kubernetes" | Choose policy flavor in 'kubernetes', 'cilium' |
| networkPolicy.ingress | list | [{"ports":[{"port":"http-ui","protocol":"TCP"}]}] | If kubernetes flavor is defined, fill definition here |
| serviceMonitor | object | {"labels":{},"namespaceSelector":{},"promExporter":{"enabled":true,"endpointAdditions":{},"interval":"30s"},"ui":{"enabled":false,"endpointAdditions":{},"interval":"30s"}} | Support Prometheus ServiceMonitor |
| serviceMonitor.namespaceSelector | object | {} | namespace selector |
| serviceMonitor.promExporter.enabled | bool | true | not required, placeholder for future changes. Currently controled under promExporter.enabled |
| serviceMonitor.promExporter.interval | string | "30s" | interval |
| serviceMonitor.promExporter.endpointAdditions | object | {} | endpoint additions - add endpoint modifications |
| serviceMonitor.ui.enabled | bool | false | Enable Zwave-js-ui metrics endpoint pulling |
| serviceMonitor.ui.interval | string | "30s" | interval |
| serviceMonitor.ui.endpointAdditions | object | {} | endpoint additions - add endpoint modifications |
| promExporter | object | {"enabled":false,"health":{"livenessProbe":{"initialDelaySeconds":15,"path":"/healthz","periodSeconds":30},"readinessProbe":{"initialDelaySeconds":5,"path":"/healthz","periodSeconds":30},"startupProbe":{"initialDelaySeconds":5,"path":"/healthz","periodSeconds":30}},"image":{"pullPolicy":"IfNotPresent","repository":"ghcr.io/k8sonlab/zwave-js-prom-exporter","tag":"0.5.0"},"port":9090,"resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"64Mi"}}} | Prometheus Exporter Sidecar |
| promExporter.enabled | bool | false | enable Prometheus Exporter sidecar |
| promExporter.port | int | 9090 | port for the exporter |
| promExporter.health | object | {"livenessProbe":{"initialDelaySeconds":15,"path":"/healthz","periodSeconds":30},"readinessProbe":{"initialDelaySeconds":5,"path":"/healthz","periodSeconds":30},"startupProbe":{"initialDelaySeconds":5,"path":"/healthz","periodSeconds":30}} | probes for the sidecar |
| promExporter.resources | object | {"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"64Mi"}} | resources for the sidecar |
Deploy zwave-js-ui with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has zwave-js-ui on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartzwave-js-ui is pinned at v0.10.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply