Support In, NotIn requirements in label selector in kubernetes-server-mock
See original GitHub issueIs your enhancement related to a problem? Please describe
kubernetes-server-mock doesn’t support In
, NotIn
requirements in label selector
Describe the solution you’d like
I guess first need add supporting to https://github.com/fabric8io/mockwebserver
- add
IN
,NOT_IN
AttributeType’s - add supporting
IN
,NOT_IN
AttributeType’s to io.fabric8.mockwebserver.crud.AttributeSet#matches
And then add support to kubernetes-server-mock
- support parsing new AttributeType’s in io.fabric8.kubernetes.client.server.mock.KubernetesAttributesExtractor#extractLabelSelector
Describe alternatives you’ve considered
No response
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
Labels and Selectors - Kubernetes
A label selector can be made of multiple requirements which are ... Three kinds of operators are supported: in , notin and exists...
Read more >Kubernetes Label Selector and Field Selector - MayaData Blog
In this blog, I will explain how label and field selectors will help you in understanding how they work and how they can...
Read more >Using Namespaces and Selectors With the Kubernetes Java API
Labels are special fields that contain arbitrary key/value pairs that we can add to any Kubernetes resource as part of its creation. Label...
Read more >Kubernetes in Practice - TechLibrary - Juniper Networks
We've learned that a particular pod or group of pods with matching labels are chosen to be the backend through label selector, so...
Read more >How does Selector Works in Kubernetes? - eduCBA
Kubernetes selector allows us to select Kubernetes resources based on the value of labels and resource fields assigned to a group of pods...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ortex : I would appreciate it if you could contribute to this feature.
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!