class K8S::Api::Core::V1::ResourceRequirements
- K8S::Api::Core::V1::ResourceRequirements
- Reference
- Object
Overview
ResourceRequirements describes the compute resource requirements.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/api/core/v1/resource_requirements.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, limits : Hash(String, Int32 | String)? = nil, requests : Hash(String, Int32 | String)? = nil)
Instance Method Summary
- #limits : Hash(String, Int32 | String)?
- #limits=(limits : Hash(String, Int32 | String)?)
- #requests : Hash(String, Int32 | String)?
- #requests=(requests : Hash(String, Int32 | String)?)
Constructor Detail
def self.new(*, limits : Hash(String, Int32 | String)? = nil, requests : Hash(String, Int32 | String)? = nil)
#