keep content and file name to be consistent (#16532)

This commit is contained in:
diguage
2019-09-24 15:49:26 +08:00
committed by Kubernetes Prow Robot
parent 18ef591c79
commit 5807a91689
2 changed files with 3 additions and 3 deletions
@@ -167,7 +167,7 @@ request that is too small:
``` ```
Error from server (Forbidden): error when creating "examples/admin/resource/cpu-constraints-pod-3.yaml": Error from server (Forbidden): error when creating "examples/admin/resource/cpu-constraints-pod-3.yaml":
pods "constraints-cpu-demo-4" is forbidden: minimum cpu usage per Container is 200m, but request is 100m. pods "constraints-cpu-demo-3" is forbidden: minimum cpu usage per Container is 200m, but request is 100m.
``` ```
## Create a Pod that does not specify any CPU request or limit ## Create a Pod that does not specify any CPU request or limit
@@ -1,10 +1,10 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: constraints-cpu-demo-4 name: constraints-cpu-demo-3
spec: spec:
containers: containers:
- name: constraints-cpu-demo-4-ctr - name: constraints-cpu-demo-3-ctr
image: nginx image: nginx
resources: resources:
limits: limits: