-
Notifications
You must be signed in to change notification settings - Fork 10
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
Workload Check ignores Namespace name filter #45
Comments
This is really strange. Maybe it's related to the Rancher version. On Rancher 2.5 the check seems to work correctly. Two "nginx" workloads deployed across two namespaces (infiniroot and infinoroot2). Standard check without giving a namespace identifies two workloads with the same name:
Workload check by defining the namespaces:
Workload check with an invalid (not existing) namespace:
At least for Rancher 2.5 this looks correct. I will verify with a Rancher 2.7 or 2.8 version, too. |
Tested with Rancher 2.8, seems to work (same behaviour as for Rancher 2.5):
Can you run this again in your environment and share the output please? |
Ah, now I see it. You didn't want to check a specific workload ( Yes, in this case the status quo is that this isn't supported. The Current workaround: Place the test workloads in a separate project or define the workloads you want to monitor with |
Yeah exactly, I tried to monitor ALL workloads in a namespace. Sad that this ins't supported. So may I can let it open as a feature request? |
Yes we can keep it open. The feature request makes total sense to me. |
First, thanks for your awesome rancher check plugin.
I found out, that the --namespacename (-n) filter is totally ignored for workload checks.
I have a project with 3 namespaces, I only want to check one of this namesspaces, because the other are only test workloads of this project.
->both checks find all workloads in that project
-> this check works also, nevertheless "dontexistingnamespace" doesn't exist
I use the latest version of plugin (1.12.1) and connect to a Rancher v2.7.9
The text was updated successfully, but these errors were encountered: