Readiness/Liveness failing while healthz check on celery-celery
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- helm, kubernetes
- Ambito
- devops, infrastructure
Direzione di ricerca
L’issue fornisce valori HelmRelease separati per web e celery, inclusi WEBLATE_SERVICE e le probe HTTP, ma non indica alcun file del repository né alcun test. Inizia eseguendo il rendering dei template del chart per le probe di liveness/readiness e confronta il workload generato per web con quello per celery. Il lavoro è completato quando il workload celery dispone di un health check supportato che non riceve «connection refused», con copertura per la configurazione renderizzata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the issue
I've split helm chart configuration to the as follow:
weblate-web.yaml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: weblate-web
namespace: weblate
spec:
interval: 30m
chart:
spec:
chart: weblate
version: '0.5.9'
sourceRef:
kind: HelmRepository
name: weblate
namespace: flux-system
interval: 24h
values:
replicaCount: 1
labels:
app: "weblate-web"
flux: "true"
helm: "true"
existingSecret: "weblate"
allowedHosts: "*"
debug: "1"
externalSecretName: "weblate-configs"
extraConfig:
WEBLATE_LOGLEVEL: "DEBUG"
WEBLATE_UPDATE_LANGUAGES: "0"
WEBLATE_ENABLE_HTTPS: "1"
WEBLATE_REGISTRATION_OPEN: "0"
WEBLATE_ENABLE_SHARING: "0"
WEBLATE_SUPPORT_STATUS_CHECK: "0"
WEBLATE_REQUIRE_LOGIN: "0"
WEBLATE_NO_EMAIL_AUTH: "1"
WEBLATE_REGISTRATION_ALLOW_BACKENDS: "google-oauth2"
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS: "some.host"
WEBLATE_GITLAB_HOST: "gitlab.some.host"
WEBLATE_AUTO_UPDATE: "1"
WEBLATE_SERVICE: "web"
siteTitle: "My Awesome Weblate"
siteDomain: "weblate.some.host"
serviceAccount:
create: false
podSecurityContext:
enabled: true
fsGroup: 1000
podAnnotations: {}
containerSecurityContext:
enabled: false
service:
type: ClusterIP
port: 80
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
hosts:
- host: celery.some.host
paths:
- path: /
pathType: Prefix
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 10Gi
filestore_dir: /app/data
resources:
limits:
cpu: 500m
memory: 1024Mi
requests:
cpu: 500m
memory: 1024Mi
nodeSelector: {}
tolerations: []
affinity: {}
livenessProbe:
initialDelaySeconds: 300
periodSeconds: 30
failureThreshold: 10
readinessProbe:
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 2
postgresql:
enabled: false
postgresqlHost: postgres.some.host
redis:
auth:
enabled: false
enabled: false
redisHost: redis.some.host
weblate-celery.yaml
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: weblate-celery
namespace: weblate
spec:
interval: 30m
chart:
spec:
chart: weblate
version: '0.5.9'
sourceRef:
kind: HelmRepository
name: weblate
namespace: flux-system
interval: 24h
values:
replicaCount: 1
labels:
app: "weblate-celery"
flux: "true"
helm: "true"
existingSecret: "weblate"
allowedHosts: "*"
debug: "1"
externalSecretName: "weblate-configs"
extraConfig:
WEBLATE_LOGLEVEL: "DEBUG"
WEBLATE_UPDATE_LANGUAGES: "0"
WEBLATE_ENABLE_HTTPS: "1"
WEBLATE_REGISTRATION_OPEN: "0"
WEBLATE_ENABLE_SHARING: "0"
WEBLATE_SUPPORT_STATUS_CHECK: "0"
WEBLATE_REQUIRE_LOGIN: "0"
WEBLATE_NO_EMAIL_AUTH: "1"
WEBLATE_REGISTRATION_ALLOW_BACKENDS: "google-oauth2"
WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS: "some.host"
WEBLATE_GITLAB_HOST: "gitlab.some.host"
WEBLATE_AUTO_UPDATE: "1"
WEBLATE_SERVICE: "celery-celery"
siteTitle: "My Awesome Weblate"
siteDomain: "weblate.some.host"
serviceAccount:
create: false
podSecurityContext:
enabled: true
fsGroup: 1000
podAnnotations: {}
containerSecurityContext:
enabled: false
service:
type: ClusterIP
port: 80
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
hosts:
- host: celery.some.host
paths:
- path: /
pathType: Prefix
persistence:
enabled: true
existingClaim: "weblate-web"
accessMode: ReadWriteOnce
size: 10Gi
filestore_dir: /app/data
resources:
limits:
cpu: 700m
memory: 1024Mi
requests:
cpu: 700m
memory: 1024Mi
nodeSelector: {}
tolerations: []
affinity: {}
livenessProbe:
initialDelaySeconds: 300
periodSeconds: 30
failureThreshold: 10
readinessProbe:
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 2
postgresql:
enabled: false
postgresqlHost: postgres.some.host
redis:
auth:
enabled: false
enabled: false
redisHost: redis.some.host
But while kybernates try to check Readiness/Liveness probe healthz pod with WEBLATE_SERVICE=celery-celery , it always receive
Liveness probe failed: Get "http://{my_pod_ip}:8080/healthz/": dial tcp {my_pod_ip}:8080: connect: connection refused
In this time while checking WEBLATE_SERVICE=web- response code 200.
I know that i can use some like this in part of Probe configuration, instead of httpGet:
...
exec:
command: ["celery", "--app=weblate.utils", "inspect", "ping"]
...
Unfortunately my flux server not support custom probe setup - only default httpGet
Also i tried to use my own http server for pod with WEBLATE_SERVICE=celery-celery, that i run inside settings-override.py - but it's not clear way.
I already tried
- I've read and searched the documentation.
- I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
- Setup weblate helm release chart like i described upper
- Try to check pod with
WEBLATE_SERVICE: "celery-celery"url{my_pod_ip}:8080/healthz/ - Always getting
Liveness probe failed: Get "http://{my_pod_ip}:8080/healthz/": dial tcp {my_pod_ip}:8080: connect: connection refused
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
Additional context
No response
- Lingua principale
- Mustache
- Stelle
- 41
- Fork
- 45
- Merge medio
- 1h 32m
- PR unite (30g)
- 35
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WeblateOrg/helm
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
WeblateOrg/helm#715 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Incorrect SSH key permissions (0660) set by Weblate GUI causing Git operations to failForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug needinfo
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
WeblateOrg/helm#569 · 6 commenti · 3 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
WeblateOrg/helm#493 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Split into few chartsApertaenhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WeblateOrg/helm#369 · 2 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Looking for a maintainerApertaenhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
WeblateOrg/helm#348 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WeblateOrg/helm
Issue simili
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
microsoft/ebpf-for-windows#5604 ·
I maintainer di solito rispondono entro 3 giorni
-
Theme: Bots Type: Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
internetarchive/openlibrary#13743 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
blinklabs-io/actions#138 ·
I maintainer di solito rispondono entro 1 giorno
-
.Needs Triage .Run Repro Bot Priority:P2 Type:Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
metabase/metabase#83153 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno