New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ko: Add tutorials/services/source-ip #12457 #13524
ko: Add tutorials/services/source-ip #12457 #13524
Conversation
Deploy preview for k8s-dev-ko ready! Built with commit f98374a |
/assign @claudiajkang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yoonian PR 감사합니다.
리뷰가 늦어진 점 사과드립니다.
리뷰 확인 부탁드립니다.
|
||
{{% capture overview %}} | ||
|
||
쿠버네티스 클러스터에서 실행 중인 애플리케이션이 서로 간에 바깥 세계와 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applications running in a Kubernetes cluster find and communicate with each other, and the outside world,
쿠버네티스 클러스터에서 실행 중인 애플리케이션이 서로 간에 바깥 세계와 | |
쿠버네티스 클러스터에서 실행 중인 애플리케이션은 서로 간에 외부 세계와 |
- 다음과 같이 변경하면 조금 더 자연스러울 것 같습니다.
* [NAT](https://en.wikipedia.org/wiki/Network_address_translation): 네트워크 주소 변환 | ||
* [소스 NAT](https://en.wikipedia.org/wiki/Network_address_translation#SNAT): 패킷 상의 소스 IP 주소를 변경함, 보통 노드의 IP 주소 | ||
* [대상 NAT](https://en.wikipedia.org/wiki/Network_address_translation#DNAT): 패킷 상의 대상 IP 주소를 변경함, 보통 파드의 IP 주소 | ||
* [VIP](/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): 가상 IP 주소, 모든 쿠버네티스 서비스에 하나로 할당된 것처럼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- VIP: a virtual IP, such as the one assigned to every Kubernetes Service
* [VIP](/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): 가상 IP 주소, 모든 쿠버네티스 서비스에 하나로 할당된 것처럼 | |
* [VIP](/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): 가상 IP 주소, 모든 쿠버네티스 서비스에 할당된 것 같은 |
- 다음과 같이 변경하면 조금 더 자연스러울 것 같습니다.
|
||
## Type=ClusterIP인 서비스에서 소스 IP 주소 | ||
|
||
쿠버네티스 1.2 부터 기본으로 제공하는 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
쿠버네티스 1.2 부터 기본으로 제공하는 | |
쿠버네티스 1.2부터 기본으로 제공하는 |
|
||
쿠버네티스 1.2 부터 기본으로 제공하는 | ||
[iptables 모드](/docs/concepts/services-networking/service/#proxy-mode-iptables)로 운영하는 경우 | ||
클러스터 내에서 클러스터IP로 패킷을 보내면 소스 NAT를 통과하지 않는다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
클러스터 내에서 클러스터IP로 패킷을 보내면 소스 NAT를 통과하지 않는다. | |
클러스터 내에서 클러스터 IP로 패킷을 보내면 소스 NAT를 통과하지 않는다. |
- 단어 사이 띄어쓰기가 필요합니다.
iptables | ||
``` | ||
|
||
소스 IP 애플리케이션에 걸친 서비스를 생성하여 소스 IP 주소 보존여부를 테스트할 수 있다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can test source IP preservation by creating a Service over the source IP app:
소스 IP 애플리케이션에 걸친 서비스를 생성하여 소스 IP 주소 보존여부를 테스트할 수 있다. | |
소스 IP 애플리케이션을 통해 서비스를 생성하여 소스 IP 주소 보존 여부를 테스트할 수 있다. |
- 단어 사이 띄어쓰기가 필요합니다.
|
||
쿠버네티스 1.5부터 Type=LoadBalancer 서비스를 통한 소스 IP 주소 보존을 지원하지만 | ||
이는 클라우드 제공자(GCE, Azure)의 하위 집합으로 구현되어 있다. 실행중인 클라우드 제공자에 | ||
몇 가지 다른 방법으로 밸런서를 요청하자. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request for a loadbalancer in a few different ways:
몇 가지 다른 방법으로 밸런서를 요청하자. | |
몇 가지 다른 방법으로 로드밸런서를 요청하자. |
항상 클라우드 로드밸런서의 IP 주소이다. | ||
|
||
2. 로드밸런서의 VIP에 전달된 클라이언트가 보낸 요청을 | ||
중간 프락시가 아닌 클라이언트 소스 IP 주소가 있는 노드로 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
중간 프락시가 아닌 클라이언트 소스 IP 주소가 있는 노드로 | |
중간 프록시가 아닌 클라이언트 소스 IP 주소가 있는 노드로 |
|
||
첫 번째 범주의 로드밸런서는 진짜 클라이언트 IP를 통신하기 위해 | ||
HTTP [X-FORWARDED-FOR](https://en.wikipedia.org/wiki/X-Forwarded-For) 헤더나 | ||
[프록시 프로토콜](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt)같이 로드밸런서와 백엔드 간에 합의된 프로토콜을 사용해야 한다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[프록시 프로토콜](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt)같이 로드밸런서와 백엔드 간에 합의된 프로토콜을 사용해야 한다. | |
[프록시 프로토콜](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt)같이 로드밸런서와 | |
백엔드 간에 합의된 프로토콜을 사용해야 한다. |
- 원문과 동일한 개행이 필요합니다.
첫 번째 범주의 로드밸런서는 진짜 클라이언트 IP를 통신하기 위해 | ||
HTTP [X-FORWARDED-FOR](https://en.wikipedia.org/wiki/X-Forwarded-For) 헤더나 | ||
[프록시 프로토콜](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt)같이 로드밸런서와 백엔드 간에 합의된 프로토콜을 사용해야 한다. | ||
두 번째 범주의 포드밸런서는 서비스의 `service.spec.healthCheckNodePort` 필드의 저장된 포트를 가르키는 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
두 번째 범주의 포드밸런서는 서비스의 `service.spec.healthCheckNodePort` 필드의 저장된 포트를 가르키는 | |
두 번째 범주의 로드밸런서는 서비스의 `service.spec.healthCheckNodePort` 필드의 저장된 포트를 가르키는 |
$ kubectl delete svc -l run=source-ip-app | ||
``` | ||
|
||
디플로이먼트와 리플리카셋과 파드를 삭제하자. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
디플로이먼트와 리플리카셋과 파드를 삭제하자. | |
디플로이먼트와 리플리카 셋과 파드를 삭제하자. |
- [한글화용어집]에서
레플리카 셋
으로 정의하고 있습니다.
42e470c
to
9de4a6e
Compare
5af87a7
to
f7878b8
Compare
@yoonian 베이스 브랜치를 dev-1.14-ko.2로 변경 작업 완료했습니다~ 리뷰 내용확인 후 반영 부탁드립니다!
|
git pull 작업을 먼저 진행하신 이후에 리뷰 내용 반영 부탁드립니다!!!
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ClaudiaJKang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
* Update outdated files in dev-1.14-ko.2 partly (#13879) * Update outdated files in dev-1.14-ko.2 partly-concepts-contribute-ref (#13890) * ko: update dev-1.14-ko.2 for docs/tutorials/configuration/configure-redis-using-configmap.md #13738 (#13891) * Ko trans: translate contribute/participating.md in Korean (#13812) * Update outdated files of setup and tasks in dev-1.14-ko.2 partly (#13893) * ko-trans: Fix typo in install-minikube (#13894) * ko: Add tutorials/stateful-application/zookeeper #12452 (#13523) * ko: Add tutorials/services/source-ip #12457 (#13524) Co-authored-by: Yoon <learder@gmail.com> Co-authored-by: June Yi <june.yi@samsung.com> Co-authored-by: Seokho <shsongist@gmail.com>
* Update outdated files in dev-1.14-ko.2 partly (#13879) * Update outdated files in dev-1.14-ko.2 partly-concepts-contribute-ref (#13890) * ko: update dev-1.14-ko.2 for docs/tutorials/configuration/configure-redis-using-configmap.md #13738 (#13891) * Ko trans: translate contribute/participating.md in Korean (#13812) * Update outdated files of setup and tasks in dev-1.14-ko.2 partly (#13893) * ko-trans: Fix typo in install-minikube (#13894) * ko: Add tutorials/stateful-application/zookeeper #12452 (#13523) * ko: Add tutorials/services/source-ip #12457 (#13524) Co-authored-by: Yoon <learder@gmail.com> Co-authored-by: June Yi <june.yi@samsung.com> Co-authored-by: Seokho <shsongist@gmail.com>
* Update outdated files in dev-1.14-ko.2 partly (#13879) * Update outdated files in dev-1.14-ko.2 partly-concepts-contribute-ref (#13890) * ko: update dev-1.14-ko.2 for docs/tutorials/configuration/configure-redis-using-configmap.md #13738 (#13891) * Ko trans: translate contribute/participating.md in Korean (#13812) * Update outdated files of setup and tasks in dev-1.14-ko.2 partly (#13893) * ko-trans: Fix typo in install-minikube (#13894) * ko: Add tutorials/stateful-application/zookeeper #12452 (#13523) * ko: Add tutorials/services/source-ip #12457 (#13524) Co-authored-by: Yoon <learder@gmail.com> Co-authored-by: June Yi <june.yi@samsung.com> Co-authored-by: Seokho <shsongist@gmail.com>
* Update outdated files in dev-1.14-ko.2 partly (kubernetes#13879) * Update outdated files in dev-1.14-ko.2 partly-concepts-contribute-ref (kubernetes#13890) * ko: update dev-1.14-ko.2 for docs/tutorials/configuration/configure-redis-using-configmap.md kubernetes#13738 (kubernetes#13891) * Ko trans: translate contribute/participating.md in Korean (kubernetes#13812) * Update outdated files of setup and tasks in dev-1.14-ko.2 partly (kubernetes#13893) * ko-trans: Fix typo in install-minikube (kubernetes#13894) * ko: Add tutorials/stateful-application/zookeeper kubernetes#12452 (kubernetes#13523) * ko: Add tutorials/services/source-ip kubernetes#12457 (kubernetes#13524) Co-authored-by: Yoon <learder@gmail.com> Co-authored-by: June Yi <june.yi@samsung.com> Co-authored-by: Seokho <shsongist@gmail.com>
No description provided.