gifted-motorcycle-96530
11/09/2022, 10:17 PMdlv
). See thread for details.kubectl port-forward
command:
https://itnext.io/debug-a-go-application-in-kubernetes-from-ide-c45ad26d8785
However, I want to do it all in YAML IaC and not have to use kubectl port-forward
.
I tried to add ports to the <http://k3d.io/v1alpha2|k3d.io/v1alpha2>
API but was not able to get any success.
Does anyone have any suggestions for what I might be doing wrong? I can package my efforts up as a repo on GitHub it that will help.wide-garage-9465
11/10/2022, 9:03 AMLoadBalancer
or NodePort
type Service
paired with the Deployment manifest should do the trick already.
With k3d port-forwarding to the exposed port.gifted-motorcycle-96530
11/10/2022, 7:38 PMService
and a Pod
. Do I need a Deployment
?
My Service has these ports:~
port: 8000
wide-garage-9465
11/10/2022, 7:46 PMgifted-motorcycle-96530
11/10/2022, 7:47 PMDockerfile
, but without other things correctly configured that would not work. Hence I need to create a self-contained example that all works, which I need to do for my team anyway since I was researching how to do this.