Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ 初心者向け
#120 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
kubernetes, php

調査の方向性

content/6.deployment/2.kubernetes.md を開き、「Health Checks」セクションを見つけます。PHP の liveness に関する説明とレンダリングされた YAML を更新し、timeout と PWA の段落を書き換えます。その後、ドキュメント内で Souin の template の patch リストを検索し、記載されている場合は singleflight patch を追加します。PHP probe の詳細と関連するすべての説明が issue と一致し、pod が決して ready にならないと主張していなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
0
フォーク
0
平均マージ
1時間 20分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

components-web-app/docs のほかの issue

components-web-app/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。