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

linkerd: update prometheus URL based on the latest 2.10 changes #845

Merged
merged 5 commits into from
Mar 23, 2021

Conversation

Pothulapati
Copy link
Contributor

In Linkerd 2.10, The Prometheus instance moved into the viz
extension which is installed separately from the core
control-plane. This means that the prometheus now exists in
the linkerd-viz namespace by default unless overriden.

This PR updates the URl to reflect the same

Signed-off-by: Tarun Pothulapati tarunpothulapati@outlook.com

In Linkerd 2.10, The Prometheus instance moved into the `viz`
extension which is installed separately from the core
control-plane. This means that the prometheus now exists in
the `linkerd-viz` namespace by default unless overriden.

This PR updates the URl to reflect the same

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
@stefanprodan
Copy link
Member

@Pothulapati does this means the tutorial here will no longer work? https://docs.flagger.app/tutorials/linkerd-progressive-delivery I guess we need to specify the commands to install Linkerd and Prometheus in there

@stefanprodan
Copy link
Member

Can you please update the e2e tests also https://github.com/fluxcd/flagger/tree/main/test/linkerd

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
@stefanprodan
Copy link
Member

@Pothulapati can you please rebase with main, I've fixed the failing e2e test.

@stefanprodan
Copy link
Member

Thanks, now it fails like I've expected it:

dial tcp: lookup prometheus.linkerd-viz on 10.96.0.10:53: no such host

@Pothulapati
Copy link
Contributor Author

@stefanprodan Yep. Should I make this PR wait for the next stable release i.e 2.10 (will be released this week) and then update the version to 2.10 which should also make this PR green?

@stefanprodan
Copy link
Member

stefanprodan commented Mar 12, 2021

@Pothulapati thanks for this, can you please squash the commits?

This commit updates the linkerd version to `2.10`, along with
the install script to download the arm version.

It also updates the install script and metricsTempalte to install
and use the viz Prometheus respectively.

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
@stefanprodan stefanprodan merged commit ffef8ba into fluxcd:main Mar 23, 2021
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