)]}'
{"magnum/drivers/common/templates/kubernetes/fragments/install-clients.sh":[{"author":{"_account_id":28022,"name":"Bharat Kunwar","email":"brtknr@bath.edu","username":"brtknr"},"change_message_id":"8330715a27986c4ac92b16164e3c102cb9ed947d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"echo \"PATH\u003d/srv/magnum/bin:\\$PATH\" \u003e\u003e /etc/bashrc"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"if [ -z \"${KUBERNETES_TARBALL_URL}\" ] ; then"},{"line_number":15,"context_line":"    KUBERNETES_TARBALL_URL\u003d\"https://dl.k8s.io/${KUBE_TAG}/kubernetes-server-linux-${ARCH}.tar.gz\""},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":"i\u003d0"},{"line_number":18,"context_line":"until curl -L -o /srv/magnum/k8s.tar.gz ${KUBERNETES_TARBALL_URL} \u0026\u0026 echo \"${KUBERNETES_TARBALL_SHA512} /srv/magnum/k8s.tar.gz\" | sha512sum -c -"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_91728610","line":15,"range":{"start_line":15,"start_character":58,"end_line":15,"end_character":81},"updated":"2020-11-11 09:18:11.000000000","message":"can you remind me why we use the server tar rather here than the node tar please if we are still using k8s.gcr.io image for kube-proxy etc.?","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"b43cac70b1159f3886b0a11cd22b3a5997f855b5","unresolved":false,"context_lines":[{"line_number":12,"context_line":"echo \"PATH\u003d/srv/magnum/bin:\\$PATH\" \u003e\u003e /etc/bashrc"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"if [ -z \"${KUBERNETES_TARBALL_URL}\" ] ; then"},{"line_number":15,"context_line":"    KUBERNETES_TARBALL_URL\u003d\"https://dl.k8s.io/${KUBE_TAG}/kubernetes-server-linux-${ARCH}.tar.gz\""},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":"i\u003d0"},{"line_number":18,"context_line":"until curl -L -o /srv/magnum/k8s.tar.gz ${KUBERNETES_TARBALL_URL} \u0026\u0026 echo \"${KUBERNETES_TARBALL_SHA512} /srv/magnum/k8s.tar.gz\" | sha512sum -c -"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_9c4d3b9c","line":15,"range":{"start_line":15,"start_character":58,"end_line":15,"end_character":81},"in_reply_to":"1f621f24_91728610","updated":"2020-11-11 10:50:06.000000000","message":"We are importing the image from the tar, we are not using the image from the registry. See below. We you ask this only for kube-proxy? It is true for all components.","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"afff0f5e3d69a9622a329a079b2c348219e2223a","unresolved":false,"context_lines":[{"line_number":12,"context_line":"echo \"PATH\u003d/srv/magnum/bin:\\$PATH\" \u003e\u003e /etc/bashrc"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"if [ -z \"${KUBERNETES_TARBALL_URL}\" ] ; then"},{"line_number":15,"context_line":"    KUBERNETES_TARBALL_URL\u003d\"https://dl.k8s.io/${KUBE_TAG}/kubernetes-server-linux-${ARCH}.tar.gz\""},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":"i\u003d0"},{"line_number":18,"context_line":"until curl -L -o /srv/magnum/k8s.tar.gz ${KUBERNETES_TARBALL_URL} \u0026\u0026 echo \"${KUBERNETES_TARBALL_SHA512} /srv/magnum/k8s.tar.gz\" | sha512sum -c -"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_fc0b8f26","line":15,"range":{"start_line":15,"start_character":58,"end_line":15,"end_character":81},"in_reply_to":"1f621f24_9c4d3b9c","updated":"2020-11-11 10:52:25.000000000","message":"Also in a meeting you suggested to use the server tarball.\n\nFurtermore, if we use the tarball we can validate the download. If we use separate images, we should have separate labels for the image tags to be able to use the sha for the image.","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"a56b9caa59c99763a240e0dc8a784611093044ca","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    KUBERNETES_TARBALL_URL\u003d\"https://dl.k8s.io/${KUBE_TAG}/kubernetes-server-linux-${ARCH}.tar.gz\""},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":"i\u003d0"},{"line_number":18,"context_line":"until curl -L -o /srv/magnum/k8s.tar.gz ${KUBERNETES_TARBALL_URL} \u0026\u0026 echo \"${KUBERNETES_TARBALL_SHA512} /srv/magnum/k8s.tar.gz\" | sha512sum -c -"},{"line_number":19,"context_line":"do"},{"line_number":20,"context_line":"    i\u003d$((i + 1))"},{"line_number":21,"context_line":"    if [ ${i} -gt 60 ] ; then"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_2317bb53","line":18,"updated":"2020-11-10 07:27:26.000000000","message":"Now the sha512 is a must-have label otherwise, the cluster creation will fail:\n\n+ echo \u0027 /srv/magnum/k8s.tar.gz\u0027\n+ sha512sum -c -\nsha512sum: \u0027standard input\u0027: no properly formatted SHA512 checksum lines found\n+ i\u003d17\n\n\nIs it possible to make it optional? Or the question could be: does it make sense to make it optional?","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"19a1efcb286339d9cfeb9b23d89a2a98a440b2c5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    KUBERNETES_TARBALL_URL\u003d\"https://dl.k8s.io/${KUBE_TAG}/kubernetes-server-linux-${ARCH}.tar.gz\""},{"line_number":16,"context_line":"fi"},{"line_number":17,"context_line":"i\u003d0"},{"line_number":18,"context_line":"until curl -L -o /srv/magnum/k8s.tar.gz ${KUBERNETES_TARBALL_URL} \u0026\u0026 echo \"${KUBERNETES_TARBALL_SHA512} /srv/magnum/k8s.tar.gz\" | sha512sum -c -"},{"line_number":19,"context_line":"do"},{"line_number":20,"context_line":"    i\u003d$((i + 1))"},{"line_number":21,"context_line":"    if [ ${i} -gt 60 ] ; then"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_47b922ca","line":18,"in_reply_to":"1f621f24_2317bb53","updated":"2020-11-10 08:31:38.000000000","message":"I don\u0027t know. We made an effort to put a the hyperkube sha in the past. I can make it optional.","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"85cf7dbaaee5e1c70944d4d337c856129deee297","unresolved":false,"context_lines":[{"line_number":33,"context_line":"$ssh_cmd mv /tmp/kubernetes/server/bin/{kubelet,kubectl,kubeadm} /usr/local/bin/"},{"line_number":34,"context_line":"$ssh_cmd chmod +x /usr/local/bin/kube*"},{"line_number":35,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /usr/local/bin/kube*"},{"line_number":36,"context_line":"$ssh_cmd cp /usr/local/bin/kubectl /srv/magnum/bin/"},{"line_number":37,"context_line":"$ssh_cmd chmod +x /srv/magnum/bin/kube*"},{"line_number":38,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /srv/magnum/bin/kube*"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_be08342c","line":36,"updated":"2020-11-05 00:24:57.000000000","message":"The only kube binary in /srv/magnum/bin will be kubelet, is it? And the purpose of that is to set different selinux context for kubelet, right?","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"12592b612cbfd0b0ca8627b3a8e40048b93691fc","unresolved":false,"context_lines":[{"line_number":33,"context_line":"$ssh_cmd mv /tmp/kubernetes/server/bin/{kubelet,kubectl,kubeadm} /usr/local/bin/"},{"line_number":34,"context_line":"$ssh_cmd chmod +x /usr/local/bin/kube*"},{"line_number":35,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /usr/local/bin/kube*"},{"line_number":36,"context_line":"$ssh_cmd cp /usr/local/bin/kubectl /srv/magnum/bin/"},{"line_number":37,"context_line":"$ssh_cmd chmod +x /srv/magnum/bin/kube*"},{"line_number":38,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /srv/magnum/bin/kube*"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_f21dbd73","line":36,"in_reply_to":"1f621f24_be08342c","updated":"2020-11-05 08:35:41.000000000","message":"All binaries are copied to /usr/local/bin/.\nkubectl is copied to /srv/magnum/bin because we used to have it there. i copied to there to make sure we don\u0027t break anything.","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"a56b9caa59c99763a240e0dc8a784611093044ca","unresolved":false,"context_lines":[{"line_number":33,"context_line":"$ssh_cmd mv /tmp/kubernetes/server/bin/{kubelet,kubectl,kubeadm} /usr/local/bin/"},{"line_number":34,"context_line":"$ssh_cmd chmod +x /usr/local/bin/kube*"},{"line_number":35,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /usr/local/bin/kube*"},{"line_number":36,"context_line":"$ssh_cmd cp /usr/local/bin/kubectl /srv/magnum/bin/"},{"line_number":37,"context_line":"$ssh_cmd chmod +x /srv/magnum/bin/kube*"},{"line_number":38,"context_line":"$ssh_cmd chcon system_u:object_r:bin_t:s0 /srv/magnum/bin/kube*"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"1f621f24_110c9792","line":36,"in_reply_to":"1f621f24_f21dbd73","updated":"2020-11-10 07:27:26.000000000","message":"OK, I understand now. Thanks.","commit_id":"1efdddc875acf76b9b9e67742a3c84559270644e"}]}
