{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/579","repository_url":"https://api.github.com/repos/coreos/coreos-kubernetes","labels_url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/579/comments","events_url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/579/events","html_url":"https://github.com/coreos/coreos-kubernetes/issues/579","id":166397539,"number":579,"title":"S3 access slow from docker images inside Kubernetes (kube-aws 0.7.1, k8s 1.2.4)","user":{"login":"gmaybrun","id":197915,"avatar_url":"https://avatars.githubusercontent.com/u/197915?v=3","gravatar_id":"","url":"https://api.github.com/users/gmaybrun","html_url":"https://github.com/gmaybrun","followers_url":"https://api.github.com/users/gmaybrun/followers","following_url":"https://api.github.com/users/gmaybrun/following{/other_user}","gists_url":"https://api.github.com/users/gmaybrun/gists{/gist_id}","starred_url":"https://api.github.com/users/gmaybrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmaybrun/subscriptions","organizations_url":"https://api.github.com/users/gmaybrun/orgs","repos_url":"https://api.github.com/users/gmaybrun/repos","events_url":"https://api.github.com/users/gmaybrun/events{/privacy}","received_events_url":"https://api.github.com/users/gmaybrun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-19T18:11:08Z","updated_at":"2016-07-29T06:15:20Z","closed_at":null,"body":"First off, I'm sorry I don't have anything too well-defined to put here. I've been experimenting with using kube-aws to launch a K8s cluster for production use, and as a side-effect I'm seeing significantly slower access to S3 from within the docker images owned by Kubernetes.\r\n\r\nI tested on four separate instances in `us-west-1`:\r\n\r\n1) Using kube-aws (v0.7.1, K8s 1.2.4) to create a cluster of m3.medium's in an existing VPC (allowing kube-aws to create its own subnets). Besides this, the only changes were to `cluster.yaml`: `releaseChannel: true` and `workerCount: 2`\r\n\r\n2) Same setup as above, but with `useCalico: true` and `kubernetesVersion: v1.2.4_coreos.cni.1`\r\n\r\n3) A manually launched CoreOS-stable-1010.5.0-hvm on an m3.medium (this is the same AMI that kube-aws is using -- is ami-79473c19).\r\n\r\n4) A manually launched Amazon Linux AMI 2016.03.3 (HVM), SSD Volume Type (ami-31490d51).\r\n\r\nOn all four instances even a simple test such as running (within a Docker container) `aws s3 ls s3://some-bucket` takes approximately twice as long from the containers running on K8s machines than the standalone CoreOS machine or the Amazon Linux machine. The same goes for downloading files from S3 -- consistently twice as long.\r\n\r\nWhen running a similar test using the image `arjanschaaf/centos-qperf`, I see very little performance impact on docker-to-docker communication on K8s vs non-K8s.\r\n\r\nSimilarly, running tests with the image `imlonghao/speedtest-cli` show almost identical results between K8s, CoreOS Docker, and Amazon Linux.\r\n\r\nI don't have any idea why S3 would be slower, but would greatly appreciate any direction or suggestions on this issue."},"comment":{"url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/comments/236102981","html_url":"https://github.com/coreos/coreos-kubernetes/issues/579#issuecomment-236102981","issue_url":"https://api.github.com/repos/coreos/coreos-kubernetes/issues/579","id":236102981,"user":{"login":"spacepluk","id":824762,"avatar_url":"https://avatars.githubusercontent.com/u/824762?v=3","gravatar_id":"","url":"https://api.github.com/users/spacepluk","html_url":"https://github.com/spacepluk","followers_url":"https://api.github.com/users/spacepluk/followers","following_url":"https://api.github.com/users/spacepluk/following{/other_user}","gists_url":"https://api.github.com/users/spacepluk/gists{/gist_id}","starred_url":"https://api.github.com/users/spacepluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacepluk/subscriptions","organizations_url":"https://api.github.com/users/spacepluk/orgs","repos_url":"https://api.github.com/users/spacepluk/repos","events_url":"https://api.github.com/users/spacepluk/events{/privacy}","received_events_url":"https://api.github.com/users/spacepluk/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T06:15:20Z","updated_at":"2016-07-29T06:15:20Z","body":"Maybe you're running into this? https://github.com/boto/boto3/issues/268"}}
{"actor":{"display_login":"spacepluk"}}