-
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
hyperkit has 50% resting CPU usage when Idle #9104
Comments
Here is output of minikube log.
==> Docker <==
-- Logs begin at Thu 2020-08-27 11:32:50 UTC, end at Thu 2020-08-27 12:27:05 UTC. --
Aug 27 11:34:05 minikube dockerd[2160]: time="2020-08-27T11:34:05.234648413Z" level=info msg="Daemon has completed initialization"
Aug 27 11:34:05 minikube systemd[1]: Started Docker Application Container Engine.
Aug 27 11:34:05 minikube dockerd[2160]: time="2020-08-27T11:34:05.266946108Z" level=info msg="API listen on /var/run/docker.sock"
Aug 27 11:34:05 minikube dockerd[2160]: time="2020-08-27T11:34:05.267323614Z" level=info msg="API listen on [::]:2376"
Aug 27 11:34:20 minikube dockerd[2160]: time="2020-08-27T11:34:20.681708812Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/94112386c223a35c8b59f06efaf854a26c78553dedcccd8e30a3b688dc473763/shim.sock" debug=false pid=3070
Aug 27 11:34:20 minikube dockerd[2160]: time="2020-08-27T11:34:20.685581753Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/114b016aa2831ec4edf8950008c932d536546f0b28b5611a327bd73b8969624d/shim.sock" debug=false pid=3073
Aug 27 11:34:20 minikube dockerd[2160]: time="2020-08-27T11:34:20.881483245Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/020968b433521c3dfed9fd3140349f497c8ba82f600f725b001653f05bbfe6e3/shim.sock" debug=false pid=3129
Aug 27 11:34:20 minikube dockerd[2160]: time="2020-08-27T11:34:20.979798688Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/17b217550d2f90b4ac0226ff44c80064b3ef6c0c192ade2209b9e78f09645fe8/shim.sock" debug=false pid=3154
Aug 27 11:34:21 minikube dockerd[2160]: time="2020-08-27T11:34:21.582632861Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/a55123539ca6f25c07a7b8dee6897ccb31cda5a4b267142daf1c99520d4537e6/shim.sock" debug=false pid=3266
Aug 27 11:34:21 minikube dockerd[2160]: time="2020-08-27T11:34:21.709717288Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/650fec4f7fec3b5fbc8d8b36d6d1f5c2c0fac7dc40cbdd02f96ef75e52e45d3e/shim.sock" debug=false pid=3274
Aug 27 11:34:21 minikube dockerd[2160]: time="2020-08-27T11:34:21.852500796Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/65911a94591b558e8caf158b104f4a2596419c7c47df4afc9599dfb667c2337f/shim.sock" debug=false pid=3300
Aug 27 11:34:21 minikube dockerd[2160]: time="2020-08-27T11:34:21.921494310Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/6dc0a0bc5f36b6dbaebea81b237dfedddc1d6450597f5a44839c7cad78a802f3/shim.sock" debug=false pid=3315
Aug 27 11:34:47 minikube dockerd[2160]: time="2020-08-27T11:34:47.992042422Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/b6c869581f47c4ce669db15b01241d6b08957d50f6d017bd4f831b62b8d8260b/shim.sock" debug=false pid=3952
Aug 27 11:34:48 minikube dockerd[2160]: time="2020-08-27T11:34:48.452608863Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/1e064a2113b27664ece8b5cdeac3691d87ccb7ae51b56756e6440b6468d4cbc6/shim.sock" debug=false pid=3993
Aug 27 11:35:00 minikube dockerd[2160]: time="2020-08-27T11:35:00.545450175Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/2d674af93cb20138955e5152863a0d35ec179e6d494e8f0db99385fa1556a797/shim.sock" debug=false pid=4217
Aug 27 11:35:01 minikube dockerd[2160]: time="2020-08-27T11:35:01.687936237Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/00cac345b179916de5f44aa4b091740a0f722186ad2f3a589d11fc963f501872/shim.sock" debug=false pid=4297
Aug 27 11:35:01 minikube dockerd[2160]: time="2020-08-27T11:35:01.728908371Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/0ebc5308e5b6ab430a951b9cc5e16f5c2a6edcc36f0ddfd37fac912465962eee/shim.sock" debug=false pid=4316
Aug 27 11:35:01 minikube dockerd[2160]: time="2020-08-27T11:35:01.822547803Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/c4b64d65f1b8a3a342fcaf8eb729e0cec5d36f1b0ba7db6261e8de1159b3138f/shim.sock" debug=false pid=4338
Aug 27 11:35:02 minikube dockerd[2160]: time="2020-08-27T11:35:02.198093302Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/974ea58ab5f0bd2ed91956014b8559acd54aac63a37c1a67efd049361112aa97/shim.sock" debug=false pid=4419
Aug 27 11:35:02 minikube dockerd[2160]: time="2020-08-27T11:35:02.891245879Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/06a31a620a83e36fcf9434a9b7933e9eb9f2809c443208f2a0b6fee5733f8770/shim.sock" debug=false pid=4505
Aug 27 11:35:21 minikube dockerd[2160]: time="2020-08-27T11:35:21.535863489Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/7e389816b21a40fa8fbe051a92392038e3071e4f09f109106d55a187e9307ba3/shim.sock" debug=false pid=4661
Aug 27 11:35:21 minikube dockerd[2160]: time="2020-08-27T11:35:21.885745475Z" level=info msg="shim reaped" id=7e389816b21a40fa8fbe051a92392038e3071e4f09f109106d55a187e9307ba3
Aug 27 11:35:21 minikube dockerd[2160]: time="2020-08-27T11:35:21.904885901Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:23 minikube dockerd[2160]: time="2020-08-27T11:35:23.062721090Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/080130917eacc523c7ed41f2b79ae00bf0700038c4c52674a14455118f48585a/shim.sock" debug=false pid=4721
Aug 27 11:35:23 minikube dockerd[2160]: time="2020-08-27T11:35:23.450174436Z" level=info msg="shim reaped" id=080130917eacc523c7ed41f2b79ae00bf0700038c4c52674a14455118f48585a
Aug 27 11:35:23 minikube dockerd[2160]: time="2020-08-27T11:35:23.463020275Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:25 minikube dockerd[2160]: time="2020-08-27T11:35:25.203950049Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/467c0bbd868a4fd7170074a361118d5ee9e714cf91831ad7219411614d75806a/shim.sock" debug=false pid=4773
Aug 27 11:35:25 minikube dockerd[2160]: time="2020-08-27T11:35:25.653264391Z" level=info msg="shim reaped" id=467c0bbd868a4fd7170074a361118d5ee9e714cf91831ad7219411614d75806a
Aug 27 11:35:25 minikube dockerd[2160]: time="2020-08-27T11:35:25.663498044Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:26 minikube dockerd[2160]: time="2020-08-27T11:35:26.026308556Z" level=info msg="shim reaped" id=0ebc5308e5b6ab430a951b9cc5e16f5c2a6edcc36f0ddfd37fac912465962eee
Aug 27 11:35:26 minikube dockerd[2160]: time="2020-08-27T11:35:26.036293598Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:27 minikube dockerd[2160]: time="2020-08-27T11:35:27.189450972Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/cb29980d8439d6cc38a1f5eb02abfdee9d7547601b2c3337bad7bec79a8f5085/shim.sock" debug=false pid=4873
Aug 27 11:35:28 minikube dockerd[2160]: time="2020-08-27T11:35:28.456834720Z" level=info msg="shim reaped" id=cb29980d8439d6cc38a1f5eb02abfdee9d7547601b2c3337bad7bec79a8f5085
Aug 27 11:35:28 minikube dockerd[2160]: time="2020-08-27T11:35:28.468475488Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:31 minikube dockerd[2160]: time="2020-08-27T11:35:31.445989297Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/f0d101a706ede1c4f5d1b05dcbcea715a77d8798e820a0928eb56446aee2981b/shim.sock" debug=false pid=5015
Aug 27 11:35:36 minikube dockerd[2160]: time="2020-08-27T11:35:36.727315134Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/8bed26bbd80f050ce1bf6df2f4bb837257f18eb5ad4c0caa3ec65ee1a052f4b3/shim.sock" debug=false pid=5072
Aug 27 11:35:37 minikube dockerd[2160]: time="2020-08-27T11:35:37.798902215Z" level=info msg="shim reaped" id=8bed26bbd80f050ce1bf6df2f4bb837257f18eb5ad4c0caa3ec65ee1a052f4b3
Aug 27 11:35:37 minikube dockerd[2160]: time="2020-08-27T11:35:37.810407414Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:35:38 minikube dockerd[2160]: time="2020-08-27T11:35:38.907898685Z" level=info msg="shim reaped" id=2d674af93cb20138955e5152863a0d35ec179e6d494e8f0db99385fa1556a797
Aug 27 11:35:38 minikube dockerd[2160]: time="2020-08-27T11:35:38.917784805Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:36:25 minikube dockerd[2160]: time="2020-08-27T11:36:25.358254665Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/c4febdf02da7512d87ba50072ba708eb32458880f24ca202277300f945844fe0/shim.sock" debug=false pid=5463
Aug 27 11:36:30 minikube dockerd[2160]: time="2020-08-27T11:36:30.084754926Z" level=warning msg="Published ports are discarded when using host network mode"
Aug 27 11:36:30 minikube dockerd[2160]: time="2020-08-27T11:36:30.279177022Z" level=warning msg="Published ports are discarded when using host network mode"
Aug 27 11:36:30 minikube dockerd[2160]: time="2020-08-27T11:36:30.420661056Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/a4a83a79afba13f2b3f32c70f57eb17f72e52f057b8f63c201479e7950385670/shim.sock" debug=false pid=5645
Aug 27 11:36:34 minikube dockerd[2160]: time="2020-08-27T11:36:34.337420404Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/464020776a36ad20068c3b47c7f8de7040d87aedda6313e7e85b4cfde2a37dd3/shim.sock" debug=false pid=5697
Aug 27 11:36:57 minikube dockerd[2160]: time="2020-08-27T11:36:57.819532648Z" level=info msg="shim reaped" id=974ea58ab5f0bd2ed91956014b8559acd54aac63a37c1a67efd049361112aa97
Aug 27 11:37:19 minikube dockerd[2160]: time="2020-08-27T11:37:19.301589874Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 27 11:37:26 minikube dockerd[2160]: time="2020-08-27T11:37:26.703423793Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/d571a86fccfe570141f66c3b9656f2aaab379077f7e05afe9ee292f31280ced1/shim.sock" debug=false pid=5930
Aug 27 11:37:44 minikube dockerd[2160]: time="2020-08-27T11:37:44.359789087Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/8e3c1cce2d6d6b23d395549093ddb39cd9de3ff0e3d22a1ee1a8706ef703e6bd/shim.sock" debug=false pid=6041
Aug 27 11:37:59 minikube dockerd[2160]: time="2020-08-27T11:37:59.467438208Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/dcd942ec61ca774b96d2296d378acc660d904806f38dab50ded61e29044c07bd/shim.sock" debug=false pid=6188
Aug 27 11:38:17 minikube dockerd[2160]: time="2020-08-27T11:38:17.036244343Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/f2b5e4bb86d6d9d18808677564c70b6bd0658baf616916d7ed267c3382aaf4a1/shim.sock" debug=false pid=6330
Aug 27 11:38:17 minikube dockerd[2160]: time="2020-08-27T11:38:17.813615023Z" level=info msg="Attempting next endpoint for pull after error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:38:17 minikube dockerd[2160]: time="2020-08-27T11:38:17.813989991Z" level=error msg="Handler for POST /images/create returned error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:38:32 minikube dockerd[2160]: time="2020-08-27T11:38:32.530276082Z" level=info msg="Attempting next endpoint for pull after error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:38:32 minikube dockerd[2160]: time="2020-08-27T11:38:32.531985301Z" level=error msg="Handler for POST /images/create returned error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:39:01 minikube dockerd[2160]: time="2020-08-27T11:39:01.551708909Z" level=info msg="Attempting next endpoint for pull after error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:39:01 minikube dockerd[2160]: time="2020-08-27T11:39:01.551908982Z" level=error msg="Handler for POST /images/create returned error: Get https://############.dkr.ecr.ap-southeast-1.amazonaws.com/v2/mysql55/manifests/0.0.20: no basic auth credentials"
Aug 27 11:41:27 minikube dockerd[2160]: time="2020-08-27T11:41:27.019717211Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/1484ee17fb2bd3f89893c1d54394583744d8ea510fb036de22372ed7a406a5f9/shim.sock" debug=false pid=7301
Aug 27 11:41:48 minikube dockerd[2160]: time="2020-08-27T11:41:48.986971725Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/c39d585d188e6b5e2a73db71afd6c8670afaa380ea78f91926267731a3022a3e/shim.sock" debug=false pid=7592
Aug 27 11:47:51 minikube dockerd[2160]: time="2020-08-27T11:47:51.381864877Z" level=info msg="shim containerd-shim started" address="/containerd-shim/moby/d35ddf3893537dc8ccc943f43fbdbe5deaef8ad82b989a978eaf40147dcf32e5/shim.sock" debug=false pid=9206
==> container status <== ==> coredns [06a31a620a83] <== ==> describe nodes <== MemoryPressure False Thu, 27 Aug 2020 12:23:55 +0000 Thu, 27 Aug 2020 11:34:36 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available default mongo40-deployment-76d6587bc-q44nw 0 (0%) 0 (0%) 150Mi (4%) 1Gi (30%) 45m cpu 750m (37%) 0 (0%) Normal NodeHasSufficientMemory 52m (x7 over 52m) kubelet, minikube Node minikube status is now: NodeHasSufficientMemory ==> dmesg <== ==> etcd [6dc0a0bc5f36] <== ==> kernel <== ==> kube-apiserver [a55123539ca6] <== ==> kube-controller-manager [650fec4f7fec] <== ==> kube-proxy [1e064a2113b2] <== ==> kube-scheduler [65911a94591b] <== ==> kubelet <== ==> storage-provisioner [974ea58ab5f0] <== ==> storage-provisioner [d571a86fccfe] <== |
NOTE: Activity Monitor measures CPU usage per core: so, Kubernetes is taking up 1/2 a core. This is expected: Kubernetes has a high idle. Use "minikube pause" to pause Kubernetes, which should return hyperkit usage back to the ~2% range. We actively do track CPU usage across drivers: Clearly, we'd like to improve this - but in many ways, it's out of our hands. |
Why was this closed? When K8S will be used in every data center of the world, it is extremely important to make it as energy efficient as possible - I hope we do not need to discuss that this is an absolute basic requirement for the survival of humans in general, not only for data center software? Did you really understand that climate change is a very serious issue? It is absurd to roll out software en large that makes data centers less energy efficient, it should be a crime. Please make it a top priority, your children will thank you for that. Right now you have a chance to really do something useful. |
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
minikube start --driver=hyperkit --kubernetes-version v1.18.3 --disk-size 60g --memory 3500
Steps to reproduce the issue:
Full output of failed command:
No error
Full output of
minikube start
command used, if not already included:No error
The text was updated successfully, but these errors were encountered: