A Minimal Deployment Template
Turning a static manifest into a chart template.
From Static Manifest to Template
A chart is just a folder of templates. Each template is a Kubernetes manifest with placeholders Helm fills in at install time.
Start With a Plain Deployment
Before adding any magic, write the manifest you already know. Here is a hard-coded Deployment running one nginx pod.
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
spec:
replicas: 1
selector:
matchLabels:
app: my-appAll lessons in this course
- A Minimal Deployment Template
- Parameterizing the Container Image
- Adding a Service Template
- Installing and Iterating Your Chart