Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 951 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 951 Bytes

k8s-demo

Following Nana's tutorial, Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours], and deployed a PostgreSQL database with an admin UI (Adminer) using k8s.

img

screenshot

Running the cluster locally

  • Setup Minikube
  • Setup secret.
$ kubectl apply -f postgres-secret.yml
  • Setup PostgreSQL database and an internal service.
$ kubectl apply -f postgres.yml
  • Setup config map for internal service matching.
$ kubectl apply -f postgres-configmap.yml
  • Setup Adminer and an external service.
$ kubectl apply -f adminer.yml
  • Minikube provide external IP address for Adminer.
$ minikube service adminer-service
  • Open your browser and access Adminer (username: username, password: password).