fix(v1.0.2): NOTES.txt gère tcpSocket probe (pas que httpGet)

This commit is contained in:
dahoud
2026-04-22 15:32:29 +00:00
parent c09fec1125
commit 3c1fc03ea9
2 changed files with 9 additions and 4 deletions

View File

@@ -7,11 +7,16 @@ Application {{ include "lions-app.name" . }} déployée sur Lions ({{ .Release.N
kubectl get pods -n {{ .Release.Namespace }} -l app={{ include "lions-app.name" . }}
3. Health check :
{{- if .Values.probes.readiness.httpGet }}
{{- if .Values.ingress.enabled }}
curl -sk https://{{ .Values.ingress.host }}{{ .Values.probes.readiness.httpGet.path | default "/q/health/ready" }}
curl -sk https://{{ .Values.ingress.host }}{{ .Values.probes.readiness.httpGet.path }}
{{- else }}
kubectl port-forward -n {{ .Release.Namespace }} svc/{{ include "lions-app.name" . }} 8080:{{ .Values.service.port }}
curl -s http://localhost:8080{{ .Values.probes.readiness.httpGet.path | default "/q/health/ready" }}
curl -s http://localhost:8080{{ .Values.probes.readiness.httpGet.path }}
{{- end }}
{{- else }}
(tcpSocket probe — pas de path HTTP de test direct)
kubectl get pods -n {{ .Release.Namespace }} -l app={{ include "lions-app.name" . }}
{{- end }}
4. Logs :