Basic Usage
Overview
This guide covers the basic usage of Prime EDM Helm charts for deploying and managing microservices.
Chart Structure
prime-edm/
├── Chart.yaml
├── values.yaml
├── templates/
│ ├── deployment.yaml
│ ├── service.yaml
│ ├── ingress.yaml
│ └── configmap.yaml
└── charts/
└── dependencies
Common Operations
Checking Chart Values
View available configuration options:
bash
helm show values prime-edm/prime-edm
Validating Configuration
Test your configuration before deploying:
bash
helm template prime-edm prime-edm/prime-edm -f values.yaml
Debugging
Enable debug output during installation:
bash
helm install prime-edm prime-edm/prime-edm -f values.yaml --debug
Configuration Examples
Basic Configuration
yaml
replicaCount: 2
image:
repository: prime-edm/service
tag: latest
service:
type: ClusterIP
port: 8080
Resource Limits
yaml
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 500m
memory: 512Mi
Environment Variables
yaml
env:
- name: DATABASE_URL
value: "postgresql://localhost:5432/db"
- name: API_KEY
valueFrom:
secretKeyRef:
name: api-secret
key: api-key