Chart Version
8.16.1
Bug Description
The default port in values.yaml is set to 7575, but the homarr image is actually exposing port 3000, the NextJS default port.
So with the default values in this chart, the ready-/livenessProbe and the connection to the UI fails.
The log showing port 3002 did also not not help debugging this:
Related: homarr-labs/homarr#2154
PR follows
values.yaml
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: homarr
namespace: kube-system
labels:
app.kubernetes.io/name: homarr
spec:
repo: https://homarr-labs.github.io/charts/
chart: homarr
targetNamespace: homarr
valuesContent: |-
image:
repository: ghcr.io/homarr-labs/homarr
pullPolicy: IfNotPresent
tag: "latest"
securityContext:
runAsNonRoot: true
# runAsUser: ...
# runAsGroup: ...
persistence:
homarrDatabase:
enabled: true
storageClassName: "shared-folder"
size: "50Mi"
envSecrets:
dbEncryption:
existingSecret: "db-encryption"
key: "db-encryption-key"
containerPorts:
http:
port: 7575
protocol: TCP
service:
enabled: true
type: ClusterIP
ports:
app:
port: 7575
targetPort: http
protocol: TCP
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 20
timeoutSeconds: 1
periodSeconds: 20
httpGet:
path: /api/health/live
port: 7575
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 20
timeoutSeconds: 1
periodSeconds: 20
httpGet:
path: /api/health/ready
port: 7575
Relevant log output
# homarr pod log:
Tasks web server started successfully module="tasksMain" port="3002"
# Kubernetes Event:
Readiness probe failed: Get "http://<pi>:7575/api/health/ready": dial tcp <ip>:7575: connect: connection refused
Chart Version
8.16.1
Bug Description
The default port in
values.yamlis set to 7575, but the homarr image is actually exposing port 3000, the NextJS default port.So with the default values in this chart, the ready-/livenessProbe and the connection to the UI fails.
The log showing port 3002 did also not not help debugging this:
Related: homarr-labs/homarr#2154
PR follows
values.yaml
Relevant log output