Skip to content

Commit 2879377

Browse files
committed
Fix examples in kustomization
1 parent 01c70fd commit 2879377

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/en/docs/tasks/manage-kubernetes-objects/kustomization.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ spec:
392392
containers:
393393
- name: my-nginx
394394
resources:
395-
limits:
396-
memory: 512Mi
395+
limits:
396+
memory: 512Mi
397397
EOF
398398
399399
cat <<EOF >./kustomization.yaml
@@ -424,11 +424,12 @@ spec:
424424
spec:
425425
containers:
426426
- image: nginx
427-
limits:
428-
memory: 512Mi
429427
name: my-nginx
430428
ports:
431429
- containerPort: 80
430+
resources:
431+
limits:
432+
memory: 512Mi
432433
```
433434

434435
Not all Resources or fields support strategic merge patches. To support modifying arbitrary fields in arbitrary Resources,

0 commit comments

Comments
 (0)