{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62047","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62047/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62047/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62047/events","html_url":"https://github.com/kubernetes/kubernetes/issues/62047","id":310680304,"number":62047,"title":"Kubelet stats for windows node and containers","user":{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":114528223,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/important-soon","name":"priority/important-soon","color":"eb6420","default":false},{"id":173493665,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/node","name":"sig/node","color":"d2b48c","default":false},{"id":422106010,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/windows","name":"sig/windows","color":"d2b48c","default":false},{"id":611767149,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/status/approved-for-milestone","name":"status/approved-for-milestone","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},"assignees":[{"login":"feiskyer","id":676637,"avatar_url":"https://avatars2.githubusercontent.com/u/676637?v=4","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/38","html_url":"https://github.com/kubernetes/kubernetes/milestone/38","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/38/labels","id":2848396,"number":38,"title":"v1.11","description":null,"creator":{"login":"mtaufen","id":903617,"avatar_url":"https://avatars1.githubusercontent.com/u/903617?v=4","gravatar_id":"","url":"https://api.github.com/users/mtaufen","html_url":"https://github.com/mtaufen","followers_url":"https://api.github.com/users/mtaufen/followers","following_url":"https://api.github.com/users/mtaufen/following{/other_user}","gists_url":"https://api.github.com/users/mtaufen/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaufen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaufen/subscriptions","organizations_url":"https://api.github.com/users/mtaufen/orgs","repos_url":"https://api.github.com/users/mtaufen/repos","events_url":"https://api.github.com/users/mtaufen/events{/privacy}","received_events_url":"https://api.github.com/users/mtaufen/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":99,"state":"open","created_at":"2017-10-18T17:24:38Z","updated_at":"2018-05-14T16:12:09Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-04-03T03:19:52Z","updated_at":"2018-05-14T20:03:03Z","closed_at":null,"author_association":"MEMBER","body":"<!-- This form is for bug reports and feature requests ONLY! \r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line: \r\n>\r\n/kind bug\r\n> /kind feature\r\n\r\n**What happened**:\r\n\r\nKubelet provides a lot of stats by `/stats/summary` on Linux, e.g. \r\n\r\n```json\r\n{\r\n  \"node\": {\r\n   \"nodeName\": \"k8s-agentpool1-27347916-0\",\r\n   \"systemContainers\": [\r\n    {\r\n     \"name\": \"pods\",\r\n     \"startTime\": \"2018-03-30T07:12:34Z\",\r\n     \"cpu\": {\r\n      \"time\": \"2018-04-02T12:46:06Z\",\r\n      \"usageNanoCores\": 7899242,\r\n      \"usageCoreNanoSeconds\": 1229924549983\r\n     },\r\n     \"memory\": {\r\n      \"time\": \"2018-04-02T12:46:06Z\",\r\n      \"availableBytes\": 118094712832,\r\n      \"usageBytes\": 171716608,\r\n      \"workingSetBytes\": 171560960,\r\n      \"rssBytes\": 129269760,\r\n      \"pageFaults\": 0,\r\n      \"majorPageFaults\": 0\r\n     },\r\n     \"userDefinedMetrics\": null\r\n    },\r\n    {\r\n     \"name\": \"kubelet\",\r\n     \"startTime\": \"2018-04-02T06:20:17Z\",\r\n     \"cpu\": {\r\n      \"time\": \"2018-04-02T12:46:07Z\",\r\n      \"usageNanoCores\": 28657903,\r\n      \"usageCoreNanoSeconds\": 617614332776\r\n     },\r\n     \"memory\": {\r\n      \"time\": \"2018-04-02T12:46:07Z\",\r\n      \"usageBytes\": 83517440,\r\n      \"workingSetBytes\": 83288064,\r\n      \"rssBytes\": 68513792,\r\n      \"pageFaults\": 3879438,\r\n      \"majorPageFaults\": 0\r\n     },\r\n     \"userDefinedMetrics\": null\r\n    },\r\n    {\r\n     \"name\": \"runtime\",\r\n     \"startTime\": \"2018-03-30T07:12:34Z\",\r\n     \"cpu\": {\r\n      \"time\": \"2018-04-02T12:46:05Z\",\r\n      \"usageNanoCores\": 4746092,\r\n      \"usageCoreNanoSeconds\": 1940213792740\r\n     },\r\n     \"memory\": {\r\n      \"time\": \"2018-04-02T12:46:05Z\",\r\n      \"usageBytes\": 1575313408,\r\n      \"workingSetBytes\": 360296448,\r\n      \"rssBytes\": 176521216,\r\n      \"pageFaults\": 58918642,\r\n      \"majorPageFaults\": 0\r\n     },\r\n     \"userDefinedMetrics\": null\r\n    }\r\n   ],\r\n   \"startTime\": \"2018-03-30T07:12:34Z\",\r\n   \"cpu\": {\r\n    \"time\": \"2018-04-02T12:46:06Z\",\r\n    \"usageNanoCores\": 74852623,\r\n    \"usageCoreNanoSeconds\": 11928122042675\r\n   },\r\n   \"memory\": {\r\n    \"time\": \"2018-04-02T12:46:06Z\",\r\n    \"availableBytes\": 117025046528,\r\n    \"usageBytes\": 3479334912,\r\n    \"workingSetBytes\": 1241227264,\r\n    \"rssBytes\": 603840512,\r\n    \"pageFaults\": 71816,\r\n    \"majorPageFaults\": 89\r\n   },\r\n   \"network\": {\r\n    \"time\": \"2018-04-02T12:46:06Z\",\r\n    \"name\": \"eth0\",\r\n    \"rxBytes\": 7690944690,\r\n    \"rxErrors\": 0,\r\n    \"txBytes\": 867871242,\r\n    \"txErrors\": 0,\r\n    \"interfaces\": [\r\n     {\r\n      \"name\": \"eth0\",\r\n      \"rxBytes\": 7690944690,\r\n      \"rxErrors\": 0,\r\n      \"txBytes\": 867871242,\r\n      \"txErrors\": 0\r\n     },\r\n     {\r\n      \"name\": \"cbr0\",\r\n      \"rxBytes\": 77920443,\r\n      \"rxErrors\": 0,\r\n      \"txBytes\": 456800874,\r\n      \"txErrors\": 0\r\n     }\r\n    ]\r\n   },\r\n   \"fs\": {\r\n    \"time\": \"2018-04-02T12:46:06Z\",\r\n    \"availableBytes\": 27561127936,\r\n    \"capacityBytes\": 31158935552,\r\n    \"usedBytes\": 3581030400,\r\n    \"inodesFree\": 3746365,\r\n    \"inodes\": 3840000,\r\n    \"inodesUsed\": 93635\r\n   },\r\n   \"runtime\": {\r\n    \"imageFs\": {\r\n     \"time\": \"2018-04-02T12:46:06Z\",\r\n     \"availableBytes\": 27561127936,\r\n     \"capacityBytes\": 31158935552,\r\n     \"usedBytes\": 1280176106,\r\n     \"inodesFree\": 3746365,\r\n     \"inodes\": 3840000,\r\n     \"inodesUsed\": 93635\r\n    }\r\n   },\r\n   \"rlimit\": {\r\n    \"time\": \"2018-04-02T12:46:15Z\",\r\n    \"maxpid\": 131072,\r\n    \"curproc\": 1041\r\n   }\r\n  },\r\n  \"pods\": [\r\n   {\r\n    \"podRef\": {\r\n     \"name\": \"nginx-768979984b-nb4fk\",\r\n     \"namespace\": \"default\",\r\n     \"uid\": \"c638a659-3647-11e8-8360-000d3a187d63\"\r\n    },\r\n    \"startTime\": \"2018-04-02T07:30:53Z\",\r\n    \"containers\": [\r\n     {\r\n      \"name\": \"nginx\",\r\n      \"startTime\": \"2018-04-02T07:40:25Z\",\r\n      \"cpu\": {\r\n       \"time\": \"2018-04-02T12:46:14Z\",\r\n       \"usageNanoCores\": 4266,\r\n       \"usageCoreNanoSeconds\": 228854862\r\n      },\r\n      \"memory\": {\r\n       \"time\": \"2018-04-02T12:46:14Z\",\r\n       \"usageBytes\": 2830336,\r\n       \"workingSetBytes\": 2789376,\r\n       \"rssBytes\": 1425408,\r\n       \"pageFaults\": 668,\r\n       \"majorPageFaults\": 0\r\n      },\r\n      \"rootfs\": {\r\n       \"time\": \"2018-04-02T12:46:14Z\",\r\n       \"availableBytes\": 27561127936,\r\n       \"capacityBytes\": 31158935552,\r\n       \"usedBytes\": 65536,\r\n       \"inodesFree\": 3746365,\r\n       \"inodes\": 3840000,\r\n       \"inodesUsed\": 14\r\n      },\r\n      \"logs\": {\r\n       \"time\": \"2018-04-02T12:46:14Z\",\r\n       \"availableBytes\": 27561127936,\r\n       \"capacityBytes\": 31158935552,\r\n       \"usedBytes\": 20480,\r\n       \"inodesFree\": 3746365,\r\n       \"inodes\": 3840000,\r\n       \"inodesUsed\": 93635\r\n      },\r\n      \"userDefinedMetrics\": null\r\n     }\r\n    ],\r\n    \"cpu\": {\r\n     \"time\": \"2018-04-02T12:46:07Z\",\r\n     \"usageNanoCores\": 12110,\r\n     \"usageCoreNanoSeconds\": 236252462\r\n    },\r\n    \"memory\": {\r\n     \"time\": \"2018-04-02T12:46:07Z\",\r\n     \"usageBytes\": 3186688,\r\n     \"workingSetBytes\": 3145728,\r\n     \"rssBytes\": 1470464,\r\n     \"pageFaults\": 0,\r\n     \"majorPageFaults\": 0\r\n    },\r\n    \"network\": {\r\n     \"time\": \"2018-04-02T12:46:13Z\",\r\n     \"name\": \"eth0\",\r\n     \"rxBytes\": 508600,\r\n     \"rxErrors\": 0,\r\n     \"txBytes\": 273248,\r\n     \"txErrors\": 0,\r\n     \"interfaces\": [\r\n      {\r\n       \"name\": \"eth0\",\r\n       \"rxBytes\": 508600,\r\n       \"rxErrors\": 0,\r\n       \"txBytes\": 273248,\r\n       \"txErrors\": 0\r\n      }\r\n     ]\r\n    },\r\n    \"volume\": [\r\n     {\r\n      \"time\": \"2018-04-02T07:31:18Z\",\r\n      \"availableBytes\": 59133124608,\r\n      \"capacityBytes\": 59133136896,\r\n      \"usedBytes\": 12288,\r\n      \"inodesFree\": 14436792,\r\n      \"inodes\": 14436801,\r\n      \"inodesUsed\": 9,\r\n      \"name\": \"default-token-66dlm\"\r\n     }\r\n    ],\r\n    \"ephemeral-storage\": {\r\n     \"time\": \"2018-04-02T12:46:14Z\",\r\n     \"availableBytes\": 27561127936,\r\n     \"capacityBytes\": 31158935552,\r\n     \"usedBytes\": 86016,\r\n     \"inodesFree\": 3746365,\r\n     \"inodes\": 3840000,\r\n     \"inodesUsed\": 14\r\n    }\r\n   }\r\n  ]\r\n }\r\n```\r\n\r\nWhile on Windows, there are few stats\r\n\r\n```json\r\n{\r\n  \"node\": {\r\n   \"nodeName\": \"27347k8s9010\",\r\n   \"startTime\": \"2018-03-30T08:56:39Z\",\r\n   \"cpu\": {\r\n    \"time\": \"2018-04-02T12:45:07Z\",\r\n    \"usageCoreNanoSeconds\": 33493800000000\r\n   },\r\n   \"memory\": {\r\n    \"time\": \"2018-04-02T12:45:07Z\",\r\n    \"availableBytes\": 7690739712,\r\n    \"usageBytes\": 2044989440,\r\n    \"workingSetBytes\": 898723840,\r\n    \"rssBytes\": 0,\r\n    \"pageFaults\": 0,\r\n    \"majorPageFaults\": 0\r\n   },\r\n   \"fs\": {\r\n    \"time\": \"2018-04-02T12:45:07Z\",\r\n    \"availableBytes\": 0,\r\n    \"capacityBytes\": 0,\r\n    \"usedBytes\": 0\r\n   },\r\n   \"runtime\": {\r\n    \"imageFs\": {\r\n     \"time\": \"2018-04-02T12:45:08Z\",\r\n     \"availableBytes\": 15925956608,\r\n     \"capacityBytes\": 32212250624,\r\n     \"usedBytes\": 16286294016,\r\n     \"inodesUsed\": 0\r\n    }\r\n   }\r\n  },\r\n  \"pods\": []\r\n }\r\n```\r\n\r\nThis means there are a lot of stats missing on Windows, which include\r\n\r\n- systemContainers.kubelet\r\n- systemContainers.pods\r\n- systemContainers.runtime\r\n- node.fs\r\n- node.network\r\n- pods.cpu\r\n- pods.memory\r\n- pods.network\r\n- pods.volume\r\n- pods.ephemeral-storage\r\n- pods.containers.cpu\r\n- pods.containers.memory\r\n- pods.containers.logs\r\n- pods.containers.rootfs\r\n\r\n**What you expected to happen**:\r\n\r\nKubelet on windows should also provide same stats.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): v1.10\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release):\r\n- Kernel (e.g. `uname -a`):\r\n- Install tools:\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/388944126","html_url":"https://github.com/kubernetes/kubernetes/issues/62047#issuecomment-388944126","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62047","id":388944126,"user":{"login":"tpepper","id":2745300,"avatar_url":"https://avatars2.githubusercontent.com/u/2745300?v=4","gravatar_id":"","url":"https://api.github.com/users/tpepper","html_url":"https://github.com/tpepper","followers_url":"https://api.github.com/users/tpepper/followers","following_url":"https://api.github.com/users/tpepper/following{/other_user}","gists_url":"https://api.github.com/users/tpepper/gists{/gist_id}","starred_url":"https://api.github.com/users/tpepper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpepper/subscriptions","organizations_url":"https://api.github.com/users/tpepper/orgs","repos_url":"https://api.github.com/users/tpepper/repos","events_url":"https://api.github.com/users/tpepper/events{/privacy}","received_events_url":"https://api.github.com/users/tpepper/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T20:03:03Z","updated_at":"2018-05-14T20:03:03Z","author_association":"CONTRIBUTOR","body":"@feiskyer status check here also...still intended for 1.11 milestone?"}}
{"actor":{"display_login":"tpepper"}}