Kubernetes Primer (5 Part Series)
Liveness probes to manage pod lifecycle. Readiness probe is used to determine whether pod is ready to accept the traffic or not and liveness probe is used to determine whether pod is functioning properly or not. Read more about them here. In this blog I am adding readiness & liveness probe to PHPMyAdmin application.
Follow Deploy phpMyAdmin application on kubernetes blog
kubectl delete deployment phpmyadmin
kubectl create -f phpmyadmin-deployment.yaml
kubectl get pods --watch
Exit once pod goes into running state
Go to browser and browse http://IP_ADDRESS:30030. Login with
root user &
here IP_ADDRESS is the ip address of virtual machine where kubernetes is running.