workload selector should support set-based requirements
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- backend-api-design
Research direction
Start with type/v1beta1/selector.pb.go at the WorkloadSelector definition and inspect the other Istio API types that use it. Compare the current selector shape with Kubernetes LabelSelector and trace the affected API definitions. Done means set-based matchExpressions are supported while existing matchLabels behavior remains compatible.
Written by the indexing model from the issue text.
Description
(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
The type WorkloadSelector, used in many Istio type definitions, and defined here (https://github.com/istio/api/blob/1c84260bf409683cc7602dff2cd838d772f7f43b/type/v1beta1/selector.pb.go#L32) should align to the kubernetes LabelSelector1, which supports set based requirements.
so it would be possible to not only write expressions like:
selector:
matchLabels:
serving.kubeflow.org/inferenceservice: test-service
but also expressions like:
selector:
matchExpressions:
- key: "serving.knative.dev/service"
operator: Exists
Note that this enhancement would 100% back compatible and would like the istio behavior with the more general kubernetes behavior.
Describe alternatives you've considered
There isn't really an alternative for the problem I'm trying to serve.
Affected product area (please put an X in all that apply)
This api type appears in many APIs, not sure which all are, but like I said the change would be backward compatible.
[ ] Configuration Infrastructure
[x] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
Additional context
- Dominant language
- Go
- Stars
- 523
- Forks
- 623
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from istio/api
-
Gateway CRD accepts both credentialName and tlsCertificates in server TLS settingsPossibly taken @RaphaelFakhri claimed this 23 days ago. Openarea/networking area/user experience
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
area/user experience kind/docs kind/enhancement
Difficulty 5/5 Over a week Newbie friendliness 40/100
Maintainers usually reply within 1 day
-
area/networking area/user experience kind/docs kind/enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
[release-1.29] change default of statsCompression to trueMay be free again @keithmattix claimed this 304 days ago, and no pull request is open. Open
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
Similar issues
-
bug raised-by:verifier to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#7835 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
golang-malawi/qatarina#496 ·
Maintainers usually reply within 2 days
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
documentation stage:review
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
wso2/identity-customer-data-service#430 ·
Maintainers usually reply within 1 day