{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/website/issues/9877","repository_url":"https://api.github.com/repos/kubernetes/website","labels_url":"https://api.github.com/repos/kubernetes/website/issues/9877/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/website/issues/9877/comments","events_url":"https://api.github.com/repos/kubernetes/website/issues/9877/events","html_url":"https://github.com/kubernetes/website/issues/9877","id":351086479,"node_id":"MDU6SXNzdWUzNTEwODY0Nzk=","number":9877,"title":"Issue with k8s.io//docs/tasks/tools/install-kubectl/ [File: /content/en/docs/tasks/tools/install-kubectl.md]","user":{"login":"lyongjn","id":3842258,"node_id":"MDQ6VXNlcjM4NDIyNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/3842258?v=4","gravatar_id":"","url":"https://api.github.com/users/lyongjn","html_url":"https://github.com/lyongjn","followers_url":"https://api.github.com/users/lyongjn/followers","following_url":"https://api.github.com/users/lyongjn/following{/other_user}","gists_url":"https://api.github.com/users/lyongjn/gists{/gist_id}","starred_url":"https://api.github.com/users/lyongjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyongjn/subscriptions","organizations_url":"https://api.github.com/users/lyongjn/orgs","repos_url":"https://api.github.com/users/lyongjn/repos","events_url":"https://api.github.com/users/lyongjn/events{/privacy}","received_events_url":"https://api.github.com/users/lyongjn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T07:27:05Z","updated_at":"2018-08-16T07:27:05Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before submitting, please fill in the following information. -->\r\n<!-- See https://kubernetes.io/docs/contribute/start/ for guidance on writing an actionable issue description. -->\r\n\r\n<!--Required Information-->\r\n\r\n**This is a...** \r\n<!-- choose one by changing [ ] to [x] -->\r\n- [ ] Feature Request\r\n- [ x] Bug Report\r\n\r\n**Problem:**\r\nThe section of \"Install with Powershell from PSGallery\" includes a powershell named install-kubectl.ps1, which can be found at this website : https://www.powershellgallery.com/packages/install-kubectl/1.6/Content/install-kubectl.ps1.\r\n\r\nMy os version is Windows 10, when I executes install-kubectl.ps1, one error occurs : \r\n    Invoke-WebRequest : 基础连接已经关闭: 发送时发生错误。\r\n\r\n**Proposed Solution:**\r\nI googled this error and found a solution for this by adding this scripts to install-kubectl.ps1.\r\n$AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'\r\n[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols\r\nThis reason is the k8s website uses the tls1.2 protocal, but .NET only support ssl v3 and tls 1.0.\r\nSee this  website for further information : https://stackoverflow.com/questions/36265534/invoke-webrequest-ssl-fails/36266735#36266735.\r\n\r\n**Page to Update:**\r\nhttps://kubernetes.io/...\r\n\r\n<!--Optional Information (remove the comment tags around information you would like to include)-->\r\n<!--Kubernetes Version:-->\r\n\r\n<!--Additional Information:-->\r\n"}}
{"actor":{"display_login":"lyongjn"}}