File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 volumeMounts :
5959 - name : content
6060 mountPath : /tmp/git
61- resources :
62- requests :
63- memory : " 32Mi"
64- cpu : " 50m"
65- limits :
66- memory : " 64Mi"
67- cpu : " 100m"
6861 containers :
6962 - name : nginx
70- image : nginx:1.27
63+ image : nginx:stable-alpine
7164 ports :
7265 - containerPort : 80
7366 volumeMounts :
@@ -82,11 +75,11 @@ spec:
8275 allowPrivilegeEscalation : false
8376 resources :
8477 requests :
85- memory : " 64Mi "
86- cpu : " 50m "
78+ memory : " 256Mi "
79+ cpu : " 500m "
8780 limits :
88- memory : " 128Mi "
89- cpu : " 200m "
81+ memory : " 512Mi "
82+ cpu : " 1000m "
9083 - name : hugo
9184 image : ghcr.io/consol-monitoring/ocd:0.150.0-1
9285 args :
@@ -110,11 +103,11 @@ spec:
110103 subPath : dotgitconfig
111104 resources :
112105 requests :
113- memory : " 64Mi "
106+ memory : " 512Mi "
114107 cpu : " 100m"
115108 limits :
116- memory : " 128Mi "
117- cpu : " 250m "
109+ memory : " 2048Mi "
110+ cpu : " 1000m "
118111 - name : git-sync
119112 image : k8s.gcr.io/git-sync/git-sync:v4.5.0
120113 args :
@@ -130,11 +123,11 @@ spec:
130123 mountPath : /tmp/git
131124 resources :
132125 requests :
133- memory : " 16Mi"
134- cpu : " 10m"
135- limits :
136126 memory : " 32Mi"
137127 cpu : " 50m"
128+ limits :
129+ memory : " 64Mi"
130+ cpu : " 100m"
138131 - name : logger
139132 image : busybox:1.36
140133 args : [/bin/sh, -c, 'tail -n+1 -F /var/log/nginx/access.log']
@@ -164,13 +157,17 @@ spec:
164157# - --real-time-html
165158 image : allinurl/goaccess:1.9.4
166159 imagePullPolicy : Always
160+ securityContext :
161+ runAsUser : 0 # Override pod-level securityContext
162+ runAsGroup : 0
163+ allowPrivilegeEscalation : false
167164 resources :
168165 requests :
169166 cpu : 50m
170- memory : 32Mi
167+ memory : 128Mi
171168 limits :
172169 cpu : 100m
173- memory : 64Mi
170+ memory : 256Mi
174171 terminationMessagePath : /dev/termination-log
175172 terminationMessagePolicy : File
176173 volumeMounts :
@@ -218,8 +215,9 @@ spec:
218215 name : goaccess-config
219216 defaultMode : 0644
220217 - name : nginx-logs
221- persistentVolumeClaim :
222- claimName : nginx-logs-pvc
218+ emptyDir : {}
219+ # persistentVolumeClaim:
220+ # claimName: nginx-logs-pvc
223221 - name : goaccess-db
224222 persistentVolumeClaim :
225223 claimName : goaccess-db-pvc
@@ -228,4 +226,4 @@ spec:
228226 securityContext :
229227 runAsUser : 1000
230228 runAsGroup : 3000
231- fsGroup : 2000
229+ fsGroup : 2000
You can’t perform that action at this time.
0 commit comments