From b1cb9a97df3fb9fec07dd4fffcdfc25ea787b9d0 Mon Sep 17 00:00:00 2001 From: makocchi Date: Fri, 24 Aug 2018 03:30:55 +0900 Subject: [PATCH] replace tabs with spaces (#10060) --- .../docs/concepts/policy/resource-quotas.md | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/content/en/docs/concepts/policy/resource-quotas.md b/content/en/docs/concepts/policy/resource-quotas.md index f5db74abf98..e4ad1274b03 100644 --- a/content/en/docs/concepts/policy/resource-quotas.md +++ b/content/en/docs/concepts/policy/resource-quotas.md @@ -231,8 +231,8 @@ items: scopeSelector: matchExpressions: - operator : In - scopeName: PriorityClass - values: ["high"] + scopeName: PriorityClass + values: ["high"] - apiVersion: v1 kind: ResourceQuota metadata: @@ -245,8 +245,8 @@ items: scopeSelector: matchExpressions: - operator : In - scopeName: PriorityClass - values: ["medium"] + scopeName: PriorityClass + values: ["medium"] - apiVersion: v1 kind: ResourceQuota metadata: @@ -259,15 +259,17 @@ items: scopeSelector: matchExpressions: - operator : In - scopeName: PriorityClass - values: ["low"] + scopeName: PriorityClass + values: ["low"] ``` Apply the YAML using `kubectl create`. ```shell kubectl create -f ./quota.yml +``` +```shell resourcequota/pods-high created resourcequota/pods-medium created resourcequota/pods-low created @@ -277,7 +279,9 @@ Verify that `Used` quota is `0` using `kubectl describe quota`. ```shell kubectl describe quota +``` +```shell Name: pods-high Namespace: default Resource Used Hard @@ -321,11 +325,11 @@ spec: args: ["-c", "while true; do echo hello; sleep 10;done"] resources: requests: - memory: "10Gi" - cpu: "500m" + memory: "10Gi" + cpu: "500m" limits: - memory: "10Gi" - cpu: "500m" + memory: "10Gi" + cpu: "500m" priorityClassName: high ``` @@ -340,7 +344,9 @@ the other two quotas are unchanged. ```shell kubectl describe quota +``` +```shell Name: pods-high Namespace: default Resource Used Hard