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

Make blackbox-exporter launcher a clickable link #289

Merged

Conversation

clcollins
Copy link
Member

This PR makes the output of the blackbox-exporter launcher script
output a clickable link in the style of the cluster-console script.

Signed-off-by: Chris Collins collins.christopher@gmail.com

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 30, 2024
This PR makes the output of the `blackbox-exporter` launcher script
output a clickable link in the style of the `cluster-console` script.

Signed-off-by: Chris Collins <collins.christopher@gmail.com>
Replaces the `0.0.0.0` with `127.0.0.1` in the blackbox-exporter output.
This does not functionally change anything, but matches the external
expectations that 127.0.0.1 is the port in use, to avoid confusion. The
internal address for the port forward has to be 0.0.0.0 or it will be
unavailable outside of the container.  However, the external port map is
still 127.0.0.1, and only available on the local machine, whether
accessed via 127.0.0.1 or 0.0.0.0 in the browser.

Signed-off-by: Chris Collins <collins.christopher@gmail.com>
@clcollins
Copy link
Member Author

/retest

@rendhalver
Copy link
Contributor

Nice! Thanks Chris!
Copied it into my container and it's working as expected.

[~ {prod} ]$ ocm backplane login osd-v4stg-aws
[~ {prod} (osd-v4stg-aws.z9a9.p1:default)]$ ./scratch/bin/blackbox-exporter 
== Blackbox exporter is available at http://127.0.0.1:38501 ==
Handling connection for 9999

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 30, 2024
Copy link
Contributor

openshift-ci bot commented May 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, rendhalver

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [clcollins,rendhalver]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rendhalver
Copy link
Contributor

/retest

@rendhalver
Copy link
Contributor

The builds look to be failing on the gpg key for the gcloud-sdk repo.
We aren't using that and we can install it from backplane-tools anyway so we will do that.
Step one is in #290.

@rendhalver
Copy link
Contributor

/retest

@openshift-merge-bot openshift-merge-bot bot merged commit 211f888 into openshift:master May 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants