-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show resource limits with describe #9304
Conversation
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
ok to test |
EXPERIMENTAL JENKINS PR BUILDER: e2e build succeeded. |
@bgrant0607 @dchen1107 do either of you have bandwidth to review? I'm a bit snowed under right now. |
I can review since I requested it |
Thanks, @derekwaynecarr We're removing interpretContainerStatus from kubectl get pods in PR #9032. This looks at status.lastState, among other things. We should add equivalent info to describe. Please at least factor out the big switch on state, so that we could also use it to display lastState. |
@jsdir - The change looked good when I tried it. Name: nginx-7wbly
Image(s): nginx
Node: 10.245.1.3/10.245.1.3
Labels: run=nginx
Status: Running
Replication Controllers: nginx (1/1 replicas created)
Containers:
nginx:
Image: nginx
Limits:
cpu: 250m
memory: 6Mi
State: Running
Started: Fri, 05 Jun 2015 16:12:38 -0400
Ready: True
Restart Count: 0
Conditions: @bgrant0607 - We can hold on this PR until #9032 lands. |
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
@bgrant0607 - this PR still has the big switch on state, but is an improvement on what existed previously for the end-user. are you fine taking as is and factoring out state in a follow-on? |
Yes, I'm fine with refactoring in a separate PR |
ok to test |
Re-running Shippable. Otherwise, LGTM. cc @davidopp for another LGTM |
GCE e2e build/test passed for commit cea5aaa. |
LGTM |
Shippable still hasn't started. Fingers crossed for soon... |
Show resource limits with describe
Closes #9258