File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ WORKDIR /app
55COPY requirements.txt .
66RUN pip install --no-cache-dir -r requirements.txt
77
8- COPY service_monitor .py .
9- RUN chmod +x service_monitor .py
8+ COPY service_monitor_v2 .py .
9+ RUN chmod +x service_monitor_v2 .py
1010
11- CMD ["./service_monitor .py" ]
11+ CMD ["./service_monitor_v2 .py" ]
Original file line number Diff line number Diff line change 3333 limits :
3434 cpu : " 200m"
3535 memory : " 256Mi"
36+ livenessProbe :
37+ exec :
38+ command :
39+ - cat
40+ - /tmp/healthy
41+ initialDelaySeconds : 30
42+ periodSeconds : 30
43+ failureThreshold : 3
3644 securityContext :
3745 allowPrivilegeEscalation : false
3846 runAsNonRoot : true
3947 runAsUser : 1000
4048 readOnlyRootFilesystem : true
49+ volumeMounts :
50+ - name : tmp
51+ mountPath : /tmp
52+ volumes :
53+ - name : tmp
54+ emptyDir : {}
You can’t perform that action at this time.
0 commit comments