{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36855","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36855/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36855/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36855/events","html_url":"https://github.com/kubernetes/kubernetes/issues/36855","id":189545284,"number":36855,"title":"StatefulSet tests ","user":{"login":"janetkuo","id":4876867,"avatar_url":"https://avatars.githubusercontent.com/u/4876867?v=3","gravatar_id":"","url":"https://api.github.com/users/janetkuo","html_url":"https://github.com/janetkuo","followers_url":"https://api.github.com/users/janetkuo/followers","following_url":"https://api.github.com/users/janetkuo/following{/other_user}","gists_url":"https://api.github.com/users/janetkuo/gists{/gist_id}","starred_url":"https://api.github.com/users/janetkuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janetkuo/subscriptions","organizations_url":"https://api.github.com/users/janetkuo/orgs","repos_url":"https://api.github.com/users/janetkuo/repos","events_url":"https://api.github.com/users/janetkuo/events{/privacy}","received_events_url":"https://api.github.com/users/janetkuo/received_events","type":"User","site_admin":false},"labels":[{"id":353400216,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/stateful-apps","name":"area/stateful-apps","color":"ff6060","default":false},{"id":105152717,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/test","name":"area/test","color":"fad8c7","default":false},{"id":481562466,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/none","name":"component/none","color":"0052cc","default":false},{"id":404091735,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/workloads","name":"team/workloads","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T00:11:54Z","updated_at":"2016-11-16T01:25:02Z","closed_at":null,"body":"A list of tests for StatefulSet (excluding existing ones). Feel free to extend / update the list:\r\n\r\n- [ ] Scale StatefulSet up/down #30082 (PR: #32868, #34454)\r\n- [ ] StatefulSet upgrades\r\n  - [ ] Manual update (PR: #36849)\r\n  - [ ] Rolling update #28706\r\n- [ ] StatefulSet examples \r\n  - [ ] All existing examples (PR: #36793)\r\n  - [ ] Add as least a non-database example, and a test for it \r\n  - [ ] Enable cluster restart test \r\n- [ ] Pod network identity\r\n- [ ] Upgrade of the kubernetes node should keep the petset functioning as intended\r\n- [ ] Rollbacks should occur as expected in case of a network partition and maintain data consistency\r\n- [ ] StatefulSet fencing #31762\r\n- [ ] Overlapping StatefulSets should fail gracefully \r\n- [ ] PV/PVC\r\n  - [ ] Delete a pod's PVC, it should come back with the same name (should that emit warning events?)\r\n  - [ ] Delete pods won’t affect PVCs / PVs (unless other delete policies implemented and specified)\r\n- [ ] Check that pods creation timestamps don't overlap \r\n\r\ncc @erictune @foxish @kow3ns @kubernetes/sig-apps"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/260825298","html_url":"https://github.com/kubernetes/kubernetes/issues/36855#issuecomment-260825298","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36855","id":260825298,"user":{"login":"foxish","id":906471,"avatar_url":"https://avatars.githubusercontent.com/u/906471?v=3","gravatar_id":"","url":"https://api.github.com/users/foxish","html_url":"https://github.com/foxish","followers_url":"https://api.github.com/users/foxish/followers","following_url":"https://api.github.com/users/foxish/following{/other_user}","gists_url":"https://api.github.com/users/foxish/gists{/gist_id}","starred_url":"https://api.github.com/users/foxish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxish/subscriptions","organizations_url":"https://api.github.com/users/foxish/orgs","repos_url":"https://api.github.com/users/foxish/repos","events_url":"https://api.github.com/users/foxish/events{/privacy}","received_events_url":"https://api.github.com/users/foxish/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T01:25:02Z","updated_at":"2016-11-16T01:25:02Z","body":"Thanks for putting together the list. I think we should clarify/edit a few of these tests mentioned.\r\n\r\n* Rolling updates are not implemented, and we're just going to document the manual process with them for the supported StatefulSet examples IIUC.\r\n* Fencing currently has some tests for various controllers (including statefulset) in [test/e2e/network_partition.go](https://github.com/kubernetes/kubernetes/blob/6ea8606c59265c37e2dfc720ff23ebcf7d78d228/test/e2e/network_partition.go). \r\n*  Rollbacks should occur as expected in case of a network partition and maintain data consistency: I think this one should be moved into the e2e tests we write for charts. IIRC, rollbacks were a concern for mongo, which became an issue in https://github.com/kubernetes/kubernetes/issues/30289#issuecomment-238883607.\r\n* Overlapping StatefulSets should fail gracefully: can we have overlapping StatefulSets? The name is a lock and the pods-names are based on the name."}}
{"actor":{"display_login":"foxish"}}