Skip to content

Deploy PostgreSQL database with Adminer using Kubernetes.

Notifications You must be signed in to change notification settings

8igMac/k8s-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Deploy PostgreSQL database with Adminer using Kubernetes.

Resources

Stars

Watchers

Forks