From 16299ec867538411a24b9f8326024a97fcc1704d Mon Sep 17 00:00:00 2001 From: Robbie Zhang Date: Tue, 24 Apr 2018 09:40:10 -0700 Subject: [PATCH] Update the resources field in the exmaples (#155) --- examples/iis-pod.yaml | 3 +++ examples/nanoserver.yaml | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/iis-pod.yaml b/examples/iis-pod.yaml index c5d55a253..c18494f54 100644 --- a/examples/iis-pod.yaml +++ b/examples/iis-pod.yaml @@ -11,6 +11,9 @@ spec: requests: memory: 3.5G cpu: 2 + limits: + memory: 3.5G + cpu: 2 ports: - containerPort: 80 name: http diff --git a/examples/nanoserver.yaml b/examples/nanoserver.yaml index 2b71a93d8..424ca3534 100644 --- a/examples/nanoserver.yaml +++ b/examples/nanoserver.yaml @@ -8,10 +8,6 @@ spec: imagePullPolicy: Always command: ["powershell.exe", "-Command", "while ($true) { Sleep 5; Write-Host 'helloworld' }"] name: nanoserver - resources: - requests: - memory: 1.5G - cpu: 1 dnsPolicy: Default restartPolicy: OnFailure nodeName: virtual-kubelet-myaciconnector-win