class K8S::Api::Core::V1::NodeSpec
- K8S::Api::Core::V1::NodeSpec
- Reference
- Object
Overview
NodeSpec describes the attributes that a node is created with.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.14/api/core/v1/node_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, config_source : Api::Core::V1::NodeConfigSource? = nil, external_id : String? = nil, pod_cidr : String? = nil, provider_id : String? = nil, taints : Array? = nil, unschedulable : Bool? = nil)
Instance Method Summary
- #config_source : Api::Core::V1::NodeConfigSource?
- #config_source=(config_source : Api::Core::V1::NodeConfigSource?)
- #external_id : String?
- #external_id=(external_id : String?)
- #pod_cidr : String?
- #pod_cidr=(pod_cidr : String?)
- #provider_id : String?
- #provider_id=(provider_id : String?)
- #taints : Array(Api::Core::V1::Taint)?
- #taints=(taints : Array(Api::Core::V1::Taint)?)
- #unschedulable : Bool?
- #unschedulable=(unschedulable : Bool?)
Constructor Detail
def self.new(*, config_source : Api::Core::V1::NodeConfigSource? = nil, external_id : String? = nil, pod_cidr : String? = nil, provider_id : String? = nil, taints : Array? = nil, unschedulable : Bool? = nil)
#