From 8f1b4c2e1041206b9da0d560b94e711cb24d6b97 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Thu, 29 Oct 2015 13:17:29 -0700 Subject: [PATCH] Remove red rectangles in quoted region in gh-pages --- docs/user-guide/compute-resources.md | 12 ++++++------ docs/user-guide/production-pods.md | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/user-guide/compute-resources.md b/docs/user-guide/compute-resources.md index c7c2a9e2dac..86bacfa78f8 100644 --- a/docs/user-guide/compute-resources.md +++ b/docs/user-guide/compute-resources.md @@ -96,9 +96,9 @@ spec: - name: db image: mysql resources: - requests: - memory: "64Mi" - cpu: "250m" + requests: + memory: "64Mi" + cpu: "250m" limits: memory: "128Mi" cpu: "500m" @@ -106,9 +106,9 @@ spec: image: wordpress resources: requests: - memory: "64Mi" - cpu: "250m" - limits: + memory: "64Mi" + cpu: "250m" + limits: memory: "128Mi" cpu: "500m" ``` diff --git a/docs/user-guide/production-pods.md b/docs/user-guide/production-pods.md index 7db00a4ca6a..666ef8f1928 100644 --- a/docs/user-guide/production-pods.md +++ b/docs/user-guide/production-pods.md @@ -272,11 +272,11 @@ spec: cpu: 500m # memory units are bytes memory: 64Mi - requests: - # cpu units are cores - cpu: 500m - # memory units are bytes - memory: 64Mi + requests: + # cpu units are cores + cpu: 500m + # memory units are bytes + memory: 64Mi ``` The container will die due to OOM (out of memory) if it exceeds its specified limit, so specifying a value a little higher than expected generally improves reliability. By specifying request, pod is guaranteed to be able to use that much of resource when needed. See [Resource QoS](../proposals/resource-qos.md) for the difference between resource limits and requests.