mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Merge pull request #54797 from guangxuli/fix_inconsistent_description
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix the inconsistent description of TopologyKey in PodAffinityTerm **What this PR does / why we need it**: Clarify the confusing of inconsistent description. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Just fix #54276 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
5
api/openapi-spec/swagger.json
generated
5
api/openapi-spec/swagger.json
generated
@@ -75232,6 +75232,9 @@
|
||||
},
|
||||
"io.k8s.api.core.v1.PodAffinityTerm": {
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"description": "A label query over a set of resources, in this case pods.",
|
||||
@@ -75245,7 +75248,7 @@
|
||||
}
|
||||
},
|
||||
"topologyKey": {
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
5
api/swagger-spec/apps_v1.json
generated
5
api/swagger-spec/apps_v1.json
generated
@@ -8477,6 +8477,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -8491,7 +8494,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/apps_v1beta1.json
generated
5
api/swagger-spec/apps_v1beta1.json
generated
@@ -6112,6 +6112,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -6126,7 +6129,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/apps_v1beta2.json
generated
5
api/swagger-spec/apps_v1beta2.json
generated
@@ -8477,6 +8477,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -8491,7 +8494,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/batch_v1.json
generated
5
api/swagger-spec/batch_v1.json
generated
@@ -3452,6 +3452,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -3466,7 +3469,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/batch_v1beta1.json
generated
5
api/swagger-spec/batch_v1beta1.json
generated
@@ -3507,6 +3507,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -3521,7 +3524,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/batch_v2alpha1.json
generated
5
api/swagger-spec/batch_v2alpha1.json
generated
@@ -3507,6 +3507,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -3521,7 +3524,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/extensions_v1beta1.json
generated
5
api/swagger-spec/extensions_v1beta1.json
generated
@@ -9120,6 +9120,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -9134,7 +9137,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
5
api/swagger-spec/v1.json
generated
5
api/swagger-spec/v1.json
generated
@@ -22760,6 +22760,9 @@
|
||||
"v1.PodAffinityTerm": {
|
||||
"id": "v1.PodAffinityTerm",
|
||||
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running",
|
||||
"required": [
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
@@ -22774,7 +22777,7 @@
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string",
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed."
|
||||
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user