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

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://127.0.0.1:36973/apis/monitoring.coreos.com/v1/namespaces/app/servicemonitors. Message: Not Found. #480

Open
cmoulliard opened this issue May 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cmoulliard
Copy link
Contributor

cmoulliard commented May 6, 2024

Issue

The job testing Quarkus Super Heroes https://github.com/halkyonio/primaza-poc/actions/runs/8940641775/job/24559664909 fails due to this error

Error:  Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://127.0.0.1:36973/apis/monitoring.coreos.com/v1/namespaces/app/servicemonitors. Message: Not Found.
Error:  	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:660)
Error:  	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:640)
Error:  	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:589)
Error:  	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$handleResponse$0(OperationSupport.java:549)

Ioannis Canellos: When this dep is present a ServiceMonitor will be included. I think that there is an an option to disable that if you dont have prometheus in your cluster.

Charles Moulliard: So something changed recently with latest quarkus releases as our job was working before. Thanks. We will check next Monday

// https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-heroes/pom.xml#L74C1-L77C18
    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-micrometer-registry-prometheus</artifactId>
    </dependency>
@cmoulliard cmoulliard added the bug Something isn't working label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants