Deployment test of ttrss using k3s.io. The goal is to use as many kubernetes resources as possible to run this traditional php application. It automatically polls the git repository for updates and updates the application once per night. The feed updater is executed every 5 minutes.
- Database (postgres)
- Kubernetes cluster (e.g. k3s.io)
- Some time to play around with kubernetes
- Create a new namespace for ttrss
kubectl apply -f k8s/namespace.yml
- Duplicate the sample configuration to a safe location so your credentials do not end up on github.
cp sample-config ../
- Create a database schema and user (currently only postgres supported by the docker image). Configure the username and password in
secrets/db-credentials.env
- Update the rest of the configuration variables in
configmap/app-config.env
- Deploy application
user@localhost ~/sample-config
kubectl apply -k .