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, String)?
- #limits=(limits : Hash(String, String)?)
- #requests : Hash(String, String)?
- #requests=(requests : Hash(String, String)?)