Hide Forgot
Ability to inject information about computing resource requests and limits (e.g. cpu, memory, local disk) into pods, so that image/application authors are aware of the computing environment in which the pods run. Should probably go into the dev guide. Will need to interview SME/Dev/QE/GSS. Eng card: https://trello.com/c/rulSWARV
PR created for this: https://github.com/openshift/openshift-docs/pull/2740 Avesh, is there anything you think is missing and needs to be included? Is there anything technically inaccurate? Thanks!
Brice, the PR does not look complete to me. This does not have all the information as in the original PR: https://github.com/kubernetes/kubernetes.github.io/pull/591 Or am I missing something?
Avesh, Which parts of the PR do you think need to be added? What's in the PR I link above is all that I've added, so I wouldn't say that you've missed anything. I tried to add only the parts that are relevant to the topic specifically. So, I've added what needs to be added to the pod specification (the example yaml), why the reader would want to do it (the intro paragraph), and how to verify that it's been created correctly.
Brice, I think the title of this bug is confusing. It says: "inject resource limits into pods", what does it mean? Setting resource limits/request for pods/containers? or Exposing this limits/requests via downward API? What your PR does seems to be the first. But your PR does not talk about how to expose these resource limits/reqeusts via downward API. For example, your PR does not discuss about the keywords, limits.cpu, requests.cpu, limits.memory and requests.memory that are needed to expose the limits/requests via downward API, and then examples for these.
Avesh, I think I understand you. I'm not sure if it's the docs' place to point out each keyword, etc, but I've at least put in the process and the examples. I've put more info into the PR. Is there anything particularly obvious that I'm missing? Are any steps incorrect? https://github.com/openshift/openshift-docs/pull/2740 Thanks.
Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/7efa985a3a5c1579cbaf19e8e27df50a5ef57a0b Merge pull request #2740 from bfallonf/bz1368883 Bug 1368883 added info on resource limits in downward API
Link to released docs: https://docs.openshift.com/container-platform/3.3/dev_guide/downward_api.html#dapi-consuming-container-resources