{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8406","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8406/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8406/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8406/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/8406","id":77597498,"number":8406,"title":"Adding & removing nodes from existing cluster (creating new instances)","user":{"login":"madis","id":674621,"avatar_url":"https://avatars.githubusercontent.com/u/674621?v=3","gravatar_id":"","url":"https://api.github.com/users/madis","html_url":"https://github.com/madis","followers_url":"https://api.github.com/users/madis/followers","following_url":"https://api.github.com/users/madis/following{/other_user}","gists_url":"https://api.github.com/users/madis/gists{/gist_id}","starred_url":"https://api.github.com/users/madis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madis/subscriptions","organizations_url":"https://api.github.com/users/madis/orgs","repos_url":"https://api.github.com/users/madis/repos","events_url":"https://api.github.com/users/madis/events{/privacy}","received_events_url":"https://api.github.com/users/madis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/kind/support","name":"kind/support","color":"eb6420"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/cluster-lifecycle","name":"team/cluster-lifecycle","color":"d2b48c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-18T10:20:44Z","updated_at":"2015-05-26T07:11:20Z","closed_at":"2015-05-26T07:11:20Z","body":"Is there a way for adding and removing nodes from existing cluster (not just the node objects in master but actual instances too)? How do the authors see it happening or how is it done currently?\r\n\r\nIf there is no existing solution, I'm thinking of implementing this functionality either by\r\n\r\n1. Two additional scripts like *cluster/kube-spawn-node.sh* and *cluster/kube-destroy-node.sh*. The logic would be similar to how *kube-up* creates nodes. I used spawn & destroy to avoid confusion with create/delete, hopefully signifying that actual machines are being created.\r\n2. One one script like *kube-resize-cluster* which would take number of nodes as an argument and would spawn or destroy nodes based on that.\r\n\r\nDo you feel there is a need for these kind of scripts? What approach would be better?\r\n\r\nRegarding terminology, I've seen node and minion both being used. Do they mean the same or is *node* meant to replace *minion*?"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/105421090","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/8406#issuecomment-105421090","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/8406","id":105421090,"user":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T07:11:20Z","updated_at":"2015-05-26T07:11:20Z","body":"Sorry for the delay in responding. IIUC, part of what you are talking about is #6087, but you always want to tell the cloud provider to create/destroy the new nodes (e.g. create/destroy VM instances if running on VMs)? This latter thing is indeed not implement yet, but will be implemented as part of horizontal auto-scaling. We've had some initial work on this and we expect the work to continue after 1.0 (see #5492).\r\n\r\nSince we're in a code freeze right now, this isn't a good time to work on it, but once you see activity again on #5492 please feel free to chime in and contribute.\r\n\r\nRegarding terminology, yes, \"node\" and \"minion\" mean exactly the same thing. \"minion\" was the term we originally used; we've incrementally moved the code and documentation over to \"node\" but still have a few references to \"minion\" (please feel free to send PRs if you see \"minion\" anywhere).\r\n\r\nPlease re-open this issue if it does not address your question/comments. Thanks for your interest!\r\n"}}