Closed devil-ming closed 1 month ago
Your pod yaml looks nothing like https://github.com/qemus/qemu-docker/blob/master/kubernetes.yml You removed important parts like privileged
flag.
I noticed this, but I have tried it and the result is the same。
I executed sudo modprobe ip_tables iptable_nat
, now the error message is
❯ Starting QEMU for Docker v0.0...
❯ For support visit https://github.com/qemus/qemu-docker
❯ CPU: Intel Xeon Platinum 8269CY CPU | RAM: 739/755 GB | DISK: 489 GB (xfs) | HOST: 5.10.134-13.al8.x86_64...
❯ Creating a 128G growable disk image in raw format...
❯ ERROR: KVM acceleration not available (no write access), this will cause a major loss of performance.
❯ ERROR: See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended).
I don't know why the docker run
can succeed, but it fails when it is replaced by pod.
@devil-ming Did you solve it?
Operating system
alinux3
Description
I was able to start with the original docker command, but not via k8s pod
Docker compose
my docker run command
my pod yaml
Docker log
Screenshots (optional)
No response