File tree 3 files changed +26
-15
lines changed
3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,6 @@ CMD sh -c "python3 manage.py migrate --noinput && \
54
54
python3 manage.py createinitialrevisions && \
55
55
python3 manage.py collectstatic --noinput && \
56
56
# python3 manage.py export --cleanup=1 --upload=1 && \
57
- python3 manage.py runserver 0.0.0.0:8000"
57
+ python3 manage.py runserver 0.0.0.0:8000"
58
+
59
+ USER 1001
Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ parameters:
14
14
required : true
15
15
- name : CPU_REQUEST
16
16
required : false
17
- value : 200m
17
+ value : 100m
18
18
- name : CPU_LIMIT
19
19
required : false
20
- value : 1000m
20
+ value : 500m
21
21
- name : MEMORY_REQUEST
22
22
required : false
23
- value : 1500Mi
23
+ value : 750Mi
24
24
- name : MEMORY_LIMIT
25
25
required : false
26
- value : 2Gi
26
+ value : 1Gi
27
27
- name : E_LICENSING_URL
28
28
required : true
29
29
- name : DB_REPLICATE
@@ -459,19 +459,19 @@ objects:
459
459
requests :
460
460
cpu : " ${CPU_REQUEST}"
461
461
memory : " ${MEMORY_REQUEST}"
462
- readinessProbe :
463
- httpGet :
464
- path : /health
465
- port : 8000
462
+ # readinessProbe:
463
+ # httpGet:
464
+ # path: /health
465
+ # port: 8000
466
466
# initialDelaySeconds: 20
467
467
# timeoutSeconds: 3
468
468
# periodSeconds: 5
469
469
# successThreshold: 1
470
470
# failureThreshold: 5
471
- livenessProbe :
472
- httpGet :
473
- path : /health
474
- port : 8000
471
+ # livenessProbe:
472
+ # httpGet:
473
+ # path: /health
474
+ # port: 8000
475
475
# initialDelaySeconds: 20
476
476
# timeoutSeconds: 3
477
477
# periodSeconds: 30
@@ -483,7 +483,9 @@ objects:
483
483
restartPolicy : Always
484
484
terminationGracePeriodSeconds : 30
485
485
dnsPolicy : ClusterFirst
486
- securityContext : {}
486
+ securityContext :
487
+ capabilities :
488
+ add : ["NET_BIND_SERVICE"]
487
489
schedulerName : default-scheduler
488
490
- apiVersion : autoscaling/v1
489
491
kind : HorizontalPodAutoscaler
Original file line number Diff line number Diff line change @@ -140,5 +140,12 @@ objects:
140
140
labels :
141
141
template : nr-gwells-backend-network-security-policy
142
142
spec :
143
+ podSelector : {}
144
+ ingress :
145
+ - from :
146
+ - namespaceSelector :
147
+ matchLabels :
148
+ environment : dev
149
+ name : cd43d9
143
150
policyTypes :
144
- - Ingress
151
+ - Ingress
You can’t perform that action at this time.
0 commit comments