Prisma Cloud Compute: ディフェンダーのインストール中に「exec /usr/local/bin/defender: exec format error」を解決する方法

Prisma Cloud Compute: ディフェンダーのインストール中に「exec /usr/local/bin/defender: exec format error」を解決する方法

3419
Created On 10/27/23 01:32 AM - Last Modified 01/03/25 04:52 AM


Objective


The objective of this article is to successfully install defenders on a supported environment and avoid getting the following error:
Warning BackOff 2m38s (x24 over 7m46s) kubelet Back-off restarting failed container twistlock-defender in pod twistlock-defender-ds-4b2bh_twistlock(ca14f9c1-6ab8-44ac-946e-3b233c90ab7a)

exec /usr/local/bin/defender: exec format error



Environment


  • Prisma Cloud Compute SaaSバージョン
  • Prisma Cloud Compute セルフホスト版


Procedure


ツイストロック レジストリのディフェンダーイメージには、x86_64 イメージと arm64 イメージを区別するタグがありません。プル先のホストのアーキテクチャを使用して正しいイメージをプルします。そのため、ユーザーがツイストロック ディフェンダーイメージをプルし、arm64 アーキテクチャを使用してプライベート レジストリにアップロードすると、エラーが発生します。その後、プライベート レジストリのイメージを使用して x86_64 環境に展開します。

この問題を解決するには、x86_64 環境にデプロイする場合、ユーザーは x86_64 マシンを使用して twistlock レジストリからイメージをプルする必要があります。


Additional Information


逆もまた真なりです。ユーザーが arm64 環境に展開したい場合は、arm64 マシンを使用して、twistlock レジストリから defenderイメージを取得し、それをプライベート レジストリにアップロードする必要があります。次に、同じイメージを使用して環境に展開します。

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000Xh40CAC&lang=ja&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language