{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/3643","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/3643/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/3643/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/3643/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/3643","id":54945249,"number":3643,"title":"GCE: Reduce the frequency of calls to \"compute.instances.get\" API","user":{"login":"dcarney","id":563291,"avatar_url":"https://avatars.githubusercontent.com/u/563291?v=3","gravatar_id":"","url":"https://api.github.com/users/dcarney","html_url":"https://github.com/dcarney","followers_url":"https://api.github.com/users/dcarney/followers","following_url":"https://api.github.com/users/dcarney/following{/other_user}","gists_url":"https://api.github.com/users/dcarney/gists{/gist_id}","starred_url":"https://api.github.com/users/dcarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcarney/subscriptions","organizations_url":"https://api.github.com/users/dcarney/orgs","repos_url":"https://api.github.com/users/dcarney/repos","events_url":"https://api.github.com/users/dcarney/events{/privacy}","received_events_url":"https://api.github.com/users/dcarney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"erictune","id":8105590,"avatar_url":"https://avatars.githubusercontent.com/u/8105590?v=3","gravatar_id":"","url":"https://api.github.com/users/erictune","html_url":"https://github.com/erictune","followers_url":"https://api.github.com/users/erictune/followers","following_url":"https://api.github.com/users/erictune/following{/other_user}","gists_url":"https://api.github.com/users/erictune/gists{/gist_id}","starred_url":"https://api.github.com/users/erictune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictune/subscriptions","organizations_url":"https://api.github.com/users/erictune/orgs","repos_url":"https://api.github.com/users/erictune/repos","events_url":"https://api.github.com/users/erictune/events{/privacy}","received_events_url":"https://api.github.com/users/erictune/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-01-20T21:50:47Z","updated_at":"2015-01-20T23:05:03Z","closed_at":null,"body":"The current default free quota for requests to the GCE API is 250,000 requests/day.\r\n\r\nWe're finding that we easily exceed that when attempting to run a k8s cluster with 20 or more minions.\r\n\r\nSome numbers for reference (pulled from the GCE console):\r\n\r\n20 minions ~ 3.2 /sec ~ 276K requests/day to \"compute.instances.get\", which exceeds the daily quota\r\n12 minions ~ 2.1 /sec ~ 181K requests/day\r\n\r\nWe're running k8s v0.8.1 FWIW.\r\n\r\nThe number of calls to the other GCE API methods pales in comparison, with compute.instances.get making up ~95% of all the API traffic:\r\n\r\nmethod | count | %\r\n-----------|---------|-----\r\n compute.instances.get | 960,002 | 95.2%\r\n compute.instances.list | 33,347 | 3.3%\r\n compute.zones.list | 6,050 | 0.6%\r\n ... | ... | ...\r\n\r\nWe've scaled down the number of minions for now, until we either request a quota increase, or the API call frequency is reduced somewhat."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/70753194","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/3643#issuecomment-70753194","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/3643","id":70753194,"user":{"login":"erictune","id":8105590,"avatar_url":"https://avatars.githubusercontent.com/u/8105590?v=3","gravatar_id":"","url":"https://api.github.com/users/erictune","html_url":"https://github.com/erictune","followers_url":"https://api.github.com/users/erictune/followers","following_url":"https://api.github.com/users/erictune/following{/other_user}","gists_url":"https://api.github.com/users/erictune/gists{/gist_id}","starred_url":"https://api.github.com/users/erictune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictune/subscriptions","organizations_url":"https://api.github.com/users/erictune/orgs","repos_url":"https://api.github.com/users/erictune/repos","events_url":"https://api.github.com/users/erictune/events{/privacy}","received_events_url":"https://api.github.com/users/erictune/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T23:05:03Z","updated_at":"2015-01-20T23:05:03Z","body":"The `AttachDisk` does not appear to do a get in the normal case.  If could do a lot of some minions were stuck in loops where they repeatedly failed to attach PDs.  Assume that isn't the case right now.\r\n"}}