question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support In, NotIn requirements in label selector in kubernetes-server-mock

See original GitHub issue

Is 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:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
rohanKanojiacommented, May 16, 2022

@ortex : I would appreciate it if you could contribute to this feature.

0reactions
stale[bot]commented, Nov 12, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found