Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdfbddd6

Browse files
committed
helm: set default requests/limits
1 parent17f8e93 commitdfbddd6

File tree

43 files changed

+302
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+302
-51
lines changed

‎helm/coder/tests/testdata/auto_access_url_1.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,13 @@ spec:
181181
path: /healthz
182182
port: http
183183
scheme: HTTP
184-
resources: {}
184+
resources:
185+
limits:
186+
cpu: 2000m
187+
memory: 4096Mi
188+
requests:
189+
cpu: 2000m
190+
memory: 4096Mi
185191
securityContext:
186192
allowPrivilegeEscalation: false
187193
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/auto_access_url_1_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,13 @@ spec:
181181
path: /healthz
182182
port: http
183183
scheme: HTTP
184-
resources: {}
184+
resources:
185+
limits:
186+
cpu: 2000m
187+
memory: 4096Mi
188+
requests:
189+
cpu: 2000m
190+
memory: 4096Mi
185191
securityContext:
186192
allowPrivilegeEscalation: false
187193
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/auto_access_url_2.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,13 @@ spec:
181181
path: /healthz
182182
port: http
183183
scheme: HTTP
184-
resources: {}
184+
resources:
185+
limits:
186+
cpu: 2000m
187+
memory: 4096Mi
188+
requests:
189+
cpu: 2000m
190+
memory: 4096Mi
185191
securityContext:
186192
allowPrivilegeEscalation: false
187193
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/auto_access_url_2_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,13 @@ spec:
181181
path: /healthz
182182
port: http
183183
scheme: HTTP
184-
resources: {}
184+
resources:
185+
limits:
186+
cpu: 2000m
187+
memory: 4096Mi
188+
requests:
189+
cpu: 2000m
190+
memory: 4096Mi
185191
securityContext:
186192
allowPrivilegeEscalation: false
187193
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/auto_access_url_3.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/auto_access_url_3_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/command.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/command_args.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ spec:
180180
path: /healthz
181181
port: http
182182
scheme: HTTP
183-
resources: {}
183+
resources:
184+
limits:
185+
cpu: 2000m
186+
memory: 4096Mi
187+
requests:
188+
cpu: 2000m
189+
memory: 4096Mi
184190
securityContext:
185191
allowPrivilegeEscalation: false
186192
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/command_args_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ spec:
180180
path: /healthz
181181
port: http
182182
scheme: HTTP
183-
resources: {}
183+
resources:
184+
limits:
185+
cpu: 2000m
186+
memory: 4096Mi
187+
requests:
188+
cpu: 2000m
189+
memory: 4096Mi
184190
securityContext:
185191
allowPrivilegeEscalation: false
186192
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/command_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/default_values.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/default_values_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ spec:
179179
path: /healthz
180180
port: http
181181
scheme: HTTP
182-
resources: {}
182+
resources:
183+
limits:
184+
cpu: 2000m
185+
memory: 4096Mi
186+
requests:
187+
cpu: 2000m
188+
memory: 4096Mi
183189
securityContext:
184190
allowPrivilegeEscalation: false
185191
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/env_from.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,13 @@ spec:
191191
path: /healthz
192192
port: http
193193
scheme: HTTP
194-
resources: {}
194+
resources:
195+
limits:
196+
cpu: 2000m
197+
memory: 4096Mi
198+
requests:
199+
cpu: 2000m
200+
memory: 4096Mi
195201
securityContext:
196202
allowPrivilegeEscalation: false
197203
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/env_from_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,13 @@ spec:
191191
path: /healthz
192192
port: http
193193
scheme: HTTP
194-
resources: {}
194+
resources:
195+
limits:
196+
cpu: 2000m
197+
memory: 4096Mi
198+
requests:
199+
cpu: 2000m
200+
memory: 4096Mi
195201
securityContext:
196202
allowPrivilegeEscalation: false
197203
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/extra_templates.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,13 @@ spec:
188188
path: /healthz
189189
port: http
190190
scheme: HTTP
191-
resources: {}
191+
resources:
192+
limits:
193+
cpu: 2000m
194+
memory: 4096Mi
195+
requests:
196+
cpu: 2000m
197+
memory: 4096Mi
192198
securityContext:
193199
allowPrivilegeEscalation: false
194200
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/extra_templates_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,13 @@ spec:
188188
path: /healthz
189189
port: http
190190
scheme: HTTP
191-
resources: {}
191+
resources:
192+
limits:
193+
cpu: 2000m
194+
memory: 4096Mi
195+
requests:
196+
cpu: 2000m
197+
memory: 4096Mi
192198
securityContext:
193199
allowPrivilegeEscalation: false
194200
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/labels_annotations.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,13 @@ spec:
187187
path: /healthz
188188
port: http
189189
scheme: HTTP
190-
resources: {}
190+
resources:
191+
limits:
192+
cpu: 2000m
193+
memory: 4096Mi
194+
requests:
195+
cpu: 2000m
196+
memory: 4096Mi
191197
securityContext:
192198
allowPrivilegeEscalation: false
193199
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/labels_annotations_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,13 @@ spec:
187187
path: /healthz
188188
port: http
189189
scheme: HTTP
190-
resources: {}
190+
resources:
191+
limits:
192+
cpu: 2000m
193+
memory: 4096Mi
194+
requests:
195+
cpu: 2000m
196+
memory: 4096Mi
191197
securityContext:
192198
allowPrivilegeEscalation: false
193199
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/prometheus.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ spec:
183183
path: /healthz
184184
port: http
185185
scheme: HTTP
186-
resources: {}
186+
resources:
187+
limits:
188+
cpu: 2000m
189+
memory: 4096Mi
190+
requests:
191+
cpu: 2000m
192+
memory: 4096Mi
187193
securityContext:
188194
allowPrivilegeEscalation: false
189195
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/prometheus_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ spec:
183183
path: /healthz
184184
port: http
185185
scheme: HTTP
186-
resources: {}
186+
resources:
187+
limits:
188+
cpu: 2000m
189+
memory: 4096Mi
190+
requests:
191+
cpu: 2000m
192+
memory: 4096Mi
187193
securityContext:
188194
allowPrivilegeEscalation: false
189195
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/provisionerd_psk.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,13 @@ spec:
184184
path: /healthz
185185
port: http
186186
scheme: HTTP
187-
resources: {}
187+
resources:
188+
limits:
189+
cpu: 2000m
190+
memory: 4096Mi
191+
requests:
192+
cpu: 2000m
193+
memory: 4096Mi
188194
securityContext:
189195
allowPrivilegeEscalation: false
190196
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/provisionerd_psk_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,13 @@ spec:
184184
path: /healthz
185185
port: http
186186
scheme: HTTP
187-
resources: {}
187+
resources:
188+
limits:
189+
cpu: 2000m
190+
memory: 4096Mi
191+
requests:
192+
cpu: 2000m
193+
memory: 4096Mi
188194
securityContext:
189195
allowPrivilegeEscalation: false
190196
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/sa.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ spec:
180180
path: /healthz
181181
port: http
182182
scheme: HTTP
183-
resources: {}
183+
resources:
184+
limits:
185+
cpu: 2000m
186+
memory: 4096Mi
187+
requests:
188+
cpu: 2000m
189+
memory: 4096Mi
184190
securityContext:
185191
allowPrivilegeEscalation: false
186192
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/sa_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ spec:
180180
path: /healthz
181181
port: http
182182
scheme: HTTP
183-
resources: {}
183+
resources:
184+
limits:
185+
cpu: 2000m
186+
memory: 4096Mi
187+
requests:
188+
cpu: 2000m
189+
memory: 4096Mi
184190
securityContext:
185191
allowPrivilegeEscalation: false
186192
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/sa_disabled.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,13 @@ spec:
165165
path: /healthz
166166
port: http
167167
scheme: HTTP
168-
resources: {}
168+
resources:
169+
limits:
170+
cpu: 2000m
171+
memory: 4096Mi
172+
requests:
173+
cpu: 2000m
174+
memory: 4096Mi
169175
securityContext:
170176
allowPrivilegeEscalation: false
171177
readOnlyRootFilesystem: null

‎helm/coder/tests/testdata/sa_disabled_coder.golden

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,13 @@ spec:
165165
path: /healthz
166166
port: http
167167
scheme: HTTP
168-
resources: {}
168+
resources:
169+
limits:
170+
cpu: 2000m
171+
memory: 4096Mi
172+
requests:
173+
cpu: 2000m
174+
memory: 4096Mi
169175
securityContext:
170176
allowPrivilegeEscalation: false
171177
readOnlyRootFilesystem: null

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp