February 6, 2019

Expose Nginx to public in Kubernetes

After getting kubernetes up and running and the dashboard online we proceed to getting our first service public to the world. When you do not use a load balancer provided by your cloud provider, kubernetes offers you two options for exposing ports: NodePort or using an ingress. Ingress is clearly the way to go, enabling you to have multiple services using the same port (this article explains the difference in more detail). Read more

February 3, 2019

Kubernetes dashboard basic auth

Kubernetes provides us with a proxy without TLS support or HTTP Basic authentication (BA). Using IP filtering (--accept-hosts) did not work on my VPS either. In this post I’ll show how you can access your dashboard with TLS and basic auth. This post can also be used to get your first k8s running on your Ubuntu machine/VPS. Get your cluster The following steps are based on this tutorial. You should have Ubuntu 16 or higher: Read more

Blog by lent.ink