-
Hello, I'm trying to make a simple hello-world example working in remote development mode using Quarkus 2.9.2 and deploying on k8s 1.23.6 (k3s cluster). I build and deploy my app in one step using:
The above successfully deploys my app in k8s running in dev mode:I then port forward the pod's 8080 port using kubectl to my local port 5000:Finally, I try to connect with remote development mode from my machine:
The client can't connect with the following error:
Am I missing something obvious? Any ideas please? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Deleted my image in Docker Hub, started all over again and now it works 🤷 |
Beta Was this translation helpful? Give feedback.
-
Thanks @iocanel. Actually, the default k8s manifests Quarkus creates have I did some extra testing and realised where the problem was: When I build my image I'm passing In my many attempts to make this work I made this change and forgot about it, so I thought there was a problem with k8s not pulling the updated image instead 😊 |
Beta Was this translation helpful? Give feedback.
Thanks @iocanel. Actually, the default k8s manifests Quarkus creates have
imagePullPolicy: Always
, so that wasn't the problem.I did some extra testing and realised where the problem was: When I build my image I'm passing
-Dquarkus.live-reload.password=nassos
and I was under the impression that this is somehow "baked" into the image; obviously, it's not, you still need to include it inapplication.yaml
.In my many attempts to make this work I made this change and forgot about it, so I thought there was a problem with k8s not pulling the updated image instead 😊