-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[ja] Translate content/en/docs/tasks/administer-cluster/access-cluster-api.md to Japanese #53906
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
Conversation
|
Welcome @aoi1! |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
| kubectl config view | ||
| ``` | ||
|
|
||
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)がkubectlの使用方法について紹介しています。完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 |
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.
examplesを「例」にするか迷いましたが、そのままexampleと書かれているドキュメントもありそうだったのでこのままにしています。
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.
「多くの例で〜」の方が自然に感じました。
また、改行を追加しました。
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)がkubectlの使用方法について紹介しています。完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 | |
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)で、kubectlの使用方法について紹介しています。 | |
| 完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 |
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.
コントリビューションありがとうございます!
レビュー & コメントしました。
個別のレビューコメントに加えて、
全体を通して、下記についてご対応いただけますでしょうか。
- 句読点「。」の後に改行を追加
- 「:(全角)」を「: (半角)」に変更
- 全角の括弧を半角の括弧に変更
|
|
||
| クラスターにアクセスするには、クラスターのロケーションを知り、アクセス用の認証情報が必要です。通常、これは[はじめに](/docs/setup/)を進めていく中で自動的に設定されるか、他の誰かがクラスターをセットアップしてあなたに認証情報とロケーションを提供してくれます。 | ||
|
|
||
| このコマンドで、kubectlが認識しているロケーションと認証情報を確認できます: |
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/
記号類は感嘆符「!」と疑問符「?」のみ全角、それ以外は半角で表記
| このコマンドで、kubectlが認識しているロケーションと認証情報を確認できます: | |
| このコマンドで、kubectlが認識しているロケーションと認証情報を確認できます: |
| kubectl config view | ||
| ``` | ||
|
|
||
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)がkubectlの使用方法について紹介しています。完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 |
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.
「多くの例で〜」の方が自然に感じました。
また、改行を追加しました。
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)がkubectlの使用方法について紹介しています。完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 | |
| 多くの[examples](https://github.com/kubernetes/examples/tree/master/)で、kubectlの使用方法について紹介しています。 | |
| 完全なドキュメントは[kubectlマニュアル](/docs/reference/kubectl/)にあります。 |
|
|
||
| ### REST APIへの直接アクセス {#directly-accessing-the-rest-api} | ||
|
|
||
| kubectlはAPIサーバーの特定と認証を扱います。`curl`や`wget`などのHTTPクライアント、またはブラウザでREST APIに直接アクセスしたい場合は、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.
改行を追加しました。また、:を半角にしました。
| kubectlはAPIサーバーの特定と認証を扱います。`curl`や`wget`などのHTTPクライアント、またはブラウザでREST APIに直接アクセスしたい場合は、APIサーバーを特定して認証する方法がいくつかあります: | |
| kubectlはAPIサーバーの特定と認証を扱います。 | |
| `curl`や`wget`などのHTTPクライアント、またはブラウザでREST APIに直接アクセスしたい場合は、APIサーバーを特定して認証する方法がいくつかあります: |
|
|
||
| kubectlはAPIサーバーの特定と認証を扱います。`curl`や`wget`などのHTTPクライアント、またはブラウザでREST APIに直接アクセスしたい場合は、APIサーバーを特定して認証する方法がいくつかあります: | ||
|
|
||
| 1. kubectlをプロキシモードで実行する(推奨)。この方法は、保存されたAPIサーバーのロケーションを使用し、自己署名証明書を使用してAPIサーバーを検証するため、推奨されます。この方法では中間者攻撃(MITM)は不可能です。 |
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/
記号類は感嘆符「!」と疑問符「?」のみ全角、それ以外は半角で表記
日本語文では、文章の途中で改行を行わない。句点「。」もしくは行末のコロン:で改行する
| 1. kubectlをプロキシモードで実行する(推奨)。この方法は、保存されたAPIサーバーのロケーションを使用し、自己署名証明書を使用してAPIサーバーを検証するため、推奨されます。この方法では中間者攻撃(MITM)は不可能です。 | |
| 1. kubectlをプロキシモードで実行する(推奨)。この方法は、保存されたAPIサーバーのロケーションを使用し、自己署名証明書を使用してAPIサーバーを検証するため、推奨されます。この方法では中間者攻撃(MITM)は不可能です。 |
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.
これ以降についても、下記の対応をお願いできますでしょうか!
- 句読点「。」の後に改行を追加
- 「:(全角)」を「: (半角)」に変更
- 全角の括弧を半角の括弧に変更
|
|
||
| サポートされているバージョンについては、[https://github.com/kubernetes-client/haskell/releases](https://github.com/kubernetes-client/haskell/releases)を参照してください。 | ||
|
|
||
| [Haskell client](https://github.com/kubernetes-client/haskell)は、kubectl CLIと同じ[kubeconfigファイル](/docs/concepts/configuration/organize-cluster-access-kubeconfig/)を使用して、APIサーバーを特定し、認証できます。この[example](https://github.com/kubernetes-client/haskell/blob/master/kubernetes-client/example/App.hs)を参照してください: |
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.
| [Haskell client](https://github.com/kubernetes-client/haskell)は、kubectl CLIと同じ[kubeconfigファイル](/docs/concepts/configuration/organize-cluster-access-kubeconfig/)を使用して、APIサーバーを特定し、認証できます。この[example](https://github.com/kubernetes-client/haskell/blob/master/kubernetes-client/example/App.hs)を参照してください: | |
| [Haskellクライアント](https://github.com/kubernetes-client/haskell)は、kubectl CLIと同じ[kubeconfigファイル](/docs/concepts/configuration/organize-cluster-access-kubeconfig/)を使用して、APIサーバーを特定し、認証できます。 | |
| この[example](https://github.com/kubernetes-client/haskell/blob/master/kubernetes-client/example/App.hs)を参照してください: |
|
|
||
| 上記の例では`--insecure`フラグを使用しています。これは、MITM攻撃を受ける可能性を残します。kubectlがクラスターにアクセスする際は、保存されたルート証明書とクライアント証明書を使用してサーバーにアクセスします(これらは`~/.kube`ディレクトリにインストールされています)。クラスター証明書は通常自己署名されているため、HTTPクライアントにルート証明書を使用させるには特別な設定が必要な場合があります。 | ||
|
|
||
| 一部のクラスターでは、APIサーバーは認証を必要としません。localhostで提供されるか、ファイアウォールで保護されている可能性があります。これには標準がありません。[Kubernetes APIへのアクセスコントロール](/docs/concepts/security/controlling-access)では、クラスター管理者としてこれを設定する方法を説明しています。 |
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.
"; it may serve on localhost, or be protected by a firewall." について、認証が不要な場合の例を列挙していると捉えました。そのため、例であることを明示的に和訳しました。
There is not a standard for this. の訳について、"for this" が何を意味しているのか少し不明瞭だったため、補って訳しました。
| 一部のクラスターでは、APIサーバーは認証を必要としません。localhostで提供されるか、ファイアウォールで保護されている可能性があります。これには標準がありません。[Kubernetes APIへのアクセスコントロール](/docs/concepts/security/controlling-access)では、クラスター管理者としてこれを設定する方法を説明しています。 | |
| 一部のクラスターでは、APIサーバーは認証を必要としません。localhostで提供される場合や、ファイアウォールで保護されている場合などです。このように、認証を必要としない構成を行うための標準的な方法はありません。[Kubernetes APIへのアクセスコントロール](/docs/concepts/security/controlling-access)では、クラスター管理者としてこれを設定する方法を説明しています。 |
|
|
||
| 上記の例では`--insecure`フラグを使用しています。これは、MITM攻撃を受ける可能性を残します。kubectlがクラスターにアクセスする際は、保存されたルート証明書とクライアント証明書を使用してサーバーにアクセスします(これらは`~/.kube`ディレクトリにインストールされています)。クラスター証明書は通常自己署名されているため、HTTPクライアントにルート証明書を使用させるには特別な設定が必要な場合があります。 |
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.
「可能性を残します」は少し硬い印象を受けたので、シンプルに「可能性があります」にするのはいかがでしょうか。
| 上記の例では`--insecure`フラグを使用しています。これは、MITM攻撃を受ける可能性を残します。kubectlがクラスターにアクセスする際は、保存されたルート証明書とクライアント証明書を使用してサーバーにアクセスします(これらは`~/.kube`ディレクトリにインストールされています)。クラスター証明書は通常自己署名されているため、HTTPクライアントにルート証明書を使用させるには特別な設定が必要な場合があります。 | |
| 上記の例では`--insecure`フラグを使用しています。これは、MITM攻撃を受ける可能性があります。kubectlがクラスターにアクセスする際は、保存されたルート証明書とクライアント証明書を使用してサーバーにアクセスします(これらは`~/.kube`ディレクトリにインストールされています)。クラスター証明書は通常自己署名されているため、HTTPクライアントにルート証明書を使用させるには特別な設定が必要な場合があります。 |
| ) | ||
|
|
||
| func main() { | ||
| // uses the current context in kubeconfig |
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.
通常の開発では、ソースコード内に英語でコメントを書くことが多い気がしますが、
このドキュメントに記載されているのはあくまでも参照用のソースコードなので、和訳してしまって良いように思いました。
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, 和訳していただけると助かります 👍
|
レビューいただきありがとうございます。頂いたコメントに関して対応を進めていきます。 |
Co-authored-by: kfess <35001425+kfess@users.noreply.github.com>
Co-authored-by: kfess <35001425+kfess@users.noreply.github.com>
Co-authored-by: kfess <35001425+kfess@users.noreply.github.com>
Co-authored-by: kfess <35001425+kfess@users.noreply.github.com>
|
コントリビューション、レビュー共にありがとうございます! (あまり明文化されていなくて恐縮ですが...)l10n issue/PR に関しては、commit message, issue/pr title の英語表記は SHOULD、issue/pr description は可能な限り英語で記載する、それ以外は各言語での表記でほとんどの場合は問題ないです このPRは squash merge で取り込むようにするので、git amend/rebase 等でのご自身での修正は不要です cf. https://www.kubernetes.dev/docs/guide/pull-requests/#squashing /label tide/merge-method-squash |
|
/assign |
|
@Okabe-Junya レビューありがとうございます。
承知いたしました。確かに日本語話者以外も確認しますよね、思い至らずすみません。今後気をつけます。 |
|
@kfess レビュー対応完了しました!一括置換など行ったせいで一部提案を取り込めずOutdatedになってしまった部分があります、すみません... |
|
@aoi1 |
|
@kfess 迅速に確認いただきありがとうございます!頂いた提案を取り込みました。 |
|
早速の修正、ありがとうございます! |
|
LGTM label has been added. DetailsGit tree hash: 443bdb8f6d9f3e624e5e6e82c87884cface57bea |
|
|
|
#53906 (comment) |
|
今回の invalid commit message のラベルと同様のラベルが付与された PR があり、コミット履歴の強制的な書き換えを行うように言われていました。 |
4051451 to
fa3f2e8
Compare
fa3f2e8 to
6207661
Compare
|
@kfess お待たせしました!コミットメッセージを修正したのでラベルが外されたようです! |
|
対応ありがとうございます! |
Okabe-Junya
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.
ありがとうございます、LGTMです
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Okabe-Junya The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Translate content/en/docs/tasks/administer-cluster/access-cluster-api.md
Issue
Closes: #53608
Preview
preview URL: https://deploy-preview-53906--kubernetes-io-main-staging.netlify.app/ja/docs/tasks/administer-cluster/access-cluster-api
/area localization
/language ja