Correcting the yaml file contents (#17915)

* Update scheduling-hugepages.md

Correcting the yaml file contents, verified the pod deployment

* Update content/en/docs/tasks/manage-hugepages/scheduling-hugepages.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
mantri425 2020-01-15 05:43:32 -05:00 committed by Kubernetes Prow Robot
parent 412e372af9
commit 42852ae505
1 changed files with 4 additions and 5 deletions

View File

@ -41,14 +41,14 @@ be requested as well.
apiVersion: v1
kind: Pod
metadata:
generateName: hugepages-volume-
name: huge-pages-example
spec:
containers:
- image: fedora:latest
- name: example
image: fedora:latest
command:
- sleep
- inf
name: example
volumeMounts:
- mountPath: /hugepages
name: hugepage
@ -57,7 +57,7 @@ spec:
hugepages-2Mi: 100Mi
memory: 100Mi
requests:
memory: 100Mi
memory: 100Mi
volumes:
- name: hugepage
emptyDir:
@ -84,4 +84,3 @@ token.
{{% /capture %}}