The k8s files for PokéClicker
To deploy these applications onto a k8s cluster, you first have to create the namespace:
kubectl create -f ./pokeclicker/namespace.yamlThe next is to create the necessary secrets. Place each of them in a file without a file extension in the root of directory and name them accordingly to the following command and execute it:
kubectl -n=pokeclicker create secret generic backend --from-file ./db_username --from-file ./db_password --from-file ./db_root_password --from-file ./sentry_dsnFinally, deploy the actual applications:
kubectl create -R -f ./pokeclicker/applications/You can check if the deployment succeeded with a look over the deployed pods:
kubectl get pods