Giter Club home page Giter Club logo

Comments (8)

JaydeepUniverse avatar JaydeepUniverse commented on September 23, 2024 4

I've recreated same pod without cpu and memory allocation options, and that had worked fine. I think it would related to AKS cluster VMScaleSet VM, I'll check that separately, hence this issue can be closed.

from kubernetes-in-action.

bvdeenen avatar bvdeenen commented on September 23, 2024 2

Hi. It turns out the memory limit is too tight. Just increasing the limit to 10Mi is enough to make the pod start immediately.

git diff downward-api-env.yaml
diff --git a/Chapter08/downward-api-env.yaml b/Chapter08/downward-api-env.yaml
index 5a2d8c4..609a050 100644
--- a/Chapter08/downward-api-env.yaml
+++ b/Chapter08/downward-api-env.yaml
@@ -13,7 +13,7 @@ spec:
         memory: 100Ki
       limits:
         cpu: 100m
-        memory: 4Mi
+        memory: 10Mi
     env:
     - name: POD_NAME
       valueFrom:

from kubernetes-in-action.

taylorturner avatar taylorturner commented on September 23, 2024

This fixed mine also on GCP, thank you @JaydeepUniverse

from kubernetes-in-action.

kuafou avatar kuafou commented on September 23, 2024

It works for me too, thank you @JaydeepUniverse

from kubernetes-in-action.

ambouh1 avatar ambouh1 commented on September 23, 2024

Yes... Thank you, the memory is too tight ..thanks Deenen. But the log and event does not show anything about !

from kubernetes-in-action.

bartkim0426 avatar bartkim0426 commented on September 23, 2024

Didn't work with 10Mi in minikube. Remove all resource options, it worked well. thanks @JaydeepUniverse

from kubernetes-in-action.

azeerman avatar azeerman commented on September 23, 2024

Yes indeed in minikube even with 15Mi it doesn't work, i remove the resources

from kubernetes-in-action.

zylovestt avatar zylovestt commented on September 23, 2024

The memory limit is set to 10 megabytes and it can run just a few more minutes.

from kubernetes-in-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.