Giter VIP home page Giter VIP logo

Comments (16)

loburm avatar loburm commented on June 29, 2024 3

The problem is in kubernetes/kubernetes#54783. This change includes changes to configuration that 1.7 was not supporting. I'm going to prepare a fix, but we will need to wait until next release.

Sorry for inconvenience.

from k8s-stackdriver.

arthurk avatar arthurk commented on June 29, 2024 3

Any update on this? I'm running a new GKE v1.14.10-gke.27 cluster (which is deploying prometheus-to-sd:v0.4.2) and the problem is still occuring

from k8s-stackdriver.

loburm avatar loburm commented on June 29, 2024 2

Sure.
Btw. I have create a PR for 1.7 that should fix an issue. Hopefully it's going to be included into the next patch release. kubernetes/kubernetes#58959

from k8s-stackdriver.

avinashsi avatar avinashsi commented on June 29, 2024 1

@loburm Can you please kindly give an update or is there any temporary workaround/fix for this problem as this is open for too long.

from k8s-stackdriver.

ghattrell avatar ghattrell commented on June 29, 2024

Experiencing the same problem myself.

from k8s-stackdriver.

johnpena avatar johnpena commented on June 29, 2024

Been experiencing this issue as well. Fairly annoying, seems like a stackdriver bug.

from k8s-stackdriver.

loburm avatar loburm commented on June 29, 2024

Actually looks like configuration of prometheus-to-sd is broken. Parameters in yaml files are not replaced by correct values.

Investigating...

from k8s-stackdriver.

loburm avatar loburm commented on June 29, 2024

Looks like 1.8 is not affected, I was able to find this problem only on 1.7. If anyone has this problem on other cluster please notify me.

from k8s-stackdriver.

tomoe avatar tomoe commented on June 29, 2024

In GKE context, dos this manifest as stackdriver monitoring being unable to see metrics for GKE pods?

from k8s-stackdriver.

loburm avatar loburm commented on June 29, 2024

@tomoe not sure that I have understood your question. Heapster should work without any problem. The only problem that in GKE we are not able to collect system metrics related to the fluentd.

from k8s-stackdriver.

tomoe avatar tomoe commented on June 29, 2024

Thanks @loburm. Pls disregard my question. I think I was confusing heapster with fluentd.

from k8s-stackdriver.

bkw avatar bkw commented on June 29, 2024

This doesn't seem to be limited to 1.7.

We are observing this on multiple GKE clusters. The one most recently created runs 1.11.6-gke.2 with kube-dns using gcr.io/google-containers/prometheus-to-sd:v0.2.3 with the following config:

/monitor
  --component=kubedns
  --target-port=10054
  --stackdriver-prefix=container.googleapis.com/internal/addons
  --api-override=https://monitoring.googleapis.com/
  --whitelisted-metrics=probe_kubedns_latency_ms,probe_kubedns_errors,dnsmasq_misses,dnsmasq_hits
  --pod-id=$(POD_NAME)
  --namespace-id=$(POD_NAMESPACE)
  --v=2 

Error Message every 10s:

E0116 18:52:47.901658 1 stackdriver.go:58] Error while sending request to Stackdriver Post /v3/projects/our-organisation-name/timeSeries?alt=json: unsupported protocol scheme ""

from k8s-stackdriver.

loburm avatar loburm commented on June 29, 2024

I believe that's due to fact that kubedns is using very old image of prometheus-to-sd. I'll create internal issue for folks to fix it. Thank you for noticing.

from k8s-stackdriver.

pradeeppandeyy avatar pradeeppandeyy commented on June 29, 2024

same issue Error while sending request to Stackdriver Post /v3/projects/***/timeSeries?alt=json: unsupported protocol scheme """

from k8s-stackdriver.

jakebolam avatar jakebolam commented on June 29, 2024

Still seeing this on 1.12.6-gke.10

Also accompanied by the error

Error while fetching metric descriptors for kubedns: Get /v3/projects/together-k8s-staging/metricDescriptors?alt=json&filter=metric.type+%3D+starts_with%28%22%7B%7B+prometheus_to_sd_prefix+%7D%7D%2Faddons%2Fkubedns%22%29:

from k8s-stackdriver.

mwieczorek avatar mwieczorek commented on June 29, 2024

@loburm
On 1.12.6-gke.10 I see prometheus-to-sd:v0.4.2 (so version released after your last comment).
Do you have any update on this?

from k8s-stackdriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.