{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17275","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17275/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17275/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17275/events","html_url":"https://github.com/kubernetes/kubernetes/issues/17275","id":116909397,"number":17275,"title":"Cassandra example on AWS doesn't create a Cassandra cluster","user":{"login":"lordkada","id":1006711,"avatar_url":"https://avatars.githubusercontent.com/u/1006711?v=3","gravatar_id":"","url":"https://api.github.com/users/lordkada","html_url":"https://github.com/lordkada","followers_url":"https://api.github.com/users/lordkada/followers","following_url":"https://api.github.com/users/lordkada/following{/other_user}","gists_url":"https://api.github.com/users/lordkada/gists{/gist_id}","starred_url":"https://api.github.com/users/lordkada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordkada/subscriptions","organizations_url":"https://api.github.com/users/lordkada/orgs","repos_url":"https://api.github.com/users/lordkada/repos","events_url":"https://api.github.com/users/lordkada/events{/privacy}","received_events_url":"https://api.github.com/users/lordkada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/example/cassandra","name":"area/example/cassandra","color":"d4c5f9"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/platform/aws","name":"area/platform/aws","color":"d4c5f9"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/example","name":"kind/example","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/sig-aws","name":"team/sig-aws","color":"d2b48c"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-11-14T07:56:11Z","updated_at":"2016-05-18T18:55:03Z","closed_at":null,"body":"I'm running a simple cluster (k8s 1.1.1) on aws and trying to follow the instructions provided in the Cassandra examples section (https://github.com/kubernetes/kubernetes/tree/release-1.1/examples/cassandra).\r\n\r\nWhen I try to scale the Cassandra nodes:\r\n\r\n> kubectl scale rc cassandra --replicas=2\r\n\r\nthe new pod is created as expected:\r\n\r\n```\r\nNAME              READY     STATUS    RESTARTS   AGE\r\ncassandra         1/1       Running   0          21m\r\ncassandra-yr4nq   1/1       Running   0          20m\r\n```\r\n\r\n**but** if I run:\r\n\r\n> kubectl exec -ti cassandra -- nodetool status\r\n\r\nI can see only one node (of course this is specular, so the same happens if I try querying the other pod, cassandra-yr4nq)\r\n\r\n```\r\nDatacenter: datacenter1\r\n=======================\r\nStatus=Up/Down\r\n|/ State=Normal/Leaving/Joining/Moving\r\n--  Address     Load       Tokens  Owns (effective)  Host ID                               Rack\r\nUN  10.244.0.8  51.49 KB   256     100.0%            2db6bea7-31df-436e-827c-87dca466d31d  rack1\r\n```\r\n\r\nTwo more info:\r\n- I've also tried to check if the two pods can effectively see each other (logged in and tested with a ping) and they can\r\n- before going with AWS I tested this configuration on my local pc with vagrant and everything was fine (I was able to scale up and down the Cassandra nodes)\r\n\r\nAny ideas?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/220123864","html_url":"https://github.com/kubernetes/kubernetes/issues/17275#issuecomment-220123864","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17275","id":220123864,"user":{"login":"ScubaDrew","id":18055237,"avatar_url":"https://avatars.githubusercontent.com/u/18055237?v=3","gravatar_id":"","url":"https://api.github.com/users/ScubaDrew","html_url":"https://github.com/ScubaDrew","followers_url":"https://api.github.com/users/ScubaDrew/followers","following_url":"https://api.github.com/users/ScubaDrew/following{/other_user}","gists_url":"https://api.github.com/users/ScubaDrew/gists{/gist_id}","starred_url":"https://api.github.com/users/ScubaDrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScubaDrew/subscriptions","organizations_url":"https://api.github.com/users/ScubaDrew/orgs","repos_url":"https://api.github.com/users/ScubaDrew/repos","events_url":"https://api.github.com/users/ScubaDrew/events{/privacy}","received_events_url":"https://api.github.com/users/ScubaDrew/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T18:55:03Z","updated_at":"2016-05-18T18:55:03Z","body":"I gave up entirely on the K8 example C* cluster. I don't like the google docker image and other issues in #20961\r\n\r\nI'm currently using https://github.com/vyshane/cassandra-kubernetes \r\n\r\nIt works but suffers from the all nodes are seeds issue.\r\n\r\nI chimed in here because I ran into the t2.micro issues early also.\r\n\r\n@chrislovecnm anxiously awaiting petsets. I think this will help with the persistent disk and IP issues, right?\r\n\r\n"}}