<p>I'm trying to make a job that runs sysbench on a pod. First I make the job with the next yaml:</p>
<pre><code>apiVersion: batch/v1
kind: Job
metadata:
  name: sysbench-prepare
spec:
  template:
    metadata:
      name: sysbench-prepare
    spec:
      containers:
      - name: sysbench-prepare
        image: severalnines/sysbench
        command:
        - sysbench
        - --db-driver=mysql
        - --oltp-table-size=100000
        - --oltp-tables-count=24
        - --threads=1
        - --mysql-host=localhost
        - --mysql-port=3306
        - --mysql-user=sbtest
        - --mysql-password=password
        - /usr/share/sysbench/tests/include/oltp_legacy/parallel_prepare.lua
        - run
      restartPolicy: Never
</code></pre>
<p>Apparently, it is created without problem</p>
<pre><code>pi@k8s-master-rasp4:~ $ kubectl get jobs
NAME               COMPLETIONS   DURATION   AGE
sysbench-prepare   0/1           33m        33m
</code></pre>
<p>And this is the yaml for the pod</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  labels:
    app: sysbench
  name: sysbench
spec:
  containers:
  - command:
    - sysbench
    - --db-driver=mysql
    - --report-interval=2
    - --mysql-table-engine=innodb
    - --oltp-table-size=100000
    - --oltp-tables-count=24
    - --threads=64
    - --time=99999
    - --mysql-host=localhost
    - --mysql-port=3306
    - --mysql-user=sbtest
    - --mysql-password=password
    - /usr/share/sysbench/tests/include/oltp_legacy/oltp.lua
    - run
    image: severalnines/sysbench
    name: sysbench
  restartPolicy: Never
</code></pre>
<p>And this is the state  after creating it</p>
<pre><code>pi@k8s-master-rasp4:~ $ kubectl get pods
NAME                     READY   STATUS   RESTARTS   AGE
sysbench                 0/1     Error    0          66s
sysbench-prepare-4st28   0/1     Error    0          56s
sysbench-prepare-88kcd   0/1     Error    0          61s
sysbench-prepare-kbk5c   0/1     Error    0          46s
sysbench-prepare-zrv95   0/1     Error    0          6s

</code></pre>
<p>The log shows this error:</p>
<pre><code>pi@k8s-master-rasp4:~ $ kubectl logs -f sysbench
standard_init_linux.go:219: exec user process caused: exec format error
</code></pre>
<p>Everything is running on a raspberry cluster, anyone knows where could be the problem? Thanks for your time</p>

Ángel
<p>You're trying to run a <a href="https://hub.docker.com/r/severalnines/sysbench/tags?page=1&amp;ordering=last_updated" rel="nofollow noreferrer">linux/amd64</a> image on an ARM-based system: essentially, the error is saying that doesn't understand how to run instructions since binary and processor are speaking different languages.</p>
<p>You have to find a compatible Docker image for your architecture.</p>
