Giter Club home page Giter Club logo

Comments (5)

tehlers320 avatar tehlers320 commented on June 24, 2024 1

I have it building here with controller 0.11.0 but it forced upgrading to 0.23.2 tehlers320@c22e251

from kubefed.

tehlers320 avatar tehlers320 commented on June 24, 2024 1

@irfanurrehman #1492 but it jumps golang versions (i couldnt get it working on 1.16, maybe it was my workstation not sure) and it jumps module versions skipping .22

I also cant get the CLA thing working even though i've signed everything.

with the help from @cebernardi we took out the golang version jump controller 0.10.3 seems to also remove the metrics.

from kubefed.

tehlers320 avatar tehlers320 commented on June 24, 2024

https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.10.0 <--- this version turns off the rest metric by default.

So it may be as simple as upgrading. https://github.com/kubernetes-sigs/kubefed/blob/master/go.mod#L28

Once upgrading to 0.10.0 to keep the rest_ metrics it looks like we must

	// Deprecated: This metric is deprecated for removal in a future release: using the URL as a
	// dimension results in cardinality explosion for some consumers. It was deprecated upstream
	// in k8s v1.14 and hidden in v1.17 via https://github.com/kubernetes/kubernetes/pull/83836.
	// It is not registered by default. To register:
	//	import (
	//		clientmetrics "k8s.io/client-go/tools/metrics"
	//		clmetrics "sigs.k8s.io/controller-runtime/metrics"
	//	)
	//
	//	func init() {
	//		clmetrics.Registry.MustRegister(clmetrics.RequestLatency)
	//		clientmetrics.Register(clientmetrics.RegisterOpts{
	//			RequestLatency: clmetrics.LatencyAdapter
	//		})
	//	}

from kubefed.

irfanurrehman avatar irfanurrehman commented on June 24, 2024

@tehlers320 thanks for pointing out the issue. Would you be able to post a PR with the upgrade for the package. It seems you have already done it privately.

from kubefed.

tehlers320 avatar tehlers320 commented on June 24, 2024

@irfanurrehman #1492 but it jumps golang versions (i couldnt get it working on 1.16, maybe it was my workstation not sure) and it jumps module versions skipping .22

I also cant get the CLA thing working even though i've signed everything.

from kubefed.

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.