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
@@ -41,14 +41,14 @@ be requested as well.
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
generateName: hugepages-volume- name: huge-pages-example
spec: spec:
containers: containers:
- image: fedora:latest - name: example
image: fedora:latest
command: command:
- sleep - sleep
- inf - inf
name: example
volumeMounts: volumeMounts:
- mountPath: /hugepages - mountPath: /hugepages
name: hugepage name: hugepage
@@ -84,4 +84,3 @@ token.
{{% /capture %}} {{% /capture %}}