Run a Stateful App on Kubernetes with HTTPS and Persistent Storage
Deploy an app with a database on VKE, give it a real certificate and storage that survives pod restarts.
POINTS
Deploy an app with a database on VKE, give it a real certificate and storage that survives pod restarts.
POINTS
A small but complete Kubernetes application: web, database, storage, TLS and configuration done properly.
Starting point: you only need a Vultr account. This challenge is self-contained, so you can do it without having done any other.
Destroy the cluster and any load balancers or volumes it created when you are done so you are not billed for them.
Cluster created on VKE
Database data stored on a PersistentVolumeClaim
HTTPS Ingress with a valid certificate
Credentials in a Secret, not the image
Data survives deleting the database pod
Rolling update without errors
How to Provision a Vultr Kubernetes Engine Cluster
How to Install and Use Kubectl to Manage a VKE Cluster
How to Provision Persistent Volume Claims on Vultr Kubernetes Engine
How to Set up Nginx Ingress Controller with SSL on Kubernetes
How to Deploy cert-manager and Manage SSL Certificates in Kubernetes
How to Deploy an Application on Vultr Kubernetes Engine Cluster