Giter VIP home page Giter VIP logo

Comments (5)

tmjd avatar tmjd commented on August 11, 2024 2

@zeysh When the operator next reconciles it would remove those (change the deployment back to what it expects), so I would expect your changes to get reverted at some point.

from operator.

tmjd avatar tmjd commented on August 11, 2024

We do want to add configuration for Typha prometheus.
The two options would be:

  • Add a TyphaMetricsPort to the Installation CRD (we already have NodeMetricsPort)
  • I think the preference would be to add a TyphaConfiguration CR (which doesn't exist yet) and then add configuration there, that would require a bit more work to add the new CR.

from operator.

alexharpin avatar alexharpin commented on August 11, 2024

I think the preference would be to add a TyphaConfiguration CR

TBH, that would be my preference, as it stays in keeping with the CR for FelixConfiguration (and would then allow config for other than the metrics port). At least I haven't missed anything obvious, I'll have a look at what's required and go from there.

from operator.

zeysh avatar zeysh commented on August 11, 2024

@cyclops8456 the workaround I use:

patch the calico-system/calico-typha deployment and add

- name: TYPHA_PROMETHEUSMETRICSENABLED
  value: "true"
- name: TYPHA_PROMETHEUSMETRICSPORT
  value: "9093"

to the env section for typha container.

from operator.

tmjd avatar tmjd commented on August 11, 2024

This is available now in the Installation CR as "TyphaMetricsPort" https://docs.projectcalico.org/reference/installation/api#operator.tigera.io/v1.InstallationSpec
Please comment if this does not meet your needs and I can re-open this.

from operator.

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.