-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[ja] Translate content/en/docs/tasks/access-application-cluster/access-cluster-services.md into Japanese #53778
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
base: main
Are you sure you want to change the base?
[ja] Translate content/en/docs/tasks/access-application-cluster/access-cluster-services.md into Japanese #53778
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
kfess
left a comment
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/HTTPSのみで動作します。 | ||
| - 詳細は[こちら](#manually-constructing-apiserver-proxy-urls)を参照してください。 | ||
| - クラスター内のノードまたはPodからアクセスする。 | ||
| - Podを起動し、[kubectl exec](/docs/reference/generated/kubectl/kubectl-commands/#exec)を使用してそのPodのShellに接続します。 |
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.
原文では、下記のようになっているため、後半の訳が欠けているでしょうか??
ref: https://github.com/kubernetes/website/blob/main/content/en/docs/tasks/access-application-cluster/access-cluster-services.md?plain=1#L47C1-L48C64
- Run a pod, and then connect to a shell in it using kubectl exec.
Connect to other nodes, pods, and services from that shell.
また、「シェル」は日本語でもよく使われるため、"shell" を訳しても良さそうです。
| https://192.0.2.1/api/v1/namespaces/kube-system/services/https:elasticsearch-logging:/proxy/_cluster/health?pretty=true | ||
| ``` | ||
|
|
||
| #### クラスター内で実行されているサービスにWebブラウザからアクセスする {#using-web-browsers-to- access-services-running-on-the-cluster} |
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.
空白が入っているようでした。
| #### クラスター内で実行されているサービスにWebブラウザからアクセスする {#using-web-browsers-to- access-services-running-on-the-cluster} | |
| #### クラスター内で実行されているサービスにWebブラウザからアクセスする {#using-web-browsers-to-access-services-running-on-the-cluster} |
| 認証情報の渡し方やkubectl proxyの使用方法については、[Kubernetes APIを使用してクラスターにアクセスする](/docs/tasks/administer-cluster/access-cluster-api/#accessing-the-kubernetes-api)を参照してください。 | ||
| {{< /note >}} | ||
|
|
||
| #### ApiサーバーのProxy URLを手動で構築する方法 {#manually-constructing-apiserver-proxy-urls} |
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.
”Proxy URL" は Kubernetes における固有のオブジェクトというよりは、API サーバーにおけるプロキシとしての URL であると理解しています。
そのため、通常の名詞として「プロキシ」と翻訳するのはいかがでしょうか。
| #### ApiサーバーのProxy URLを手動で構築する方法 {#manually-constructing-apiserver-proxy-urls} | |
| #### APIサーバーのプロキシURLを手動で構築する方法 {#manually-constructing-apiserver-proxy-urls} |
|
|
||
| #### ApiサーバーのProxy URLを手動で構築する方法 {#manually-constructing-apiserver-proxy-urls} | ||
|
|
||
| 前述のとおり、 ServiceのProxy URLを取得するには`kubectl cluster-info`コマンドを使用します。 |
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のProxy URLを取得するには`kubectl cluster-info`コマンドを使用します。 | |
| 前述のとおり、ServiceのプロキシURLを取得するには`kubectl cluster-info`コマンドを使用します。 |
| #### ApiサーバーのProxy URLを手動で構築する方法 {#manually-constructing-apiserver-proxy-urls} | ||
|
|
||
| 前述のとおり、 ServiceのProxy URLを取得するには`kubectl cluster-info`コマンドを使用します。 | ||
| Serviceのエンドポイント、サフィックス、パラメータを含むProxy URLを作成するには、次の形式でServiceのProxy URLに追記します。 |
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のエンドポイント、サフィックス、パラメータを含むProxy URLを作成するには、次の形式でServiceのProxy URLに追記します。 | |
| Serviceのエンドポイント、サフィックス、パラメータを含むプロキシURLを作成するには、次の形式でServiceのプロキシURLに追記します。 |
| ブラウザのアドレスバーにApiサーバーのプロキシURLを直接入力してアクセスできる場合があります。ただし、以下の点を注意してください。 | ||
|
|
||
| - Webブラウザのアドレスバーは通常トークンを送信できないため、基本的な認証(パスワード)を使用する必要があります。 | ||
| Apiサーバーは基本認証を受け付けるように設定できますが、クラスターがその設定になっていない場合もあります。 |
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.
| Apiサーバーは基本認証を受け付けるように設定できますが、クラスターがその設定になっていない場合もあります。 | |
| APIサーバーは基本認証を受け付けるように設定できますが、クラスターがその設定になっていない場合もあります。 |
| ``` | ||
|
|
||
| これは、各Serviceにアクセスするためのproxy-verb URLを示しています。 | ||
| たとえば、このクラスターでは(Elasticsearchを使用した)クラスター単位のログ収集が有効で、適切な認証情報を渡すことで、次のURLからアクセスができます。 |
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.
ref: https://kubernetes.io/ja/docs/contribute/localization/#style-guide
記号類は感嘆符「!」と疑問符「?」のみ全角、それ以外は半角で表記
また、次の行の実際の URL を含めてしまった方が、文のつながりがいいかと思いました。
| たとえば、このクラスターでは(Elasticsearchを使用した)クラスター単位のログ収集が有効で、適切な認証情報を渡すことで、次のURLからアクセスができます。 | |
| たとえば、このクラスターでは(Elasticsearchを使用した)クラスター単位のログ収集が有効で、適切な認証情報を渡すことで、`https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`からアクセスできます。 |
| クラスター外からノード、PodそしてServiceに接続するためには、いくつかのオプションがあります。 | ||
|
|
||
| - パブリックIPを介してServiceにアクセスする。 | ||
| - クラスター外からServiceに到達できるように `NodePort`または`LoadBalancer`タイプのServiceを使用します。 |
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に到達できるように `NodePort`または`LoadBalancer`タイプのServiceを使用します。 | |
| - クラスター外からServiceに到達できるように`NodePort`または`LoadBalancer`タイプのServiceを使用します。 |
| デバッグなどの目的で、複数のレプリカの中から特定のPodにアクセスするためには、そのPodにユニークなラベルを付与し、そのラベルを選択する新しいServiceを作成します。 | ||
| - ほとんどの場合、アプリケーション開発者がnodeIPを使用してノードに直接アクセスする必要はありません。 | ||
| - Proxy Verbを使用してService、ノード、Podにアクセスする。 | ||
| - リモートのServiceにアクセスする前に、Apiサーバーによる認証および認可を行われます。 |
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.
他の翻訳ページでは、「APIサーバー」のように UPPERCASE で表記されているため、統一しました。
| - リモートのServiceにアクセスする前に、Apiサーバーによる認証および認可を行われます。 | |
| - リモートのServiceにアクセスする前に、APIサーバーによる認証および認可が行われます。 |
| これは、各Serviceにアクセスするためのproxy-verb URLを示しています。 | ||
| たとえば、このクラスターでは(Elasticsearchを使用した)クラスター単位のログ収集が有効で、適切な認証情報を渡すことで、次のURLからアクセスができます。 | ||
| `https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/` | ||
| または、たとえば次のようにkubectl proxyを介してアクセスすることもできます。 |
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.
こちらも文のつながり上、URL を一文に含めてしまうのが良いように思えました。
| または、たとえば次のようにkubectl proxyを介してアクセスすることもできます。 | |
| または、たとえば次のようにkubectl proxyを介して`http://localhost:8080/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`からアクセスすることも可能です。 |
Description
Translate
/en/docs/tasks/access-application-cluster/access-cluster-services.mdinto JapaneseWebsite Link
English: https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/
Issue
Closes: #53575