Kubernetes health checks: php liveness is now httpGet, and the probe path skips Souin for the kubelet
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
livenessProbeis no longertcpSocket. It is the samehttpGetas readiness (/_api/_/site_config_parameters.jsonld, sameAcceptheader) withperiodSeconds: 10,failureThreshold: 6,timeoutSeconds: 5, and noinitialDelaySeconds(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: 5callout: 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_cacheskips requests to that path whoseUser-Agentstarts withkube-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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của components-web-app/docs
-
documentation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
components-web-app/docs#290 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
components-web-app/docs#289 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
components-web-app/docs#237 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
components-web-app/docs#1 · 3 bình luận ·
Tất cả issue của components-web-app/docs
Issue tương tự
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --displayCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
pingdotgg/t3code#24900 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
inu-appcenter/UNIDorm-web#411 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ranxianglei/billion-context#4720 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:arcade game p3-medium ready-for-agent type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
fderuiter/deruiter.dev#2840 ·
Maintainer thường phản hồi trong vòng 1 ngày