Genero is a best practices Helm chart for greatly simplifying Kubernetes deployments.
Genero was designed to deploy applications from a CI/CD pipeline.
It is also helpful for easily deploying applications that don't have an official Helm chart.
- Kubernetes 1.16+
- Helm 3+
helm repo add polymatic https://polymatic-systems.github.io/helm-charts
helm repo update
For a full explanation on both using Genero for pipelines and standalone deployments, read the blog here:
https://blog.polymatic.systems/genero-3f788f2167a7
A simple Genero values file looks like this (what a dev would store in their app repo):
variables:
- name: env
data:
ENV: "production"
TOKEN: "xyz123"
containers:
- name: app
ports:
- containerPort: 3000
cpu:
request: 100m
limit: 1000m
memory:
request: 256Mi
limit: 1Gi
ingress:
- name: app
urls:
- app.test.site
hpa:
min: 3
max: 10
cpu: 70
Genero assumes that cert-manager
is installed if you are provisioning ingresses. If you don't have cert-manager
installed, you need to specify the tls secret when adding an ingress. There is no option to enable http, the ingress must be https.