mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
update auto generated files
Signed-off-by: Ruquan Zhao ruquan.zhao@arm.com
This commit is contained in:
parent
568fedea41
commit
05700b1484
10
api/openapi-spec/swagger.json
generated
10
api/openapi-spec/swagger.json
generated
@ -12155,7 +12155,7 @@
|
|||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||||
},
|
},
|
||||||
"description": "PodFixed represents the fixed resource overhead associated with running a pod.",
|
"description": "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -12169,7 +12169,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"handler": {
|
"handler": {
|
||||||
"description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
"description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
@ -12182,11 +12182,11 @@
|
|||||||
},
|
},
|
||||||
"overhead": {
|
"overhead": {
|
||||||
"$ref": "#/definitions/io.k8s.api.node.v1.Overhead",
|
"$ref": "#/definitions/io.k8s.api.node.v1.Overhead",
|
||||||
"description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/"
|
"description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/"
|
||||||
},
|
},
|
||||||
"scheduling": {
|
"scheduling": {
|
||||||
"$ref": "#/definitions/io.k8s.api.node.v1.Scheduling",
|
"$ref": "#/definitions/io.k8s.api.node.v1.Scheduling",
|
||||||
"description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."
|
"description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -12209,7 +12209,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
"description": "Items is a list of schema objects.",
|
"description": "items is a list of schema objects.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass"
|
"$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass"
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
],
|
],
|
||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"description": "PodFixed represents the fixed resource overhead associated with running a pod.",
|
"description": "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -55,7 +55,7 @@
|
|||||||
},
|
},
|
||||||
"handler": {
|
"handler": {
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
"description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
@ -77,7 +77,7 @@
|
|||||||
"$ref": "#/components/schemas/io.k8s.api.node.v1.Overhead"
|
"$ref": "#/components/schemas/io.k8s.api.node.v1.Overhead"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/"
|
"description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/"
|
||||||
},
|
},
|
||||||
"scheduling": {
|
"scheduling": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
@ -85,7 +85,7 @@
|
|||||||
"$ref": "#/components/schemas/io.k8s.api.node.v1.Scheduling"
|
"$ref": "#/components/schemas/io.k8s.api.node.v1.Scheduling"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."
|
"description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -108,7 +108,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
"description": "Items is a list of schema objects.",
|
"description": "items is a list of schema objects.",
|
||||||
"items": {
|
"items": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
|
32
pkg/generated/openapi/zz_generated.openapi.go
generated
32
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -37678,7 +37678,7 @@ func schema_k8sio_api_node_v1_Overhead(ref common.ReferenceCallback) common.Open
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"podFixed": {
|
"podFixed": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "PodFixed represents the fixed resource overhead associated with running a pod.",
|
Description: "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
Type: []string{"object"},
|
Type: []string{"object"},
|
||||||
AdditionalProperties: &spec.SchemaOrBool{
|
AdditionalProperties: &spec.SchemaOrBool{
|
||||||
Allows: true,
|
Allows: true,
|
||||||
@ -37729,7 +37729,7 @@ func schema_k8sio_api_node_v1_RuntimeClass(ref common.ReferenceCallback) common.
|
|||||||
},
|
},
|
||||||
"handler": {
|
"handler": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
Description: "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
Default: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
@ -37737,13 +37737,13 @@ func schema_k8sio_api_node_v1_RuntimeClass(ref common.ReferenceCallback) common.
|
|||||||
},
|
},
|
||||||
"overhead": {
|
"overhead": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
|
Description: "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
|
||||||
Ref: ref("k8s.io/api/node/v1.Overhead"),
|
Ref: ref("k8s.io/api/node/v1.Overhead"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"scheduling": {
|
"scheduling": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
Description: "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
Ref: ref("k8s.io/api/node/v1.Scheduling"),
|
Ref: ref("k8s.io/api/node/v1.Scheduling"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -37786,7 +37786,7 @@ func schema_k8sio_api_node_v1_RuntimeClassList(ref common.ReferenceCallback) com
|
|||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Items is a list of schema objects.",
|
Description: "items is a list of schema objects.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
Items: &spec.SchemaOrArray{
|
Items: &spec.SchemaOrArray{
|
||||||
Schema: &spec.Schema{
|
Schema: &spec.Schema{
|
||||||
@ -37871,7 +37871,7 @@ func schema_k8sio_api_node_v1alpha1_Overhead(ref common.ReferenceCallback) commo
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"podFixed": {
|
"podFixed": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "PodFixed represents the fixed resource overhead associated with running a pod.",
|
Description: "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
Type: []string{"object"},
|
Type: []string{"object"},
|
||||||
AdditionalProperties: &spec.SchemaOrBool{
|
AdditionalProperties: &spec.SchemaOrBool{
|
||||||
Allows: true,
|
Allows: true,
|
||||||
@ -37922,7 +37922,7 @@ func schema_k8sio_api_node_v1alpha1_RuntimeClass(ref common.ReferenceCallback) c
|
|||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
|
Description: "spec represents specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
|
||||||
Default: map[string]interface{}{},
|
Default: map[string]interface{}{},
|
||||||
Ref: ref("k8s.io/api/node/v1alpha1.RuntimeClassSpec"),
|
Ref: ref("k8s.io/api/node/v1alpha1.RuntimeClassSpec"),
|
||||||
},
|
},
|
||||||
@ -37966,7 +37966,7 @@ func schema_k8sio_api_node_v1alpha1_RuntimeClassList(ref common.ReferenceCallbac
|
|||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Items is a list of schema objects.",
|
Description: "items is a list of schema objects.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
Items: &spec.SchemaOrArray{
|
Items: &spec.SchemaOrArray{
|
||||||
Schema: &spec.Schema{
|
Schema: &spec.Schema{
|
||||||
@ -37996,7 +37996,7 @@ func schema_k8sio_api_node_v1alpha1_RuntimeClassSpec(ref common.ReferenceCallbac
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"runtimeHandler": {
|
"runtimeHandler": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
Description: "runtimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
Default: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
@ -38004,13 +38004,13 @@ func schema_k8sio_api_node_v1alpha1_RuntimeClassSpec(ref common.ReferenceCallbac
|
|||||||
},
|
},
|
||||||
"overhead": {
|
"overhead": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
Description: "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
||||||
Ref: ref("k8s.io/api/node/v1alpha1.Overhead"),
|
Ref: ref("k8s.io/api/node/v1alpha1.Overhead"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"scheduling": {
|
"scheduling": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
Description: "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
Ref: ref("k8s.io/api/node/v1alpha1.Scheduling"),
|
Ref: ref("k8s.io/api/node/v1alpha1.Scheduling"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -38087,7 +38087,7 @@ func schema_k8sio_api_node_v1beta1_Overhead(ref common.ReferenceCallback) common
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"podFixed": {
|
"podFixed": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "PodFixed represents the fixed resource overhead associated with running a pod.",
|
Description: "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
Type: []string{"object"},
|
Type: []string{"object"},
|
||||||
AdditionalProperties: &spec.SchemaOrBool{
|
AdditionalProperties: &spec.SchemaOrBool{
|
||||||
Allows: true,
|
Allows: true,
|
||||||
@ -38138,7 +38138,7 @@ func schema_k8sio_api_node_v1beta1_RuntimeClass(ref common.ReferenceCallback) co
|
|||||||
},
|
},
|
||||||
"handler": {
|
"handler": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
Description: "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
Default: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
@ -38146,13 +38146,13 @@ func schema_k8sio_api_node_v1beta1_RuntimeClass(ref common.ReferenceCallback) co
|
|||||||
},
|
},
|
||||||
"overhead": {
|
"overhead": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
Description: "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
||||||
Ref: ref("k8s.io/api/node/v1beta1.Overhead"),
|
Ref: ref("k8s.io/api/node/v1beta1.Overhead"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"scheduling": {
|
"scheduling": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
Description: "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
Ref: ref("k8s.io/api/node/v1beta1.Scheduling"),
|
Ref: ref("k8s.io/api/node/v1beta1.Scheduling"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -38195,7 +38195,7 @@ func schema_k8sio_api_node_v1beta1_RuntimeClassList(ref common.ReferenceCallback
|
|||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Items is a list of schema objects.",
|
Description: "items is a list of schema objects.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
Items: &spec.SchemaOrArray{
|
Items: &spec.SchemaOrArray{
|
||||||
Schema: &spec.Schema{
|
Schema: &spec.Schema{
|
||||||
|
@ -32,7 +32,7 @@ option go_package = "k8s.io/api/node/v1";
|
|||||||
|
|
||||||
// Overhead structure represents the resource overhead associated with running a pod.
|
// Overhead structure represents the resource overhead associated with running a pod.
|
||||||
message Overhead {
|
message Overhead {
|
||||||
// PodFixed represents the fixed resource overhead associated with running a pod.
|
// podFixed represents the fixed resource overhead associated with running a pod.
|
||||||
// +optional
|
// +optional
|
||||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ message RuntimeClass {
|
|||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
// Handler specifies the underlying runtime and configuration that the CRI
|
// handler specifies the underlying runtime and configuration that the CRI
|
||||||
// implementation will use to handle pods of this class. The possible values
|
// implementation will use to handle pods of this class. The possible values
|
||||||
// are specific to the node & CRI configuration. It is assumed that all
|
// are specific to the node & CRI configuration. It is assumed that all
|
||||||
// handlers are available on every node, and handlers of the same name are
|
// handlers are available on every node, and handlers of the same name are
|
||||||
@ -61,13 +61,13 @@ message RuntimeClass {
|
|||||||
// and is immutable.
|
// and is immutable.
|
||||||
optional string handler = 2;
|
optional string handler = 2;
|
||||||
|
|
||||||
// Overhead represents the resource overhead associated with running a pod for a
|
// overhead represents the resource overhead associated with running a pod for a
|
||||||
// given RuntimeClass. For more details, see
|
// given RuntimeClass. For more details, see
|
||||||
// https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/
|
// https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/
|
||||||
// +optional
|
// +optional
|
||||||
optional Overhead overhead = 3;
|
optional Overhead overhead = 3;
|
||||||
|
|
||||||
// Scheduling holds the scheduling constraints to ensure that pods running
|
// scheduling holds the scheduling constraints to ensure that pods running
|
||||||
// with this RuntimeClass are scheduled to nodes that support it.
|
// with this RuntimeClass are scheduled to nodes that support it.
|
||||||
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
||||||
// nodes.
|
// nodes.
|
||||||
@ -82,7 +82,7 @@ message RuntimeClassList {
|
|||||||
// +optional
|
// +optional
|
||||||
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 schema objects.
|
// items is a list of schema objects.
|
||||||
repeated RuntimeClass items = 2;
|
repeated RuntimeClass items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ package v1
|
|||||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||||
var map_Overhead = map[string]string{
|
var map_Overhead = map[string]string{
|
||||||
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
||||||
"podFixed": "PodFixed represents the fixed resource overhead associated with running a pod.",
|
"podFixed": "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Overhead) SwaggerDoc() map[string]string {
|
func (Overhead) SwaggerDoc() map[string]string {
|
||||||
@ -39,9 +39,9 @@ func (Overhead) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClass = map[string]string{
|
var map_RuntimeClass = map[string]string{
|
||||||
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/",
|
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/",
|
||||||
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"handler": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
"handler": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
"overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
|
"overhead": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/",
|
||||||
"scheduling": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
"scheduling": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClass) SwaggerDoc() map[string]string {
|
func (RuntimeClass) SwaggerDoc() map[string]string {
|
||||||
@ -51,7 +51,7 @@ func (RuntimeClass) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClassList = map[string]string{
|
var map_RuntimeClassList = map[string]string{
|
||||||
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
||||||
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"items": "Items is a list of schema objects.",
|
"items": "items is a list of schema objects.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
||||||
|
@ -32,7 +32,7 @@ option go_package = "k8s.io/api/node/v1alpha1";
|
|||||||
|
|
||||||
// Overhead structure represents the resource overhead associated with running a pod.
|
// Overhead structure represents the resource overhead associated with running a pod.
|
||||||
message Overhead {
|
message Overhead {
|
||||||
// PodFixed represents the fixed resource overhead associated with running a pod.
|
// podFixed represents the fixed resource overhead associated with running a pod.
|
||||||
// +optional
|
// +optional
|
||||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ message RuntimeClass {
|
|||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
// Specification of the RuntimeClass
|
// spec represents specification of the RuntimeClass
|
||||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||||
optional RuntimeClassSpec spec = 2;
|
optional RuntimeClassSpec spec = 2;
|
||||||
}
|
}
|
||||||
@ -61,7 +61,7 @@ message RuntimeClassList {
|
|||||||
// +optional
|
// +optional
|
||||||
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 schema objects.
|
// items is a list of schema objects.
|
||||||
repeated RuntimeClass items = 2;
|
repeated RuntimeClass items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ message RuntimeClassList {
|
|||||||
// Interface (CRI) implementation, as well as any other components that need to
|
// Interface (CRI) implementation, as well as any other components that need to
|
||||||
// understand how the pod will be run. The RuntimeClassSpec is immutable.
|
// understand how the pod will be run. The RuntimeClassSpec is immutable.
|
||||||
message RuntimeClassSpec {
|
message RuntimeClassSpec {
|
||||||
// RuntimeHandler specifies the underlying runtime and configuration that the
|
// runtimeHandler specifies the underlying runtime and configuration that the
|
||||||
// CRI implementation will use to handle pods of this class. The possible
|
// CRI implementation will use to handle pods of this class. The possible
|
||||||
// values are specific to the node & CRI configuration. It is assumed that
|
// values are specific to the node & CRI configuration. It is assumed that
|
||||||
// all handlers are available on every node, and handlers of the same name are
|
// all handlers are available on every node, and handlers of the same name are
|
||||||
@ -78,17 +78,17 @@ message RuntimeClassSpec {
|
|||||||
// For example, a handler called "runc" might specify that the runc OCI
|
// For example, a handler called "runc" might specify that the runc OCI
|
||||||
// runtime (using native Linux containers) will be used to run the containers
|
// runtime (using native Linux containers) will be used to run the containers
|
||||||
// in a pod.
|
// in a pod.
|
||||||
// The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
|
// The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
|
||||||
// requirements, and is immutable.
|
// requirements, and is immutable.
|
||||||
optional string runtimeHandler = 1;
|
optional string runtimeHandler = 1;
|
||||||
|
|
||||||
// Overhead represents the resource overhead associated with running a pod for a
|
// overhead represents the resource overhead associated with running a pod for a
|
||||||
// given RuntimeClass. For more details, see
|
// given RuntimeClass. For more details, see
|
||||||
// https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
// https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional Overhead overhead = 2;
|
optional Overhead overhead = 2;
|
||||||
|
|
||||||
// Scheduling holds the scheduling constraints to ensure that pods running
|
// scheduling holds the scheduling constraints to ensure that pods running
|
||||||
// with this RuntimeClass are scheduled to nodes that support it.
|
// with this RuntimeClass are scheduled to nodes that support it.
|
||||||
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
||||||
// nodes.
|
// nodes.
|
||||||
|
@ -29,7 +29,7 @@ package v1alpha1
|
|||||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||||
var map_Overhead = map[string]string{
|
var map_Overhead = map[string]string{
|
||||||
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
||||||
"podFixed": "PodFixed represents the fixed resource overhead associated with running a pod.",
|
"podFixed": "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Overhead) SwaggerDoc() map[string]string {
|
func (Overhead) SwaggerDoc() map[string]string {
|
||||||
@ -39,7 +39,7 @@ func (Overhead) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClass = map[string]string{
|
var map_RuntimeClass = map[string]string{
|
||||||
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class",
|
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class",
|
||||||
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"spec": "Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
|
"spec": "spec represents specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClass) SwaggerDoc() map[string]string {
|
func (RuntimeClass) SwaggerDoc() map[string]string {
|
||||||
@ -49,7 +49,7 @@ func (RuntimeClass) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClassList = map[string]string{
|
var map_RuntimeClassList = map[string]string{
|
||||||
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
||||||
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"items": "Items is a list of schema objects.",
|
"items": "items is a list of schema objects.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
||||||
@ -58,9 +58,9 @@ func (RuntimeClassList) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_RuntimeClassSpec = map[string]string{
|
var map_RuntimeClassSpec = map[string]string{
|
||||||
"": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.",
|
"": "RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.",
|
||||||
"runtimeHandler": "RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
"runtimeHandler": "runtimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
"overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
"overhead": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
||||||
"scheduling": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
"scheduling": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClassSpec) SwaggerDoc() map[string]string {
|
func (RuntimeClassSpec) SwaggerDoc() map[string]string {
|
||||||
|
@ -32,7 +32,7 @@ option go_package = "k8s.io/api/node/v1beta1";
|
|||||||
|
|
||||||
// Overhead structure represents the resource overhead associated with running a pod.
|
// Overhead structure represents the resource overhead associated with running a pod.
|
||||||
message Overhead {
|
message Overhead {
|
||||||
// PodFixed represents the fixed resource overhead associated with running a pod.
|
// podFixed represents the fixed resource overhead associated with running a pod.
|
||||||
// +optional
|
// +optional
|
||||||
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ message RuntimeClass {
|
|||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
// Handler specifies the underlying runtime and configuration that the CRI
|
// handler specifies the underlying runtime and configuration that the CRI
|
||||||
// implementation will use to handle pods of this class. The possible values
|
// implementation will use to handle pods of this class. The possible values
|
||||||
// are specific to the node & CRI configuration. It is assumed that all
|
// are specific to the node & CRI configuration. It is assumed that all
|
||||||
// handlers are available on every node, and handlers of the same name are
|
// handlers are available on every node, and handlers of the same name are
|
||||||
@ -57,17 +57,17 @@ message RuntimeClass {
|
|||||||
// For example, a handler called "runc" might specify that the runc OCI
|
// For example, a handler called "runc" might specify that the runc OCI
|
||||||
// runtime (using native Linux containers) will be used to run the containers
|
// runtime (using native Linux containers) will be used to run the containers
|
||||||
// in a pod.
|
// in a pod.
|
||||||
// The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements,
|
// The handler must be lowercase, conform to the DNS Label (RFC 1123) requirements,
|
||||||
// and is immutable.
|
// and is immutable.
|
||||||
optional string handler = 2;
|
optional string handler = 2;
|
||||||
|
|
||||||
// Overhead represents the resource overhead associated with running a pod for a
|
// overhead represents the resource overhead associated with running a pod for a
|
||||||
// given RuntimeClass. For more details, see
|
// given RuntimeClass. For more details, see
|
||||||
// https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
// https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
||||||
// +optional
|
// +optional
|
||||||
optional Overhead overhead = 3;
|
optional Overhead overhead = 3;
|
||||||
|
|
||||||
// Scheduling holds the scheduling constraints to ensure that pods running
|
// scheduling holds the scheduling constraints to ensure that pods running
|
||||||
// with this RuntimeClass are scheduled to nodes that support it.
|
// with this RuntimeClass are scheduled to nodes that support it.
|
||||||
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
// If scheduling is nil, this RuntimeClass is assumed to be supported by all
|
||||||
// nodes.
|
// nodes.
|
||||||
@ -82,7 +82,7 @@ message RuntimeClassList {
|
|||||||
// +optional
|
// +optional
|
||||||
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 schema objects.
|
// items is a list of schema objects.
|
||||||
repeated RuntimeClass items = 2;
|
repeated RuntimeClass items = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ package v1beta1
|
|||||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||||
var map_Overhead = map[string]string{
|
var map_Overhead = map[string]string{
|
||||||
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
"": "Overhead structure represents the resource overhead associated with running a pod.",
|
||||||
"podFixed": "PodFixed represents the fixed resource overhead associated with running a pod.",
|
"podFixed": "podFixed represents the fixed resource overhead associated with running a pod.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Overhead) SwaggerDoc() map[string]string {
|
func (Overhead) SwaggerDoc() map[string]string {
|
||||||
@ -39,9 +39,9 @@ func (Overhead) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClass = map[string]string{
|
var map_RuntimeClass = map[string]string{
|
||||||
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class",
|
"": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class",
|
||||||
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"handler": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
"handler": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.",
|
||||||
"overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
"overhead": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
|
||||||
"scheduling": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
"scheduling": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClass) SwaggerDoc() map[string]string {
|
func (RuntimeClass) SwaggerDoc() map[string]string {
|
||||||
@ -51,7 +51,7 @@ func (RuntimeClass) SwaggerDoc() map[string]string {
|
|||||||
var map_RuntimeClassList = map[string]string{
|
var map_RuntimeClassList = map[string]string{
|
||||||
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
"": "RuntimeClassList is a list of RuntimeClass objects.",
|
||||||
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"items": "Items is a list of schema objects.",
|
"items": "items is a list of schema objects.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
func (RuntimeClassList) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user