Steps to create a postgres database and deply a Python app to Heroku
pipenv install gunicorn
or
pip install gunicorn
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: web-app-pod-1 | |
| namespace: web-app-1 | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: web-app-pod-1 |
| # 1. ClusterIssuer for internal CA | |
| apiVersion: cert-manager.io/v1 | |
| kind: ClusterIssuer | |
| metadata: | |
| name: internal-ca-issuer | |
| spec: | |
| ca: | |
| secretName: internal-ca-secret | |
| --- |