Kubernetes health checks: php liveness is now httpGet, and the probe path skips Souin for the kubelet
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- kubernetes, php
- 領域
- devops, documentation
調査の方向性
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
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.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
components-web-app/docs#290 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
components-web-app/docs#289 · コメント 2 件 ·
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
components-web-app/docs#285 ·
-
documentation
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
components-web-app/docs#284 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
components-web-app/docs#237 · コメント 2 件 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
source-cooperative/docs.source.coop#41 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Nimblesite/SharpLsp#468 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
solidjs-community/solid-primitives#1082 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信