Adding a Service Template
Exposing the workload through a templated Service.
Why You Need a Service
Pods get new IPs constantly. A Service gives your workload one stable address so other things can reach it reliably.
A Second Template File
Add templates/service.yaml next to your deployment template. Helm renders every file in templates, so both ship together.
All lessons in this course
- A Minimal Deployment Template
- Parameterizing the Container Image
- Adding a Service Template
- Installing and Iterating Your Chart