1.12.2. 問題の解決: 再インストールの失敗
search-collector デプロイメントのメモリー制限を増やす必要があります。メモリー制限を増やすには、以下の手順を実行します。
- Red Hat OpenShift Container Platform ハブクラスターにログインします。
以下のコマンドを実行して
search-collectorデプロイメントにアクセスします。oc edit deployment $(oc get deployment -l component=search-collector -o jsonpath='{.items[0].metadata.name}').spec.template.spec.containers.resources.limitsフィールドを使用して、コンテナーのメモリーのリソース制限を編集します。spec: template: spec: containers: resources: limits: memory: 863Mi requests: cpu: 25m memory: 64Mi- 変更をデプロイメントに適用して保存します。
search-collector デプロイメントのメモリー制限が引き上げられます。