struct
Kubernetes::NodeSpec
- Kubernetes::NodeSpec
- Struct
- Value
- Object
Overview
NodeSpec describes the attributes that a node is created with.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#config_source : NodeConfigSource | Nil
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.
-
#config_source=(config_source : NodeConfigSource | Nil)
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.
-
#external_id : String | Nil
Deprecated.
-
#external_id=(external_id : String | Nil)
Deprecated.
-
#pod_cid_rs : Array(String) | Nil
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.
-
#pod_cid_rs=(pod_cid_rs : Array(String) | Nil)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.
-
#pod_cidr : String | Nil
PodCIDR represents the pod IP range assigned to the node.
-
#pod_cidr=(pod_cidr : String | Nil)
PodCIDR represents the pod IP range assigned to the node.
-
#provider_id : String | Nil
ID of the node assigned by the cloud provider in the format:
:// -
#provider_id=(provider_id : String | Nil)
ID of the node assigned by the cloud provider in the format:
:// -
#taints : Array(Taint) | Nil
If specified, the node's taints.
-
#taints=(taints : Array(Taint) | Nil)
If specified, the node's taints.
-
#unschedulable : Bool | Nil
Unschedulable controls node schedulability of new pods.
-
#unschedulable=(unschedulable : Bool | Nil)
Unschedulable controls node schedulability of new pods.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
ID of the node assigned by the cloud provider in the format:
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration