問題: Pod がアプリケーションを起動できず、バックアップ/リカバリ アプライアンスからマウントされたデータを使用できません。これは、データがキャプチャされたソースマシンですべてのアプリケーション プロセスが実行された user ID と、Pod で実行される user ID が異なるためです。
解決策: Pod のセキュリティ コンテキストを明示的に設定し、Pod の YAML ファイルで runAsUser フィールドに適切なユーザー ID 値を指定します。たとえば、ソースホストの MySQL アプリケーションがユーザー ID 997 ですべてのプロセスを実行した場合は、同じユーザー ID 997 を使用するように Pod のセキュリティ コンテキストを設定することをおすすめします。これを行うには、Pod の YAML ファイルの spec セクションで次の手順を指定します。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-18 UTC。"],[[["Pods may fail to start applications and consume mounted data due to discrepancies in user IDs between the source machine and the pod."],["The primary cause of the issue is differing user IDs under which application processes run on the source and within the pod."],["To resolve this, set the pod's security context explicitly, defining the correct user ID with the `runAsUser` field in the pod's YAML file."],["It is recommended to align the `runAsUser` value in the pod's security context with the user ID used by application processes on the source machine."]]],[]]