hcavarsan / kftray

kubernetes port forward manager 🦀 ⚡
https://kftray.app/
GNU General Public License v3.0
856 stars 65 forks source link

Arm64 container arch? #308

Closed andrewscherpbier closed 2 months ago

andrewscherpbier commented 2 months ago

Describe the bug When attempting a UDP port forward, the ktray-forward-... pod logs

exec /kftray-server: exec format error

I presume because I am on a Mac M1 running minikube and I don't see any code that creates a multi-arch docker images. For our own containers, we specify --platform=linux/arm64,linux/amd64 to build multi-arch container images.

To Reproduce Steps to reproduce the behavior:

  1. Buy a Mac M1, M2, M3, or M4 (Not quite!)
  2. install kftray through brew
  3. create a service with UDP ports in minikube
  4. use kftray to port forward one of those UDP ports
  5. The kftray-server cannot start because of exec /kftray-server: exec format error

Expected behavior UDP port forwarding should work on Mac M1

Screenshots image

Desktop (please complete the following information):

Additional context image

hcavarsan commented 2 months ago

yeap, makes sense, ill add multi platform build in CI workflow, im on it thanks for the report

hcavarsan commented 2 months ago

done @andrewscherpbier https://github.com/hcavarsan/kftray/releases/tag/v0.14.5

andrewscherpbier commented 2 months ago

Awesome! Amazing quick work there! It is now running against my minikube!