Helm Chart Deployment
This guide explains how to deploy the Image Resize Service to Kubernetes using the provided Helm chart.
Prerequisites
- Kubernetes cluster
- Helm 3 installed
Chart Location
The Helm chart is located in the helm/emgr/
directory in the repository.
Configuration
You can customize the deployment by modifying the helm/emgr/values.yaml
file.
Key configuration options:
replicaCount
: Number of replicasimage.repository
: Docker image repositoryimage.pullPolicy
: Image pull policyimage.tag
: Image tagservice.type
: Service type (ClusterIP, NodePort, LoadBalancer)service.port
: Service portingress.enabled
: Enable Ingressingress.className
: Ingress class nameingress.hosts
: Ingress hostsingress.tls
: Ingress TLS configurationresources
: CPU/memory resource requests and limitsautoscaling.enabled
: Enable Horizontal Pod Autoscalerautoscaling.minReplicas
: Minimum replicas for HPAautoscaling.maxReplicas
: Maximum replicas for HPAautoscaling.targetCPUUtilizationPercentage
: Target CPU utilizationautoscaling.targetMemoryUtilizationPercentage
: Target memory utilizationenvVars
: Environment variables for the application (see Configuration)
Deployment Steps
1. Add Helm Repository (if applicable)
If the chart is hosted in a Helm repository, add it first:
2. Install the Chart
Navigate to the chart directory or use the repository:
# From local directory
helm install image-resizer ./helm/emgr --namespace image-resizer --create-namespace
# Or from Helm repository
helm install image-resizer <repo-name>/emgr --namespace image-resizer --create-namespace
3. Verify the Deployment
Upgrading the Deployment
Uninstalling the Deployment
GitHub Pages Deployment
The documentation itself can be deployed to GitHub Pages. This is typically handled by a GitHub Actions workflow. See GitHub Actions Workflow for more details.