Hello! I’m currently using Dokku, a self hosted alternative to Heroku, but I’m very interested in switching to Waypoint + Kubernetes if the processes is as simple. I need the following features
Be able to deploy to Digital Ocean kubernetes (which I think is possible)
Get deployment URLs (which is also possible)
Hook up a custom domain for the production release (I couldn’t find this anywhere in the docs)
LetsEncrypt the custom domain
Is this possible? I’m mostly using Node.js, if anyone has any points or even a HCL file I can use, that would be great as well.
For pushing to private container registries, you should be able to configure the authentication “out of band” from Waypoint. For example if your waypoint.hcl has a build stanza with a registry section like this pointing to a private registry:
registry {
use "docker" {
image = "registry.example.com/image"
tag = "latest"
}
}
As long as your docker cli has the ability to push to the private registry because you’ve previously done something like: echo $MY_SECRET | docker login registry.example.com -u USERNAME --password-stdin
where $MYSECRET is an env var with your secret and USERNAME is replaced with your actual registry username, then Waypoint should not need to know your private registry credentials to push an image.
Ah I see, so we still have to configure a load balancer for production traffic? I was under the impression that it would be a part of waypoint? And also when setting up waypoint, it looks like it already creates a load balancer. There is no way to use that?
I’m a beginner with waypoint and kubernetes but what I noticed is when I install traefik it creates a new load balancer even though waypoint created one already. So the one created by waypoint is not used by traefik so I just removed it from my waypoint.hcl. I don’t know if there is a way to tell traefik to use the load balancer created by waypoint.