hcavarsan / kftray

kubectl port-forward on steroids 🦀 Easily manage and share multiple k8s port forwards configurations from the menu bar (GUI) or via terminal (TUI)
https://kftray.app/
MIT License
793 stars 70 forks source link

Arm64 container arch? #308

Closed andrewscherpbier closed 5 minutes ago

andrewscherpbier commented 6 hours 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 5 hours ago

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

hcavarsan commented 3 hours ago

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

andrewscherpbier commented 2 hours ago

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