Problem with k6-operator and xk6 custom resource

Solved it.
Thank you for everything.

The problem was this :

  1. Unfortunately I use Apple M1 Pro .
  2. Figured that the kubectl client is on Platform:“darwin/arm64” and the server on : Platform:“linux/amd64” and ofc at first i’ve build the image by default on arm64, thus the error : “standard_init_linux.go:228: exec user process caused: exec format error”
    And in most cases, apparently the error occurs when : trying to run a binary that was compiled for a different operating system or arch
  3. Solution : build the image with --platform linux/amd64.

hope this helps going forward.
I would change the title of the topic as well

2 Likes