struct

Kubernetes::NodeSpec

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

NodeSpec describes the attributes that a node is created with.

Constructors

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)

Instance methods

config_source

Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.

Source
config_source=(config_source : NodeConfigSource | Nil)

Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.

Source
external_id

Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

Source
external_id=(external_id : String | Nil)

Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

Source
pod_cid_rs

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.

Source
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. 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.

Source
pod_cidr

PodCIDR represents the pod IP range assigned to the node.

Source
pod_cidr=(pod_cidr : String | Nil)

PodCIDR represents the pod IP range assigned to the node.

Source
provider_id

ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>

Source
provider_id=(provider_id : String | Nil)

ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>

Source
taints

If specified, the node's taints.

Source
taints=(taints : Array(Taint) | Nil)

If specified, the node's taints.

Source
unschedulable

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

Source
unschedulable=(unschedulable : Bool | Nil)

Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source