{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/heapster/issues/1470","repository_url":"https://api.github.com/repos/kubernetes/heapster","labels_url":"https://api.github.com/repos/kubernetes/heapster/issues/1470/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/heapster/issues/1470/comments","events_url":"https://api.github.com/repos/kubernetes/heapster/issues/1470/events","html_url":"https://github.com/kubernetes/heapster/issues/1470","id":201867359,"number":1470,"title":"handlers.go No metrics for pod","user":{"login":"r0bj","id":1297747,"avatar_url":"https://avatars.githubusercontent.com/u/1297747?v=3","gravatar_id":"","url":"https://api.github.com/users/r0bj","html_url":"https://github.com/r0bj","followers_url":"https://api.github.com/users/r0bj/followers","following_url":"https://api.github.com/users/r0bj/following{/other_user}","gists_url":"https://api.github.com/users/r0bj/gists{/gist_id}","starred_url":"https://api.github.com/users/r0bj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0bj/subscriptions","organizations_url":"https://api.github.com/users/r0bj/orgs","repos_url":"https://api.github.com/users/r0bj/repos","events_url":"https://api.github.com/users/r0bj/events{/privacy}","received_events_url":"https://api.github.com/users/r0bj/received_events","type":"User","site_admin":false},"labels":[{"id":251130022,"url":"https://api.github.com/repos/kubernetes/heapster/labels/support","name":"support","color":"009800","default":false}],"state":"open","locked":false,"assignee":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"assignees":[{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2017-01-19T13:57:23Z","updated_at":"2017-02-23T20:45:42Z","closed_at":null,"body":"heapster: 1.3.0-beta.0\r\nkubernetes: 1.5.2\r\ndocker: 1.12.6\r\nOS: ubuntu 14.04\r\n\r\nI'm trying to use horizontal autoscaling feature for my logstash processing containers.\r\nDeployment definition:\r\nhttps://gist.github.com/r0bj/c787265c932ba8a1de1467cebd2a906d\r\n\r\nSo I run:\r\nkubectl autoscale deployment logstash --cpu-percent=50 --min=10 --max=30\r\n\r\nkube-controller-manager logs:\r\n```\r\nW0119 13:54:06.641342       1 horizontal.go:104] Failed to reconcile logstash: failed to compute desired number of replicas based on CPU utilization for Deployment/ops/logstash: failed to get CPU utilization: unable to get metrics for resource cpu: no metrics returned from heapster\r\n```\r\n\r\nheapster logs:\r\n```\r\nI0119 13:48:36.675011       1 handlers.go:265] No metrics for container logstash in pod ops/logstash-3396208917-6lzxt\r\nI0119 13:48:36.675017       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-6lzxt\r\nI0119 13:48:36.675025       1 handlers.go:265] No metrics for container logstash in pod ops/logstash-3396208917-3j8sj\r\nI0119 13:48:36.675029       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-3j8sj\r\nI0119 13:48:36.675037       1 handlers.go:265] No metrics for container logstash in pod ops/logstash-3396208917-92f96\r\nI0119 13:48:36.675041       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-92f96\r\nI0119 13:49:06.636598       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-jll9j\r\nI0119 13:49:06.636606       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-3j8sj\r\nI0119 13:49:06.636613       1 handlers.go:216] No metrics for pod ops/logstash-3396208917-7zt2j\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/heapster/issues/comments/282115646","html_url":"https://github.com/kubernetes/heapster/issues/1470#issuecomment-282115646","issue_url":"https://api.github.com/repos/kubernetes/heapster/issues/1470","id":282115646,"user":{"login":"DirectXMan12","id":119737,"avatar_url":"https://avatars.githubusercontent.com/u/119737?v=3","gravatar_id":"","url":"https://api.github.com/users/DirectXMan12","html_url":"https://github.com/DirectXMan12","followers_url":"https://api.github.com/users/DirectXMan12/followers","following_url":"https://api.github.com/users/DirectXMan12/following{/other_user}","gists_url":"https://api.github.com/users/DirectXMan12/gists{/gist_id}","starred_url":"https://api.github.com/users/DirectXMan12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirectXMan12/subscriptions","organizations_url":"https://api.github.com/users/DirectXMan12/orgs","repos_url":"https://api.github.com/users/DirectXMan12/repos","events_url":"https://api.github.com/users/DirectXMan12/events{/privacy}","received_events_url":"https://api.github.com/users/DirectXMan12/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T20:45:42Z","updated_at":"2017-02-23T20:45:42Z","body":"> As you mentioned, the \"skipping rate\" message is caused by a version mismatch in the cluster, do you know witch version is mismated, the heapster vs. k8s or k8s vs. etcd?\r\n\r\nI was referring to heapster vs k8s.\r\n\r\n> And in this message the old create time is \"0001-01-01 00:00:00 +0000 UTC\", looks like not set.\r\nAccording to my understanding, the metric data is retrieved from cadvisor, witch is embed in kubelet, are there any wrong with kubelet?\r\n\r\nThat happens usually when heapster has to create a placeholder entry because it doesn't have some data when it needs it."}}
{"actor":{"display_login":"DirectXMan12"}}