mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #96698 from wawa0210/fix-96697
Update help document address
This commit is contained in:
commit
c98ccce62f
8
api/openapi-spec/swagger.json
generated
8
api/openapi-spec/swagger.json
generated
@ -5903,7 +5903,7 @@
|
|||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements",
|
"$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements",
|
||||||
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"
|
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
|
||||||
},
|
},
|
||||||
"securityContext": {
|
"securityContext": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext",
|
"$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext",
|
||||||
@ -7324,7 +7324,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
"description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.LimitRange"
|
"$ref": "#/definitions/io.k8s.api.core.v1.LimitRange"
|
||||||
},
|
},
|
||||||
@ -9684,14 +9684,14 @@
|
|||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||||
},
|
},
|
||||||
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"requests": {
|
"requests": {
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||||
},
|
},
|
||||||
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -680,7 +680,7 @@ message Container {
|
|||||||
|
|
||||||
// Compute Resources required by this container.
|
// Compute Resources required by this container.
|
||||||
// Cannot be updated.
|
// Cannot be updated.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
optional ResourceRequirements resources = 8;
|
optional ResourceRequirements resources = 8;
|
||||||
|
|
||||||
@ -2003,7 +2003,7 @@ message LimitRangeList {
|
|||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||||
|
|
||||||
// Items is a list of LimitRange objects.
|
// Items is a list of LimitRange objects.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
repeated LimitRange items = 2;
|
repeated LimitRange items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4236,14 +4236,14 @@ message ResourceQuotaStatus {
|
|||||||
// ResourceRequirements describes the compute resource requirements.
|
// ResourceRequirements describes the compute resource requirements.
|
||||||
message ResourceRequirements {
|
message ResourceRequirements {
|
||||||
// Limits describes the maximum amount of compute resources allowed.
|
// Limits describes the maximum amount of compute resources allowed.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
|
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
|
||||||
|
|
||||||
// Requests describes the minimum amount of compute resources required.
|
// Requests describes the minimum amount of compute resources required.
|
||||||
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
||||||
// otherwise to an implementation-defined value.
|
// otherwise to an implementation-defined value.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
|
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
|
||||||
}
|
}
|
||||||
|
@ -2169,13 +2169,13 @@ type Capabilities struct {
|
|||||||
// ResourceRequirements describes the compute resource requirements.
|
// ResourceRequirements describes the compute resource requirements.
|
||||||
type ResourceRequirements struct {
|
type ResourceRequirements struct {
|
||||||
// Limits describes the maximum amount of compute resources allowed.
|
// Limits describes the maximum amount of compute resources allowed.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
Limits ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList,castkey=ResourceName"`
|
Limits ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList,castkey=ResourceName"`
|
||||||
// Requests describes the minimum amount of compute resources required.
|
// Requests describes the minimum amount of compute resources required.
|
||||||
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
||||||
// otherwise to an implementation-defined value.
|
// otherwise to an implementation-defined value.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
Requests ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"`
|
Requests ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"`
|
||||||
}
|
}
|
||||||
@ -2253,7 +2253,7 @@ type Container struct {
|
|||||||
Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"`
|
Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"`
|
||||||
// Compute Resources required by this container.
|
// Compute Resources required by this container.
|
||||||
// Cannot be updated.
|
// Cannot be updated.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
// +optional
|
// +optional
|
||||||
Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"`
|
Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"`
|
||||||
// Pod volumes to mount into the container's filesystem.
|
// Pod volumes to mount into the container's filesystem.
|
||||||
@ -5561,7 +5561,7 @@ type LimitRangeList struct {
|
|||||||
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
// Items is a list of LimitRange objects.
|
// Items is a list of LimitRange objects.
|
||||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||||
Items []LimitRange `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []LimitRange `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,7 +334,7 @@ var map_Container = map[string]string{
|
|||||||
"ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
|
"ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
|
||||||
"envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
|
"envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
|
||||||
"env": "List of environment variables to set in the container. Cannot be updated.",
|
"env": "List of environment variables to set in the container. Cannot be updated.",
|
||||||
"resources": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"resources": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
"volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
|
"volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
|
||||||
"volumeDevices": "volumeDevices is the list of block devices to be used by the container.",
|
"volumeDevices": "volumeDevices is the list of block devices to be used by the container.",
|
||||||
"livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
|
"livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
|
||||||
@ -933,7 +933,7 @@ func (LimitRangeItem) SwaggerDoc() map[string]string {
|
|||||||
var map_LimitRangeList = map[string]string{
|
var map_LimitRangeList = map[string]string{
|
||||||
"": "LimitRangeList is a list of LimitRange items.",
|
"": "LimitRangeList is a list of LimitRange items.",
|
||||||
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
||||||
"items": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"items": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (LimitRangeList) SwaggerDoc() map[string]string {
|
func (LimitRangeList) SwaggerDoc() map[string]string {
|
||||||
@ -1971,8 +1971,8 @@ func (ResourceQuotaStatus) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_ResourceRequirements = map[string]string{
|
var map_ResourceRequirements = map[string]string{
|
||||||
"": "ResourceRequirements describes the compute resource requirements.",
|
"": "ResourceRequirements describes the compute resource requirements.",
|
||||||
"limits": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"limits": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
"requests": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
|
"requests": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ResourceRequirements) SwaggerDoc() map[string]string {
|
func (ResourceRequirements) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user