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

initial version for Talos metric scraping How To #10094

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Hr46ph
Copy link

@Hr46ph Hr46ph commented Jan 7, 2025

Pull Request

What? (description)

Added new file website/content/v1.10/talos-guides/howto/monitoring.md as requested here:
#7214 (comment)

Why? (reasoning)

The steps will help the community to succesfully monitor Talos Linux Kubernetes parts.

Acceptance

Please use the following checklist:

  • you linked an issue (if applicable)
  • you included tests (if applicable)
  • you ran conformance (make conformance)
  • you formatted your code (make fmt)
  • you linted your code (make lint)
  • you generated documentation (make docs)
  • you ran unit-tests (make unit-tests)

See make help for a description of the available targets.

- op: add
path: /cluster/etcd/extraArgs
value:
listen-metrics-urls: https://0.0.0.0:2379
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say probably it might be easier to listen for metrics on a separate non-https url, e.g. http://0.0.0.0:10003 (whatever port), so that drops the requirement to extract etcd certs and put them into the cluster (which I think a security risk on its own).

Instead, the port can be blocked from the outside via https://www.talos.dev/v1.9/talos-guides/network/ingress-firewall/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thats interesting and indeed an easier / better way! Thanks, I will give that a try and update the how to.

@smira smira requested review from TimJones and alongwill January 13, 2025 13:50
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

Successfully merging this pull request may close these issues.

2 participants