kubernetes/README.md
This is a set of sample Kubernetes configuration files to launch Habitica under AWS, both as a single-node web frontend as well as a multi-node web frontend.
kubectl.sh create -f mongo.yamlkubectl.sh create -f mongo-service.yamlkubectl.sh create -f habitica.yamlkubectl.sh create -f habitica-service.yamlkubectl.sh create -f habitica-rc.yamlkubectl.sh create -f habitica-service.yamlUsing kubectl describe svc habiticaweb get the hostname generated for the Habitica service. Open a browser and go to http://hostname:3000 to access the web front-end for the installations above.
Shutting down is basically done by reversing the steps above:
kubectl.sh delete -f habitica-service.yamlkubectl.sh delete -f habitica.yaml (or habitica-rc.yaml)kubectl.sh delete -f mongo-service.yamlkubectl.sh delete -f mongo.yamlYou can also just shut down all of Kubernetes as well.