[ko] Update outdated files in dev-1.21-ko.7 (p2)

This commit fixes M13~M19 on 28963.
This commit is contained in:
Claudia J. Kang
2021-07-30 21:08:16 +09:00
parent 1e0c138fad
commit a4aa4613cd
8 changed files with 194 additions and 6 deletions
@@ -130,7 +130,7 @@ card:
{{< include "included/verify-kubectl.md" >}}
## 선택적 kubectl 구성
## 선택적 kubectl 구성 및 플러그인
### 셸 자동 완성 활성화
@@ -140,6 +140,49 @@ kubectl은 Bash 및 Zsh에 대한 자동 완성 지원을 제공하므로 입력
{{< include "included/optional-kubectl-configs-zsh.md" >}}
### `kubectl convert` 플러그인 설치
{{< include "included/kubectl-convert-overview.md" >}}
1. 다음 명령으로 최신 릴리스를 다운로드한다.
```powershell
curl -LO https://dl.k8s.io/release/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe
```
1. 바이너리를 검증한다. (선택 사항)
kubectl-convert 체크섬(checksum) 파일을 다운로드한다.
```powershell
curl -LO https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/kubectl-convert.exe.sha256
```
kubectl-convert 바이너리를 체크섬 파일을 통해 검증한다.
- 수동으로 `CertUtil` 의 출력과 다운로드한 체크섬 파일을 비교하기 위해서 커맨드 프롬프트를 사용한다.
```cmd
CertUtil -hashfile kubectl-convert.exe SHA256
type kubectl-convert.exe.sha256
```
- `-eq` 연산자를 통해 `True` 또는 `False` 결과를 얻는 자동 검증을 위해서 PowerShell을 사용한다.
```powershell
$($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256)
```
1. 바이너리를 `PATH` 가 설정된 디렉터리에 추가한다.
1. 플러그인이 정상적으로 설치되었는지 확인한다.
```shell
kubectl convert --help
```
에러가 출력되지 않는다면, 플러그인이 정상적으로 설치된 것이다.
## {{% heading "whatsnext" %}}
{{< include "included/kubectl-whats-next.md" >}}