-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
101 lines (88 loc) · 1.93 KB
/
Copy pathvalues.yaml
File metadata and controls
101 lines (88 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
namespace: puljam
# replicaCount: 2
replicaCount: 1
##
# topology.kubernetes.io/zone 설정 필요
##
imagePullSecrets:
- name: regsecret
image:
repository: ghcr.io/puljam-project/puljam_backend
pullPolicy: Always
tag: "latest"
platform: "linux/amd64"
serviceAccount:
create: true
automount: true
annotations: {}
name: ""
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1001
allowPrivilegeEscalation: false
privileged: false
ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/backend-protocol: HTTP
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/rewrite-target: /
hosts:
- host: puljam-api.mya.ong
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- puljam-api.mya.ong
secretName: puljam-api-tls
livenessProbe:
httpGet:
path: /
port: 10002
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
service:
type: ClusterIP
port: 10002
targetPort: 10002
resources:
limits:
cpu: 500m
memory: 1024Mi
requests:
cpu: 200m
memory: 512Mi
autoscaling:
enabled: true
# minReplicas: 2
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
# affinity:
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - puljam-devops
# topologyKey: topology.kubernetes.io/zone
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfied: ScheduleAnyway
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: puljam-devops