This is a simple Rails app for learning Kubernetes.
- Kubernetes
- NGINX
- Puma
- Rails
- Postgres
- Redis
- Sidekiq
No K8s (yet?). It's a simple docker-comopose.
./ops/build_container.sh
Update the corresponding ops/k8s/file.yml
to the new image and run
kubectl apply -f ops/k8s/file.yml
I am using ansible-vault to store the secrets.
pip install -r requirements.txt
ansible-vault edit ops/k8s/secrets.yml
- Set up cron job to delete very old post (to keep DB small)
- Not use ansible-vault to store K8s secret. Use something like HashiCorp Vault
- Run PostgreSQL on K8s (learning purpose)
- Add GitHub repo link to the website