struct RailsApp::Entrypoints::Resources::Limits
- RailsApp::Entrypoints::Resources::Limits
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
rails_app_operator.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, cpu : Nil | String = nil, memory : Nil | String = nil)
Instance Method Summary
-
#cpu : String | Nil
The number of CPU cores or fractions of a core.
-
#memory : String | Nil
The amount of bytes of memory expressed as a string using IEC prefixes.
Constructor Detail
Instance Method Detail
def cpu : String | Nil
#
The number of CPU cores or fractions of a core.
Examples:
- "1" # 1 CPU core
- "500m" # 500 millicores, half of a CPU core