struct

Kubernetes::PodGroupSchedulingConstraints

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

topology

Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future.

Source
topology=(topology : Array(TopologyConstraint) | Nil)

Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source