feat(k8s): add Kubernetes Helm chart for emailks service
- Create Helm chart structure with Chart.yaml and values.yaml - Add deployment template with container configuration and environment variables - Implement service template for gRPC port exposure - Add service account template with security configuration - Include horizontal pod autoscaler template for scaling capabilities - Add helper templates for naming and label management - Configure SMTP settings as configurable parameters in values.yaml - Set up resource limits and requests for container performance - Implement liveness and readiness probes for health checks - Add support for existing secrets and custom configurations
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: emailks
|
||||
pullPolicy: IfNotPresent
|
||||
tag: ""
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
annotations: {}
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
securityContext: {}
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 50051
|
||||
targetPort: 50051
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 64Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 5
|
||||
targetCPUUtilizationPercentage: 80
|
||||
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
smtp:
|
||||
host: smtp.example.com
|
||||
port: 587
|
||||
tls: starttls
|
||||
username: ""
|
||||
password: ""
|
||||
fromEmail: noreply@example.com
|
||||
fromName: EmailKS
|
||||
replyTo: ""
|
||||
timeoutSecs: 30
|
||||
heloName: ""
|
||||
allowRequestFrom: false
|
||||
|
||||
queue:
|
||||
capacity: 1000
|
||||
|
||||
listenAddr: "0.0.0.0:50051"
|
||||
|
||||
logLevel: info
|
||||
|
||||
existingSecret:
|
||||
name: ""
|
||||
passwordKey: "password"
|
||||
Reference in New Issue
Block a user