mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #50436 from dixudx/fix_Taint_type_comment
Automatic merge from submit-queue (batch tested with PRs 49129, 50436, 50417, 50553, 47587) Fix Type Taint comment **What this PR does / why we need it**: remvoe redundant words in Type `Taint`. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: /assign @k82cn **Release note**: ```release-note None ```
This commit is contained in:
commit
9ac6e4ae6f
@ -59994,7 +59994,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"io.k8s.api.core.v1.Taint": {
|
"io.k8s.api.core.v1.Taint": {
|
||||||
"description": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
|
"description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
|
||||||
"required": [
|
"required": [
|
||||||
"key",
|
"key",
|
||||||
"effect"
|
"effect"
|
||||||
|
@ -18327,7 +18327,7 @@
|
|||||||
},
|
},
|
||||||
"v1.Taint": {
|
"v1.Taint": {
|
||||||
"id": "v1.Taint",
|
"id": "v1.Taint",
|
||||||
"description": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
|
"description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
|
||||||
"required": [
|
"required": [
|
||||||
"key",
|
"key",
|
||||||
"effect"
|
"effect"
|
||||||
|
@ -2143,7 +2143,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_taint">v1.Taint</h3>
|
<h3 id="_v1_taint">v1.Taint</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>The node this Taint is attached to has the effect "effect" on any pod that that does not tolerate the Taint.</p>
|
<p>The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
@ -2081,8 +2081,8 @@ type PreferredSchedulingTerm struct {
|
|||||||
Preference NodeSelectorTerm
|
Preference NodeSelectorTerm
|
||||||
}
|
}
|
||||||
|
|
||||||
// The node this Taint is attached to has the effect "effect" on
|
// The node this Taint is attached to has the "effect" on
|
||||||
// any pod that that does not tolerate the Taint.
|
// any pod that does not tolerate the Taint.
|
||||||
type Taint struct {
|
type Taint struct {
|
||||||
// Required. The taint key to be applied to a node.
|
// Required. The taint key to be applied to a node.
|
||||||
Key string
|
Key string
|
||||||
|
@ -3884,8 +3884,8 @@ message TCPSocketAction {
|
|||||||
optional string host = 2;
|
optional string host = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The node this Taint is attached to has the effect "effect" on
|
// The node this Taint is attached to has the "effect" on
|
||||||
// any pod that that does not tolerate the Taint.
|
// any pod that does not tolerate the Taint.
|
||||||
message Taint {
|
message Taint {
|
||||||
// Required. The taint key to be applied to a node.
|
// Required. The taint key to be applied to a node.
|
||||||
// +patchMergeKey=key
|
// +patchMergeKey=key
|
||||||
|
@ -2299,8 +2299,8 @@ type PreferredSchedulingTerm struct {
|
|||||||
Preference NodeSelectorTerm `json:"preference" protobuf:"bytes,2,opt,name=preference"`
|
Preference NodeSelectorTerm `json:"preference" protobuf:"bytes,2,opt,name=preference"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// The node this Taint is attached to has the effect "effect" on
|
// The node this Taint is attached to has the "effect" on
|
||||||
// any pod that that does not tolerate the Taint.
|
// any pod that does not tolerate the Taint.
|
||||||
type Taint struct {
|
type Taint struct {
|
||||||
// Required. The taint key to be applied to a node.
|
// Required. The taint key to be applied to a node.
|
||||||
// +patchMergeKey=key
|
// +patchMergeKey=key
|
||||||
|
@ -1937,7 +1937,7 @@ func (TCPSocketAction) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_Taint = map[string]string{
|
var map_Taint = map[string]string{
|
||||||
"": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.",
|
"": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
|
||||||
"key": "Required. The taint key to be applied to a node.",
|
"key": "Required. The taint key to be applied to a node.",
|
||||||
"value": "Required. The taint value corresponding to the taint key.",
|
"value": "Required. The taint value corresponding to the taint key.",
|
||||||
"effect": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
|
"effect": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
|
||||||
|
Loading…
Reference in New Issue
Block a user