Skip to content

Translate reference/kubectl/cheatsheet in Korean#13549

Merged
k8s-ci-robot merged 1 commit intokubernetes:dev-1.14-ko.1from
jmyung:jesang/cheatsheet/v0.2
Apr 7, 2019
Merged

Translate reference/kubectl/cheatsheet in Korean#13549
k8s-ci-robot merged 1 commit intokubernetes:dev-1.14-ko.1from
jmyung:jesang/cheatsheet/v0.2

Conversation

@jmyung
Copy link
Copy Markdown
Contributor

@jmyung jmyung commented Mar 31, 2019

from #13229

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 31, 2019
@k8s-ci-robot k8s-ci-robot added language/ko Issues or PRs related to Korean language sig/docs Categorizes an issue or PR as relevant to SIG Docs. labels Mar 31, 2019
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2019

Deploy preview for k8s-dev-ko ready!

Built with commit e9da1be

https://deploy-preview-13549--k8s-dev-ko.netlify.com

@jmyung jmyung force-pushed the jesang/cheatsheet/v0.2 branch from f0cb4f1 to dbdd67f Compare April 1, 2019 14:03
Copy link
Copy Markdown
Member

@seokho-son seokho-son left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컨트리뷰션 감사합니다 👍
제가 1차적으로 리뷰해보았습니다. 의견 참고하시기 바랍니다.

@jmyung jmyung force-pushed the jesang/cheatsheet/v0.2 branch from dbdd67f to f84341c Compare April 2, 2019 15:58
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Apr 2, 2019
@jmyung
Copy link
Copy Markdown
Contributor Author

jmyung commented Apr 2, 2019

@seokho-son 리뷰 감사합니다 👍

Copy link
Copy Markdown
Member

@seokho-son seokho-son left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

추가적으로 코멘트 드립니다 :)

그리고 "Files changed" 탭을 통해서 보시면, 반영되지 않은 코멘트들이 있는데
해당 건들도 확인 부탁드립니다 ~ (Conversation 탭에 모든 리뷰 코멘트가 노출되지는 않는 것 같습니다)

@jmyung jmyung force-pushed the jesang/cheatsheet/v0.2 branch 2 times, most recently from 5c8a328 to f446728 Compare April 3, 2019 16:41
@seokho-son
Copy link
Copy Markdown
Member

@gochist 해당 PR은 제가 1차적으로 리뷰를 했고, @jmyung 께서 업데이트 완료해 주셨습니다. 검토 요청 드립니다.. :)

@claudiajkang
Copy link
Copy Markdown
Contributor

/assign @gochist

Copy link
Copy Markdown
Contributor

@gochist gochist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmyung @seokho-son PR과 리뷰 감사합니다! 리뷰가 늦어 죄송합니다. 몇 가지 추가 수정 바랍니다.

### BASH

```bash
source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재 쉘에 설정한다
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재 쉘에 설정한다
source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재 셸에 설정한다

한글화팀 용어집 참고


```bash
source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재 쉘에 설정한다
echo "source <(kubectl completion bash)" >> ~/.bashrc # 자동 완성을 bash 쉘에 영구적으로 추가한다
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "source <(kubectl completion bash)" >> ~/.bashrc # 자동 완성을 bash 쉘에 영구적으로 추가한다
echo "source <(kubectl completion bash)" >> ~/.bashrc # 자동 완성을 bash 셸에 영구적으로 추가한다

### ZSH

```bash
source <(kubectl completion zsh) # 현재 쉘에 zsh의 자동 완성 설정
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
source <(kubectl completion zsh) # 현재 쉘에 zsh의 자동 완성 설정
source <(kubectl completion zsh) # 현재 셸에 zsh의 자동 완성 설정


```bash
source <(kubectl completion zsh) # 현재 쉘에 zsh의 자동 완성 설정
echo "if [ $commands[kubectl] ]; then source <(kubectl completion zsh); fi" >> ~/.zshrc # 자동 완성을 zsh 쉘에 영구적으로 추가한다.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "if [ $commands[kubectl] ]; then source <(kubectl completion zsh); fi" >> ~/.zshrc # 자동 완성을 zsh 쉘에 영구적으로 추가한다.
echo "if [ $commands[kubectl] ]; then source <(kubectl completion zsh); fi" >> ~/.zshrc # 자동 완성을 zsh 셸에 영구적으로 추가한다.

```

## Apply
`apply`는 쿠버네티스 리소스를 정의하는 파일을 통해 애플리케이션을 관리한다. `kubectl apply`를 실행하여 클러스터에 리소스를 생성하고 업데이트한다. 이것은 프로덕션 환경에서 Kubernetes 애플리케이션을 관리할 때 권장된다. [Kubectl Book](https://kubectl.docs.kubernetes.io)을 참고한다.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`apply`는 쿠버네티스 리소스를 정의하는 파일을 통해 애플리케이션을 관리한다. `kubectl apply`를 실행하여 클러스터에 리소스를 생성하고 업데이트한다. 이것은 프로덕션 환경에서 Kubernetes 애플리케이션을 관리할 때 권장된다. [Kubectl Book](https://kubectl.docs.kubernetes.io)을 참고한다.
`apply`는 쿠버네티스 리소스를 정의하는 파일을 통해 애플리케이션을 관리한다. `kubectl apply`를 실행하여 클러스터에 리소스를 생성하고 업데이트한다. 이것은 프로덕션 환경에서 쿠버네티스 애플리케이션을 관리할 때 권장된다. [Kubectl Book](https://kubectl.docs.kubernetes.io)을 참고한다.

한글화팀 용어집 참고

# 파드에 의해 현재 사용되고 있는 모든 시크릿 목록 조회
kubectl get pods -o json | jq '.items[].spec.containers[].env[]?.valueFrom.secretKeyRef.name' | grep -v null | sort | uniq

# 타임스템프로 정렬된 이벤트 목록 조회
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# 타임스템프로 정렬된 이벤트 목록 조회
# 타임스탬프로 정렬된 이벤트 목록 조회

외래어 표기법 상 "스탬프"가 맞는 것 같습니다.

kubectl logs my-pod -c my-container --previous # 컨테이너의 이전 인스턴스 생성에 대한 파드 로그(stdout, 멀티-컨테이너 경우) 덤프
kubectl logs -f my-pod # 실시간 스트림 파드 로그(stdout)
kubectl logs -f my-pod -c my-container # 실시간 스트림 파드 로그(stdout, 멀티-컨테이너 경우)
kubectl run -i --tty busybox --image=busybox -- sh # 대화형 쉘로 파드를 실행
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
kubectl run -i --tty busybox --image=busybox -- sh # 대화형 쉘로 파드를 실행
kubectl run -i --tty busybox --image=busybox -- sh # 대화형 셸로 파드를 실행


### Kubectl 출력 로그 상세 레벨(verbosity)과 디버깅

Kubectl 로그 상세 레벨 (verbosity)은 `-v` 또는`--v` 플래그와 로그 레벨을 나타내는 정수로 제어된다. 일반적인 Kubernetes 로깅 규칙과 관련 로그 레벨이 [여기](https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md)에 설명되어 있다.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Kubectl 로그 상세 레벨 (verbosity)은 `-v` 또는`--v` 플래그와 로그 레벨을 나타내는 정수로 제어된다. 일반적인 Kubernetes 로깅 규칙과 관련 로그 레벨이 [여기](https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md)에 설명되어 있다.
Kubectl 로그 상세 레벨(verbosity)은 `-v` 또는`--v` 플래그와 로그 레벨을 나타내는 정수로 제어된다. 일반적인 쿠버네티스 로깅 규칙과 관련 로그 레벨이 [여기](https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md)에 설명되어 있다.
  1. 붙여쓰기
  2. 한글화팀 용어집 참고

@jmyung jmyung force-pushed the jesang/cheatsheet/v0.2 branch from f446728 to d86a0f2 Compare April 7, 2019 08:53
@jmyung jmyung force-pushed the jesang/cheatsheet/v0.2 branch from d86a0f2 to e9da1be Compare April 7, 2019 08:56
@jmyung
Copy link
Copy Markdown
Contributor Author

jmyung commented Apr 7, 2019

@gochist 리뷰 감사합니다. 반영 완료 했습니다. 리뷰에 대한 수정 반영은 추가 커밋으로 해야하는데, 실수로 모두 squash 했네요 ^^;

@gochist
Copy link
Copy Markdown
Contributor

gochist commented Apr 7, 2019

@jmyung 감사합니다!
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 7, 2019
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gochist

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 7, 2019
@k8s-ci-robot k8s-ci-robot merged commit cd82fe9 into kubernetes:dev-1.14-ko.1 Apr 7, 2019
claudiajkang added a commit that referenced this pull request Apr 9, 2019
ko: Fix nav-menu sync in tutorials/statefulset #13374 (#13474)

ko: add outdated files in dev-1.14-ko.1 branch (#13473)

Translate title of concepts/../image.md Ko (#13507)

ko: add translation tutorial/stateful-application/cassandra #12450 (#13515)

Translate reference/kubectl/cheatsheet in Korean (#13549)

Translate tasks/access-application-cluster/access-cluster in Korean (#13565)

ko: add tutorials/stateful-application/mysql-wordpress-persistent-vol… (#13516)

Issue 12838 object management kubectl imperative config (#13657)

Translate standardized glossary Tag Fandamental in Korean (#13552)

Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>

Co-authored-by:    Yoon <learder@gmail.com>

Co-authored-by:    lapee79 <lapee79@gmail.com>

Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>

Co-authored-by:    Seokho <shsongist@gmail.com>

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>
claudiajkang pushed a commit that referenced this pull request Apr 9, 2019
ko: Fix nav-menu sync in tutorials/statefulset #13374 (#13474)

ko: add outdated files in dev-1.14-ko.1 branch (#13473)

Translate title of concepts/../image.md Ko (#13507)

ko: add translation tutorial/stateful-application/cassandra #12450 (#13515)

Translate reference/kubectl/cheatsheet in Korean (#13549)

Translate tasks/access-application-cluster/access-cluster in Korean (#13565)

ko: add tutorials/stateful-application/mysql-wordpress-persistent-vol… (#13516)

Issue 12838 object management kubectl imperative config (#13657)

Translate standardized glossary Tag Fandamental in Korean (#13552)

Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>

Co-authored-by:    Yoon <learder@gmail.com>

Co-authored-by:    lapee79 <lapee79@gmail.com>

Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>

Co-authored-by:    Seokho <shsongist@gmail.com>

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>

Co-authored-by:    June Yi <june.yi@samsung.com>
claudiajkang pushed a commit that referenced this pull request Apr 9, 2019
- ko: Fix nav-menu sync in tutorials/statefulset #13374 (#13474)
- ko: add outdated files in dev-1.14-ko.1 branch (#13473)
- Translate title of concepts/../image.md Ko (#13507)
- ko: add translation tutorial/stateful-application/cassandra #12450 (#13515)
- Translate reference/kubectl/cheatsheet in Korean (#13549)
- Translate tasks/access-application-cluster/access-cluster in Korean (#13565)
- ko: add tutorials/stateful-application/mysql-wordpress-persistent-vol… (#13516)
- Issue 12838 object management kubectl imperative config (#13657)
- Translate standardized glossary Tag Fandamental in Korean (#13552)

Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>

Co-authored-by:    Yoon <learder@gmail.com>

Co-authored-by:    lapee79 <lapee79@gmail.com>

Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>

Co-authored-by:    Seokho <shsongist@gmail.com>

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>

Co-authored-by:    June Yi <june.yi@samsung.com>
k8s-ci-robot pushed a commit that referenced this pull request Apr 10, 2019
* First Korean I10n work for release-1.14

- ko: Fix nav-menu sync in tutorials/statefulset #13374 (#13474)
- ko: add outdated files in dev-1.14-ko.1 branch (#13473)
- Translate title of concepts/../image.md Ko (#13507)
- ko: add translation tutorial/stateful-application/cassandra #12450 (#13515)
- Translate reference/kubectl/cheatsheet in Korean (#13549)
- Translate tasks/access-application-cluster/access-cluster in Korean (#13565)
- ko: add tutorials/stateful-application/mysql-wordpress-persistent-vol… (#13516)
- Issue 12838 object management kubectl imperative config (#13657)
- Translate standardized glossary Tag Fandamental in Korean (#13552)

Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>

Co-authored-by:    Yoon <learder@gmail.com>

Co-authored-by:    lapee79 <lapee79@gmail.com>

Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>

Co-authored-by:    Seokho <shsongist@gmail.com>

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>

Co-authored-by:    June Yi <june.yi@samsung.com>

* Fix conflict : pick-right-solution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language language/ko Issues or PRs related to Korean language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants