Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 610 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 610 Bytes

Welcome to the Kris Nova Stateful Application!

Deploying the application:

kubectl create -f manifests/

Delete the application

kubectl delete -f manifests

Update docker registry with a new build

make container push

Get the public address

k get svc -owide | grep statefulapp-service | cut -d " " -f 16

Create database in server

k exec -it $(k get po | grep postgres | cut -d " " -f 1) -- bash -c "psql -c 'CREATE DATABASE stateful_app_development;' -U postgres"