Skip to content

Commit

Permalink
adjust prometheus-k8s service openshift.io/description
Browse files Browse the repository at this point in the history
  • Loading branch information
machine424 committed Mar 8, 2024
1 parent 5342dee commit de4be69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Expose the `prometheus-adapter` web server on port 443. This port is for interna

Expose the Prometheus web server within the cluster on the following ports:
* Port 9091 provides access to all the Prometheus endpoints. Granting access requires binding a user to the `cluster-monitoring-view` cluster role.
* Port 9092 provides access the `/metrics` endpoint only. This port is for internal use, and no other usage is guaranteed.
* Port 9092 provides access the `/metrics` and `/federate` endpoints only. This port is for internal use, and no other usage is guaranteed.

=== openshift-user-workload-monitoring/prometheus-operator

Expand Down
2 changes: 1 addition & 1 deletion Documentation/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Expose the `prometheus-adapter` web server on port 443. This port is for interna

Expose the Prometheus web server within the cluster on the following ports:
* Port 9091 provides access to all the Prometheus endpoints. Granting access requires binding a user to the `cluster-monitoring-view` cluster role.
* Port 9092 provides access the `/metrics` endpoint only. This port is for internal use, and no other usage is guaranteed.
* Port 9092 provides access the `/metrics` and `/federate` endpoints only. This port is for internal use, and no other usage is guaranteed.

### openshift-user-workload-monitoring/prometheus-operator

Expand Down
2 changes: 1 addition & 1 deletion assets/prometheus-k8s/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
openshift.io/description: |-
Expose the Prometheus web server within the cluster on the following ports:
* Port 9091 provides access to all the Prometheus endpoints. Granting access requires binding a user to the `cluster-monitoring-view` cluster role.
* Port 9092 provides access the `/metrics` endpoint only. This port is for internal use, and no other usage is guaranteed.
* Port 9092 provides access the `/metrics` and `/federate` endpoints only. This port is for internal use, and no other usage is guaranteed.
service.beta.openshift.io/serving-cert-secret-name: prometheus-k8s-tls
labels:
app.kubernetes.io/component: prometheus
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/components/prometheus.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function(params)
|||
Expose the Prometheus web server within the cluster on the following ports:
* Port %d provides access to all the Prometheus endpoints. %s
* Port %d provides access the `/metrics` endpoint only. This port is for internal use, and no other usage is guaranteed.
* Port %d provides access the `/metrics` and `/federate` endpoints only. This port is for internal use, and no other usage is guaranteed.
||| % [
$.service.spec.ports[0].port,
requiredClusterRoles(['cluster-monitoring-view'], true),
Expand Down

0 comments on commit de4be69

Please sign in to comment.