mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
update apps/v1 types.go comments for controller spec selector
This commit is contained in:
14
api/openapi-spec/swagger.json
generated
14
api/openapi-spec/swagger.json
generated
@@ -66941,6 +66941,7 @@
|
||||
"io.k8s.api.apps.v1.DaemonSetSpec": {
|
||||
"description": "DaemonSetSpec is the specification of a daemon set.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template"
|
||||
],
|
||||
"properties": {
|
||||
@@ -66955,7 +66956,7 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"selector": {
|
||||
"description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
|
||||
},
|
||||
"template": {
|
||||
@@ -67139,6 +67140,7 @@
|
||||
"io.k8s.api.apps.v1.DeploymentSpec": {
|
||||
"description": "DeploymentSpec is the specification of the desired behavior of the Deployment.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template"
|
||||
],
|
||||
"properties": {
|
||||
@@ -67167,7 +67169,7 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.",
|
||||
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.",
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
|
||||
},
|
||||
"strategy": {
|
||||
@@ -67339,6 +67341,9 @@
|
||||
},
|
||||
"io.k8s.api.apps.v1.ReplicaSetSpec": {
|
||||
"description": "ReplicaSetSpec is the specification of a ReplicaSet.",
|
||||
"required": [
|
||||
"selector"
|
||||
],
|
||||
"properties": {
|
||||
"minReadySeconds": {
|
||||
"description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
|
||||
@@ -67351,7 +67356,7 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"selector": {
|
||||
"description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
|
||||
},
|
||||
"template": {
|
||||
@@ -67500,6 +67505,7 @@
|
||||
"io.k8s.api.apps.v1.StatefulSetSpec": {
|
||||
"description": "A StatefulSetSpec is the specification of a StatefulSet.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template",
|
||||
"serviceName"
|
||||
],
|
||||
@@ -67519,7 +67525,7 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"selector": {
|
||||
"description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
|
||||
},
|
||||
"serviceName": {
|
||||
|
14
api/swagger-spec/apps_v1.json
generated
14
api/swagger-spec/apps_v1.json
generated
@@ -6014,12 +6014,13 @@
|
||||
"id": "v1.DaemonSetSpec",
|
||||
"description": "DaemonSetSpec is the specification of a daemon set.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template"
|
||||
],
|
||||
"properties": {
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
"description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
},
|
||||
"template": {
|
||||
"$ref": "v1.PodTemplateSpec",
|
||||
@@ -8207,6 +8208,7 @@
|
||||
"id": "v1.DeploymentSpec",
|
||||
"description": "DeploymentSpec is the specification of the desired behavior of the Deployment.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template"
|
||||
],
|
||||
"properties": {
|
||||
@@ -8217,7 +8219,7 @@
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment."
|
||||
"description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels."
|
||||
},
|
||||
"template": {
|
||||
"$ref": "v1.PodTemplateSpec",
|
||||
@@ -8415,6 +8417,9 @@
|
||||
"v1.ReplicaSetSpec": {
|
||||
"id": "v1.ReplicaSetSpec",
|
||||
"description": "ReplicaSetSpec is the specification of a ReplicaSet.",
|
||||
"required": [
|
||||
"selector"
|
||||
],
|
||||
"properties": {
|
||||
"replicas": {
|
||||
"type": "integer",
|
||||
@@ -8428,7 +8433,7 @@
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
"description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
},
|
||||
"template": {
|
||||
"$ref": "v1.PodTemplateSpec",
|
||||
@@ -8562,6 +8567,7 @@
|
||||
"id": "v1.StatefulSetSpec",
|
||||
"description": "A StatefulSetSpec is the specification of a StatefulSet.",
|
||||
"required": [
|
||||
"selector",
|
||||
"template",
|
||||
"serviceName"
|
||||
],
|
||||
@@ -8573,7 +8579,7 @@
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "v1.LabelSelector",
|
||||
"description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
"description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
|
||||
},
|
||||
"template": {
|
||||
"$ref": "v1.PodTemplateSpec",
|
||||
|
Reference in New Issue
Block a user