-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
minikube status
should display InsufficientStorage status
#9034
Conversation
…and nodes if there is insufficient storage. Output now looks like: ``` { "Name": "minikube", "StatusCode": 507, "StatusName": "InsufficientStorage", "StatusDetail": "/var is almost out of disk space", "Step": "Starting Node", "StepDetail": "Updating the running docker \"minikube\" container ...", "BinaryVersion": "v1.12.3", "Components": { "kubeconfig": { "Name": "kubeconfig", "StatusCode": 500, "StatusName": "" } }, "Nodes": [ { "Name": "minikube", "StatusCode": 507, "StatusName": "InsufficientStorage", "Components": { "apiserver": { "Name": "apiserver", "StatusCode": 405, "StatusName": "Stopped" }, "kubelet": { "Name": "kubelet", "StatusCode": 405, "StatusName": "Stopped" } } } ] } ```
Make sure that if /var has full storage, the output of `minikube status` is correct regardless of whether events.json is present or not
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: priyawadhwa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Travis tests have failedHey @priyawadhwa, 1st Buildmake test
TravisBuddy Request Identifier: 3d3c1860-e249-11ea-9f3b-59dd2f7037a2 |
kvm2 Driver Times for Minikube (PR 9034): [64.22037242900001 63.14525925 62.241870046] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [26.590494290000002 28.599669192 27.115608858999998] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): [63.040289963 60.350666024999995 60.547234507] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [26.18993283 26.900492492 27.718564597999997] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): [60.49869067800001 61.89910126499999 60.440889600000006] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [25.881243734999998 26.89222078 25.226766421] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): [61.90289326 64.53189187100001 63.61634883400001] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [25.36184817099999 26.733341119 27.495426960000003] Averages Time Per Log
|
Travis tests have failedHey @priyawadhwa, 1st Buildmake test
TravisBuddy Request Identifier: d1a521a0-e315-11ea-bb85-f7bf5149087f |
kvm2 Driver Times for Minikube (PR 9034): [63.190896916 65.792703035 62.32789936500001] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [26.546051369 26.723791151 26.634963164000006] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): [62.73075056199999 63.915660092 60.212209642999994] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [26.49501921 25.880543957 26.369757498000002] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): [56.794120537 61.904536532 62.422069537] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [26.627061618000003 26.468240042999998 27.792748863] Averages Time Per Log
|
2c74cf2
to
482b2bf
Compare
kvm2 Driver Times for Minikube (PR 9034): [62.393888303 61.983090352999994 62.853965414] Averages Time Per Log
docker Driver Times for Minikube (PR 9034): [27.621654498999995 27.077977619000002 26.155184218000002] Averages Time Per Log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I would just like to avoid using "memory" as a term for disk free or storage capacity.
c88619f
to
acd6589
Compare
Travis tests have failedHey @priyawadhwa, 1st Buildmake test
TravisBuddy Request Identifier: 912beef0-e3b6-11ea-bb85-f7bf5149087f |
kvm2 Driver Times for Minikube (PR 9034): 62.8s 62.8s 62.7s Averages Time Per Log
docker Driver Times for Minikube (PR 9034): 34.4s 25.7s 27.9s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): 58.8s 62.9s 62.1s Averages Time Per Log
docker Driver Times for Minikube (PR 9034): 25.3s 26.7s 25.4s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): 63.4s 63.1s 66.2s Averages Time Per Log
docker Driver Times for Minikube (PR 9034): 25.9s 26.9s 26.1s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9034): 63.9s 61.9s 63.3s Averages Time Per Log
docker Driver Times for Minikube (PR 9034): 28.3s 27.3s 27.0s Averages Time Per Log
|
This PR adds support for
minikube status
displaying InsufficientStorage as its status if /var is almost at memory capacityThis PR also adds an integration test to make sure the output is correct
After this, the output of
minikube status --output json --layout cluster
looks like this:fixes #9025