Hi everyone.
I have a previous Kubernetes Waypoint installation that I was using in my previous system. Yesterday I had to format my workstation, and now I’m not being able to interact with that server installation anymore.
As you can see, the Waypoint installation is configured as expected in my Kubernetes cluster:
❯ kubectl get pods -n waypoint
NAME READY STATUS RESTARTS AGE
waypoint-server-0 1/1 Running 0 115d
(also, I deployed some applications yesterday, so it is almost impossible that the issue is in my Waypoint server)
In my local machine, I ran the following command to setup my context:
waypoint context create -set-default -server-addr=127.0.0.1:9071 -server-auth-token='<my token>' -server-tls-skip-verify -server-tls=false bud
Them the context was created as expected:
❯ waypoint context list
| NAME | PLATFORM | SERVER ADDRESS
----+------+----------+-----------------
* | bud | n/a | 127.0.0.1:9071
After that, I ran a port-forward
(like I always done to deploy), with the following command:
❯ k port-forward -n waypoint waypoint-server-0 9072:9072 9071:9071
Forwarding from 127.0.0.1:9072 -> 9072
Forwarding from [::1]:9072 -> 9072
Forwarding from 127.0.0.1:9071 -> 9071
Forwarding from [::1]:9071 -> 9071
And finally, I tried to run waypoint up
. But I got the following error (in my port-forward
shell):
E0507 13:29:22.612049 256059 portforward.go:400] an error occurred forwarding 9071 -> 9071: error forwarding port 9071 to pod 4291c707572c7e87c28cada63637203d83c1fa484d415d1baf87bb4363a3861e, uid : exit status 1: 2021/05/07 16:29:22 socat[11486] E connect(5, AF=2 127.0.0.1:9071, 16): Connection refused
Handling connection for 9071
E0507 13:29:23.641137 256059 portforward.go:400] an error occurred forwarding 9071 -> 9071: error forwarding port 9071 to pod 4291c707572c7e87c28cada63637203d83c1fa484d415d1baf87bb4363a3861e, uid : exit status 1: 2021/05/07 16:29:23 socat[11497] E connect(5, AF=2 127.0.0.1:9071, 16): Connection refused
Handling connection for 9071
E0507 13:29:25.270821 256059 portforward.go:400] an error occurred forwarding 9071 -> 9071: error forwarding port 9071 to pod 4291c707572c7e87c28cada63637203d83c1fa484d415d1baf87bb4363a3861e, uid : exit status 1: 2021/05/07 16:29:25 socat[11498] E connect(5, AF=2 127.0.0.1:9071, 16): Connection refused
Handling connection for 9071
E0507 13:29:27.393452 256059 portforward.go:400] an error occurred forwarding 9071 -> 9071: error forwarding port 9071 to pod 4291c707572c7e87c28cada63637203d83c1fa484d415d1baf87bb4363a3861e, uid : exit status 1: 2021/05/07 16:29:27 socat[11550] E connect(5, AF=2 127.0.0.1:9071, 16): Connection refused
I don’t know what I did wrong
Anyone can give me a hand?