Skip to content

Commit 368bd71

Browse files
committed
feat(helm): add app chart with values for production deployment
1 parent e13bdf1 commit 368bd71

1 file changed

Lines changed: 83 additions & 0 deletions

File tree

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
replicaCount: 3
2+
3+
image:
4+
repository: your-registry/app
5+
pullPolicy: IfNotPresent
6+
tag: "latest"
7+
8+
imagePullSecrets: []
9+
nameOverride: ""
10+
fullnameOverride: ""
11+
12+
serviceAccount:
13+
create: true
14+
annotations: {}
15+
name: ""
16+
17+
podAnnotations:
18+
prometheus.io/scrape: "true"
19+
prometheus.io/port: "8080"
20+
21+
podSecurityContext:
22+
runAsNonRoot: true
23+
runAsUser: 1000
24+
fsGroup: 1000
25+
26+
securityContext:
27+
allowPrivilegeEscalation: false
28+
capabilities:
29+
drop:
30+
- ALL
31+
readOnlyRootFilesystem: true
32+
33+
service:
34+
type: ClusterIP
35+
port: 80
36+
targetPort: 8080
37+
38+
ingress:
39+
enabled: true
40+
className: "nginx"
41+
annotations:
42+
cert-manager.io/cluster-issuer: "letsencrypt-prod"
43+
hosts:
44+
- host: "app.example.com"
45+
paths:
46+
- path: /
47+
pathType: Prefix
48+
tls:
49+
- secretName: app-tls
50+
hosts:
51+
- "app.example.com"
52+
53+
resources:
54+
limits:
55+
cpu: 500m
56+
memory: 512Mi
57+
requests:
58+
cpu: 100m
59+
memory: 128Mi
60+
61+
autoscaling:
62+
enabled: true
63+
minReplicas: 3
64+
maxReplicas: 10
65+
targetCPUUtilizationPercentage: 80
66+
targetMemoryUtilizationPercentage: 80
67+
68+
nodeSelector: {}
69+
70+
tolerations: []
71+
72+
affinity:
73+
podAntiAffinity:
74+
preferredDuringSchedulingIgnoredDuringExecution:
75+
- weight: 100
76+
podAffinityTerm:
77+
labelSelector:
78+
matchExpressions:
79+
- key: app
80+
operator: In
81+
values:
82+
- app
83+
topologyKey: kubernetes.io/hostname

0 commit comments

Comments
 (0)