Skip to content

zspiler/msi3

Repository files navigation

msi3

How to run

docker build -t localhost:32000/web:v1 . 
docker push localhost:32000/web:v1
  
k apply -f app-deployment.yaml
k apply -f app-service.yaml
k apply -f db-deployment.yaml
k apply -f db-service.yaml
k apply -f cache-deployment.yaml
k apply -f cache-service.yaml
k apply -f pv.yaml
k apply -f pvc.yaml
k apply -f ingress.yaml

curl app.127.0.0.1.xip.io/about 

readiness/liveness probes

For the liveness probe I simply added a new route which returns some text. For the readiness probe I test the database connection.

Rolling update

alt text alt text

Blue/green

alt text alt text

About

k8s homework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors