Skip to content

Basic Examples

Simple Deployment

Basic deployment with minimal configuration:

yaml
# values.yaml
replicaCount: 1
image:
  repository: prime-edm/basic-service
  tag: latest
service:
  type: ClusterIP
  port: 8080

Deploy using:

bash
helm install basic-example prime-edm/prime-edm -f values.yaml

Web Service with Ingress

Deploying a web service with ingress:

yaml
# values.yaml
ingress:
  enabled: true
  hosts:
    - host: example.local
      paths:
        - path: /
          pathType: Prefix

Stateful Application

Configuration for a stateful application:

yaml
# values.yaml
persistence:
  enabled: true
  size: 10Gi
  
statefulset:
  enabled: true
  serviceName: stateful-service

Resource Configuration

Example with resource limits:

yaml
# values.yaml
resources:
  limits:
    cpu: 500m
    memory: 512Mi
  requests:
    cpu: 250m
    memory: 256Mi

Released under the MIT License.