Skip to content

Drop workaround labels for matching all resources of a kind #11

Description

@negz

What problem are you facing?

The deployment function needs to match all InferenceEnvironments and all ModelPlacements as required resources. Crossplane's required resources API doesn't support matching all resources of a kind without a label selector (empty match_labels hits a protobuf bug), so we work around this by requiring presence labels:

The IE label is the worse of the two — it's a mandatory label with no semantic meaning that the platform team has to remember on every InferenceEnvironment.

How could Modelplane help solve your problem?

Once crossplane/crossplane#7241 is backported and released, drop both presence labels and use empty match_labels to match all resources of a kind.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions