Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple namespaces for watchNamespace argument #2923

Closed
herrbpl opened this issue Dec 12, 2022 · 7 comments
Closed

Support for multiple namespaces for watchNamespace argument #2923

herrbpl opened this issue Dec 12, 2022 · 7 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@herrbpl
Copy link

herrbpl commented Dec 12, 2022

Is your feature request related to a problem?
Currently it is possible only to specify single namespace to watch. Or leave value unspecified to watch all namespaces. But sometimes more flexibility is needed. Like watching 2 or three namespaces but not all.

Describe the solution you'd like
Change watchNamespace option to stringList and watch multiple namespaces with single instance

Describe alternatives you've considered
I considered adding multiple instances running with different configuration but this is no go because this adds requirement to create multiple LB-s instead of having one.

@kishorj
Copy link
Collaborator

kishorj commented Dec 28, 2022

@herrbpl, the watchNamespace feature is provided by controller-runtime and currently it doesn't support multiple namespaces. What is your use-case for multiple namespaces?

@herrbpl
Copy link
Author

herrbpl commented Jan 5, 2023

Hi. For example we have case where we don't want users to give direct access to create AWS objects via service or ingress objects, we actually use NGINX ingress controller behind ALB (created/configured via AWS LB Controller) but for system apps we might need to create AWS objects from more than one namespace (ie, ALB for NINGX ingress, another ALB for ArgoCD etc). So there are lot of cases where you want to limit list of watched namespaces but not to single namespace only.

I understand if this introduces some additional work however, it should be pretty standard stuff to watch multiple namespaces instead of all/single. Hope you can take it into works.

@kishorj
Copy link
Collaborator

kishorj commented Jan 11, 2023

@herrbpl, in v2.5.0 release, we plan to support running multiple controller deployments in the cluster - this will allow you to have a specific controller watch a particular namespace. Feature #2185.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 12, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 12, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2023
@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants