This example will use a simple express App rather than the graphQL server, which I’ll cover in a later article, but the principle is just the same.
Here’s the target state – it’s fairly convoluted and each of these components will be covered in a series of small, digestible articles.
Motivation
There are lots of articles out there, but I couldn’t find a start to finish guide for creating an app, deploying it and securely exposing it and the Kubernetes documentation goes straight into the weeds. This is my attempt to remind myself how – and if it’s useful to others, then so much the better.
The steps
Using Kube -lego (being deprecated)
Using Cert-manager (still in beta but replacing Kube-lego)
Acknowledgement to bitnami for some of the background to all of this, and without whose excellent Kubernetes examples I’d have even less idea of what I’m doing.