From 3270b08a43c90e9bf88590afa12d1573012eebbf Mon Sep 17 00:00:00 2001 From: Taswar Bhatti Date: Fri, 26 Jan 2018 11:35:46 -0500 Subject: [PATCH] Update 02-client-tools.md Added windows instructions on installing cfssl, cfssljson and kubectl --- docs/02-client-tools.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/02-client-tools.md b/docs/02-client-tools.md index 1c46e7f04..e105d57ac 100644 --- a/docs/02-client-tools.md +++ b/docs/02-client-tools.md @@ -42,6 +42,19 @@ sudo mv cfssl_linux-amd64 /usr/local/bin/cfssl ```shell sudo mv cfssljson_linux-amd64 /usr/local/bin/cfssljson ``` +### Windows +Download your version of cfss_windows-386.exe or cfssl_windows-amd64.exe +For windows on 32 bit use powershell, using administrative rights +```shell +PS C:\Windows\system32>Invoke-WebRequest -Uri https://pkg.cfssl.org/R1.2/cfssl_windows-386.exe -OutFile cfssl.exe +PS C:\Windows\system32>Invoke-WebRequest -Uri https://pkg.cfssl.org/R1.2/cfssljson_windows-386.exe -OutFile cfssjson.exe +``` +For windows on 64 bit use powershell, using administrative rights +```shell +PS C:\Windows\system32>Invoke-WebRequest -Uri https://pkg.cfssl.org/R1.2/cfssl_windows-amd64.exe -OutFile cfssl.exe +PS C:\Windows\system32>Invoke-WebRequest -Uri https://pkg.cfssl.org/R1.2/mkbundle_windows-amd64.exe -OutFile cfssljson.exe +``` + ### Verification @@ -105,6 +118,12 @@ chmod +x kubectl sudo mv kubectl /usr/local/bin/ ``` +### Windows +Note you need to have chocolately package manager installed first (https://chocolatey.org/) +```shell +PS C:\Windows\system32>choco install kubernetes-cli +``` + ### Verification Verify `kubectl` version 1.8.0 or higher is installed: