Skip to content

Commit 6f0ac87

Browse files
authored
Merge pull request #26040 from tengqm/fix-kustomization
Fix examples in kustomization
2 parents c15e567 + 2879377 commit 6f0ac87

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)