✅ 1. Package Your Helm Chart
Navigate to your chart directory and run:
bash
CopyEdit
cd helm-microservices/charts/microservice
# Package the chart into a .tgz file
helm package .
This will output a file like:
microservice-0.1.0.tgz
✅ 2. (Optional) Push to Helm Repository
If you're using a Helm repository (e.g., Amazon S3, GitHub Pages, or ChartMuseum), you can push it:
Option A: Upload to S3 (example)
aws s3 cp microservice-0.1.0.tgz s3://my-helm-repo/
✅ 4. Install Helm Chart into Prod EKS
Now you can install your packaged chart to the production cluster:
helm install service-a ~/helm-repo/microservice-0.1.0.tgz -f values/service-a.yaml
helm install service-b ~/helm-repo/microservice-0.1.0.tgz -f values/service-b.yaml
helm install service-c ~/helm-repo/microservice-0.1.0.tgz -f values/service-c.yaml
No comments:
Post a Comment