-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example without basic auth added. Same changes in 2.14 done
Signed-off-by: JadKHaddad <[email protected]>
- Loading branch information
1 parent
1c66de7
commit cb7886d
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,13 +140,22 @@ on the Prometheus instance to power the dashboard and CLI. | |
|
||
The `prometheusUrl` field gives you a single place through | ||
which all these components can be configured to an external Prometheus URL. | ||
This is allowed both through the CLI and Helm. If the external Prometheus is secured with basic auth, you can include the credentials in the URL as well. | ||
This is allowed both through the CLI and Helm. | ||
If the external Prometheus is secured with basic auth, | ||
you can include the credentials in the URL as well. | ||
|
||
### CLI | ||
|
||
This can be done by passing a file with the above field to the `values` flag, | ||
which is available through `linkerd viz install` command. | ||
|
||
```yaml | ||
prometheusUrl: http://existing-prometheus.namespace:9090 | ||
``` | ||
If the external Prometheus is secured with basic auth, you can include the | ||
credentials in the URL as well. | ||
```yaml | ||
prometheusUrl: http://username:[email protected]:9090 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,14 +141,23 @@ on the Prometheus instance to power the dashboard and CLI. | |
The `prometheusUrl` field gives you a single place through | ||
which all these components can be configured to an external Prometheus URL. | ||
This is allowed both through the CLI and Helm. | ||
If the external Prometheus is secured with basic auth, | ||
you can include the credentials in the URL as well. | ||
|
||
### CLI | ||
|
||
This can be done by passing a file with the above field to the `values` flag, | ||
which is available through `linkerd viz install` command. | ||
|
||
```yaml | ||
prometheusUrl: existing-prometheus.xyz:9090 | ||
prometheusUrl: http://existing-prometheus.namespace:9090 | ||
``` | ||
If the external Prometheus is secured with basic auth, you can include the | ||
credentials in the URL as well. | ||
```yaml | ||
prometheusUrl: http://username:[email protected]:9090 | ||
``` | ||
Once applied, this configuration is not persistent across installs. | ||
|