Hi all, I have been diving into the forum here and the issues and don’t think this is covered yet, I apologise if I have missed something!
I am trying to run Waypoint on a KinD cluster. As stated in the CLI output and the docs I know this requires a LoadBalancer type which I have used the suggested MetalLB install. I have actually even tried used this HashiCorp provided setup script.
I am not sure how to complete a login Here are the logs below from my helm install but inability to login. This seems to be a MetalLB issue maybe? But I have used MetalLB for other URLs before so I am a bit unsure.
Anyone else have success with this? See below for my output from install to fail to login.
$ helm install waypoint hashicorp/waypoint \
--namespace waypoint \
--set server.runArgs={-url-enabled=false}
NAME: waypoint
LAST DEPLOYED: Wed Jan 11 09:41:30 2023
NAMESPACE: waypoint
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Thank you for installing HashiCorp Waypoint!
Waypoint will take a few minutes to bootstrap. Once it is bootstrapped, you
can log in to the local CLI by running the following command. If this command
fails, please wait a few more minutes and try again.
$ waypoint login -from-kubernetes
Once logged in, you can use the "waypoint ui" command to open the web interface.
Alternately, you can visit the address of the load balancer service configured.
If anything fails to configure properly you can uninstall this release:
$ helm uninstall waypoint
$ k get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 5m15s
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 5m13s
metallb-system webhook-service ClusterIP 10.96.41.56 <none> 443/TCP 5m9s
waypoint waypoint-server ClusterIP None <none> 9702/TCP,9701/TCP 2m30s
waypoint waypoint-ui LoadBalancer 10.96.164.171 172.18.0.1 80:31038/TCP,443:32236/TCP,9701:31469/TCP,9702:30875/TCP 2m30s
$ k describe endpoints -n waypoint waypoint-ui
Name: waypoint-ui
Namespace: waypoint
Labels: app=waypoint
app.kubernetes.io/managed-by=Helm
chart=waypoint-0.1.17
component=ui
heritage=Helm
release=waypoint
Annotations: endpoints.kubernetes.io/last-change-trigger-time: 2023-01-11T09:41:52Z
Subsets:
Addresses: 10.244.0.10
NotReadyAddresses: <none>
Ports:
Name Port Protocol
---- ---- --------
grpc 9701 TCP
https 9702 TCP
http 9703 TCP
https-2 9702 TCP
Events: <none>
$ waypoint login -from-kubernetes -from-kubernetes-namespace=waypoint
Waypoint server URL: 172.18.0.1:9701
! Error reconnecting with token: error connecting to server: context deadline exceeded