Use rust static-web-server instead of nginx
This commit is contained in:
@@ -7,6 +7,7 @@ metadata:
|
||||
app: dsm-client
|
||||
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dsm-client
|
||||
@@ -17,33 +18,32 @@ spec:
|
||||
app: dsm-client
|
||||
|
||||
spec:
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
runAsNonRoot: true
|
||||
|
||||
containers:
|
||||
- name: dsm-client
|
||||
image: IMAGE
|
||||
resources:
|
||||
limits:
|
||||
memory: 32Mi
|
||||
cpu: 500m
|
||||
requests:
|
||||
memory: 32Mi
|
||||
cpu: 5m
|
||||
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
containerPort: 8080
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 32Mi
|
||||
requests:
|
||||
cpu: 5m
|
||||
memory: 32Mi
|
||||
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: http
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: http
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user