-
Notifications
You must be signed in to change notification settings - Fork 14.7k
[ja] Translate content/en/docs/reference/glossary/taint.md into Japanese #50399
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
Open
yuto-kimura-g
wants to merge
1
commit into
kubernetes:main
Choose a base branch
from
yuto-kimura-g:loc/ja/50369
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Taint | ||
id: taint | ||
date: 2019-01-11 | ||
full_link: /ja/docs/concepts/scheduling-eviction/taint-and-toleration/ | ||
short_description: > | ||
key、value、effectの3つの必須属性からなり、Podが特定のノードやノードグループにスケジューリングされることを防ぎます。 | ||
aka: | ||
tags: | ||
- fundamental | ||
--- | ||
key、value、effectの3つの必須属性からなり、{{< glossary_tooltip text="Pod" term_id="pod" >}}が特定の{{< glossary_tooltip text="ノード" term_id="node" >}}やノードグループにスケジューリングされることを防ぎます。 | ||
|
||
<!--more--> | ||
|
||
Taintと{{< glossary_tooltip text="Toleration" term_id="toleration" >}}は組になって機能し、Podが不適切なノードにスケジューリングされないことを保証します。 | ||
1つ以上のTaintがノードに付与されます。 | ||
Taintが付与されたノードには、対応するTolerationを持つPodのみがスケジューリングされるべきです。 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
コアオブジェクトではないため、#45972 で
core-object
タグを外す対処がされたとのことですが、原文の説明には残っているのですね。それを意識して、コアオブジェクトは省いて訳されたのだと思われますが、原文を修正する提案をしたほうがよさそうですね。
あと気になるのは、"required properties"と書かれていますが、valueは任意のはずなので、requiredと表現する必要があるのかなという点です。
これは、Tolerationの説明も同様です。
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.
@t-inu
レビューありがとうございます。
はい、 50050df のコミットでこのような(core object、required properties)説明になったようです。
私も、requiredと表現する必要は無いと思います。Taintであればご指摘の通りvalueは任意ですし、Tolerationであればkey, value, effectのいずれかを省略することなども可能です。
しかし正確に説明すると長くなるので、上記コミット 50050df で修正前の
A key-value pair and an effect
という表現で良いのではないかと思います。Tolerationについてはoperatorもあるので別の表現を考えても良さそうですが。上記コミットの一部(TaintのL7, L14)を元に戻し、Tolerationのrequiredという言い回しを変更するissue, PRを新しく出す感じで良いでしょうか?
ご教示ください。
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.
なるほど、この説明文は一度手が入っていたのですね。
読みにくいから改善したという経緯なので、元に戻す提案は受け入れられにくいかもしれないです。
Taints prevent the scheduling of Pods on nodes or node groups using three properties: key, value, and effect.
みたいなのでどうでしょうかね。
Tolerationのほうは、まずはrequiredを取り除くだけで反応を伺ってもいいかもです。
issueとしては、
という点に言及し、着手して問題なさそうであれば、PRを作成という流れで進めてもらえると助かります。
私もウォッチしていきます。