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

How to setup uptime-kuma sent metrics to google managed service for prometheus? #185

Open
xpo-mie opened this issue Dec 16, 2024 · 3 comments

Comments

@xpo-mie
Copy link

xpo-mie commented Dec 16, 2024

How to add ClusterIP: None ?

service:
  type: ClusterIP
  port: 3001
  nodePort:
  annotations: {}

because I try sent uptime-kuma metrics to google managed service for prometheus it's cloud not scrape metrics , Have any idea can use podmonitoring instead servicemonitor ? @dirsigler

example :

apiVersion: monitoring.googleapis.com/v1
kind: PodMonitoring
metadata:
  name: uptime
  namespace: monitoring
  labels:
    app.kubernetes.io/name: uptime
    app.kubernetes.io/part-of: google-cloud-managed-prometheus
spec:
  endpoints:
  - port: 3001
    scheme: http
    interval: 30s
    path: /metrics
    basicAuth: 
      password:
        secret:
          name: uptime
          key: password
  selector:
    matchLabels:
      app.kubernetes.io/name: uptime
@xpo-mie xpo-mie changed the title How to disable clusterIP when use helm chart? How to setup uptime-kuma sent metrics to google managed service for prometheus? Dec 18, 2024
@dirsigler
Copy link
Owner

If you want to have service.type as None you can change it up in the values.yaml.

But I don't know how to set it up properly for Google Clouds Prometheus offering.

@xpo-mie
Copy link
Author

xpo-mie commented Dec 18, 2024

If you want to have service.type as None you can change it up in the values.yaml.

But I don't know how to set it up properly for Google Clouds Prometheus offering.

Thanks for quick reply.

@xpo-mie
Copy link
Author

xpo-mie commented Dec 18, 2024

@dirsigler I changed service.type as None but error its shown unsupported None

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

No branches or pull requests

2 participants