class K8S::Api::Core::V1::ResourceRequirements
- K8S::Api::Core::V1::ResourceRequirements
- Reference
- Object
Overview
ResourceRequirements describes the compute resource requirements.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/resource_requirements.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, limits : Hash(String, String)? = nil, requests : Hash(String, 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)?)