class K8S::Api::Core::V1::Toleration
- K8S::Api::Core::V1::Toleration
- Reference
- Object
Overview
The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/toleration.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, effect : String? = nil, key : String? = nil, operator : String? = nil, toleration_seconds : Int32? = nil, value : String? = nil)
Instance Method Summary
- #effect : String?
- #effect=(effect : String?)
- #key : String?
- #key=(key : String?)
- #operator : String?
- #operator=(operator : String?)
- #toleration_seconds : Int32?
- #toleration_seconds=(toleration_seconds : Int32?)
- #value : String?
- #value=(value : String?)
Constructor Detail
def self.new(*, effect : String? = nil, key : String? = nil, operator : String? = nil, toleration_seconds : Int32? = nil, value : String? = nil)
#