Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Kubernetes health checks: php liveness is now httpGet, and the probe path skips Souin for the kubelet

Đã đóng Phù hợp với người mới
#120 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kubernetes, php
Lĩnh vực
devops, documentation

Hướng nghiên cứu

Mở content/6.deployment/2.kubernetes.md và tìm phần Health Checks. Cập nhật phần mô tả liveness của PHP và YAML đã render, viết lại các đoạn về timeout và PWA, sau đó tìm trong tài liệu danh sách patch của template dành cho Souin và thêm patch singleflight nếu nó được liệt kê. Hoàn tất khi các chi tiết về probe PHP và mọi giải thích liên quan khớp với issue mà không khẳng định rằng pod không bao giờ trở nên ready.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Template change: components-web-app 9b7bca6 (issue components-web-app#104).

Affects content/6.deployment/2.kubernetes.md → Health Checks:

  • The php container's livenessProbe is no longer tcpSocket. It is the same httpGet as readiness (/_api/_/site_config_parameters.jsonld, same Accept header) with periodSeconds: 10, failureThreshold: 6, timeoutSeconds: 5, and no initialDelaySeconds (the startup probe holds it off). Update the opening sentence and the rendered YAML. A pod whose php stops answering now restarts after about a minute. A database outage also restarts it.
  • The timeoutSeconds: 5 callout: the singleflight wedge it describes is now fixed in three ways. The template's Souin build carries darkweak/souin#850 (api/frankenphp/souin/v1.7.9-singleflight-fix.patch), so a timed-out call releases its key. The Caddyfile's @use_cache skips requests to that path whose User-Agent starts with kube-probe/. And liveness now catches a stuck php. Keep the 5s timeout (the 1s default can lose a cold worker's first request), but reword the callout so it no longer says the pod "never becomes ready".
  • The pwa paragraph says "the same TCP liveness probe". It's still TCP for pwa, so reword that to stop implying php's probe is TCP.
  • If the docs list the template's Souin patches anywhere, add the singleflight patch next to the purge patch. Remove it once a Souin release includes #850.
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
1 giờ 20 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của components-web-app/docs

Tất cả issue của components-web-app/docs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.