therafk/apache2

By therafk

Updated 4 months ago

Created for testing Blue/Green on k8s.

Image
Web Servers
Developer Tools

53

Created for testing Blue/Green on k8s.

docker run -it --rm -p 8080:80 therafk/apache2:b
kubectl run curl --image=alpine/curl:8.2.1 -n kube-system -i --tty --rm -- sh
while true; do curl -s myapp.default:8080 | grep -e "--"; sleep 1; done
<h1>-- BLUE | .....</h1>
<h1>-- BLUE | .....</h1>
<h1>-- .... | GREEN</h1>
<h1>-- .... | GREEN</h1>

Docker Pull Command

docker pull therafk/apache2