{"action":"opened","issue":{"url":"https://api.github.com/repos/cisco-sso/ansible-role-k8s-devkit/issues/7","repository_url":"https://api.github.com/repos/cisco-sso/ansible-role-k8s-devkit","labels_url":"https://api.github.com/repos/cisco-sso/ansible-role-k8s-devkit/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cisco-sso/ansible-role-k8s-devkit/issues/7/comments","events_url":"https://api.github.com/repos/cisco-sso/ansible-role-k8s-devkit/issues/7/events","html_url":"https://github.com/cisco-sso/ansible-role-k8s-devkit/issues/7","id":348709423,"node_id":"MDU6SXNzdWUzNDg3MDk0MjM=","number":7,"title":"versioned kubectl","user":{"login":"wozniakjan","id":1529535,"node_id":"MDQ6VXNlcjE1Mjk1MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1529535?v=4","gravatar_id":"","url":"https://api.github.com/users/wozniakjan","html_url":"https://github.com/wozniakjan","followers_url":"https://api.github.com/users/wozniakjan/followers","following_url":"https://api.github.com/users/wozniakjan/following{/other_user}","gists_url":"https://api.github.com/users/wozniakjan/gists{/gist_id}","starred_url":"https://api.github.com/users/wozniakjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wozniakjan/subscriptions","organizations_url":"https://api.github.com/users/wozniakjan/orgs","repos_url":"https://api.github.com/users/wozniakjan/repos","events_url":"https://api.github.com/users/wozniakjan/events{/privacy}","received_events_url":"https://api.github.com/users/wozniakjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-08T12:44:22Z","updated_at":"2018-08-08T12:44:22Z","closed_at":null,"author_association":"NONE","body":"We would like to upgrade one of the clusters to kubernetes v1.11.x and the vagrant machine currently packs kubectl: \r\nhttps://github.com/cisco-sso/ansible-role-k8s-devkit/blob/32127921996dad472dea79409797f69b1c80024b/defaults/main.yml#L133\r\n\r\nTheoretically this is within the bounds of supported [version skew](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md#supported-releases-and-component-skew) but given the kubectl we use is a _release candidate_, not an actual release, things may not work properly.\r\n\r\nCan we pack multiple versions of kubectl and swap between them depending on the kubernetes cluster? Or even better, as @simt2 suggested, we can provide default version of kubectl and lazily pull different release and properly hook it to the system if needed (symlinks maybe).\r\n\r\ncc @darkyat @marsavela @simt2 \r\n\r\n"}}
{"actor":{"display_login":"wozniakjan"}}