From 2879377f15102b3eb1d1ca9e9b1779ae738d9e7f Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Mon, 11 Jan 2021 09:31:50 +0800 Subject: [PATCH] Fix examples in kustomization --- .../tasks/manage-kubernetes-objects/kustomization.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md b/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md index d655d39be9..c1722f694a 100644 --- a/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md +++ b/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md @@ -392,8 +392,8 @@ spec: containers: - name: my-nginx resources: - limits: - memory: 512Mi + limits: + memory: 512Mi EOF cat <./kustomization.yaml @@ -424,11 +424,12 @@ spec: spec: containers: - image: nginx - limits: - memory: 512Mi name: my-nginx ports: - containerPort: 80 + resources: + limits: + memory: 512Mi ``` Not all Resources or fields support strategic merge patches. To support modifying arbitrary fields in arbitrary Resources,