Skip to content

Handle lookup issue when Prometheus is not present in Rancher cluster#385

Merged
tamalsaha merged 2 commits intomasterfrom
prom
May 30, 2024
Merged

Handle lookup issue when Prometheus is not present in Rancher cluster#385
tamalsaha merged 2 commits intomasterfrom
prom

Conversation

@RokibulHasan7
Copy link
Member

@RokibulHasan7 RokibulHasan7 commented May 30, 2024

It fixes this error:
executing "prometheus.mode" at <lookup "[monitoring.coreos.com/v1](http://monitoring.coreos.com/v1)" "Prometheus" "cattle-monitoring-system" "rancher-monitoring-prometheus">: error calling lookup: unable to get apiresource from unstructured: [monitoring.coreos.com/v1](http://monitoring.coreos.com/v1), Kind=Prometheus: the server could not find the requested resource

RokibulHasan7 and others added 2 commits May 30, 2024 21:23
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com>
Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha merged commit da9960c into master May 30, 2024
@tamalsaha tamalsaha deleted the prom branch May 30, 2024 17:48
tamalsaha added a commit that referenced this pull request Oct 31, 2024
…er (#385)

Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com>
Signed-off-by: Tamal Saha <tamal@appscode.com>
Co-authored-by: Tamal Saha <tamal@appscode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants