Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2796,7 +2796,7 @@ install-prometheus: get-prometheus ## Install Prometheus and Grafana
until $(KUBECTL_CMD) get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done
# We create additional custom RBAC rules because the defaults do not work
# in an RBAC enabled cluster such as KinD
# See: https://prometheus-operator.dev/docs/operator/rbac/
# See: https://prometheus-operator.dev/docs/platform/rbac/
$(KUBECTL_CMD) create -f $(SCRIPTS_DIR)/prometheus/prometheus-rbac.yaml
$(KUBECTL_CMD) create -f $(PROMETHEUS_HOME)/manifests
sleep 10
Expand Down
6 changes: 3 additions & 3 deletions examples/021_deployment/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -758,15 +758,15 @@ install any of the examples above.

==== Install Prometheus Operator

Install the Prometheus Operator, as documented in the Prometheus Operator https://prometheus-operator.dev/docs/getting-started/installation/[Quick Start] page. Prometheus can then be accessed as documented in the
https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md[Access Prometheus section of the Quick Start] page.
Install the Prometheus Operator, as documented in the Prometheus Operator
https://prometheus-operator.dev/docs/getting-started/installation/[Quick Start] page.

[NOTE]
====
*Using RBAC*

If installing Prometheus into RBAC enabled k8s clusters, you may need to create the required RBAC resources
as described in the https://prometheus-operator.dev/docs/operator/rbac/[Prometheus RBAC] documentation.
as described in the https://prometheus-operator.dev/docs/platform/rbac/[Prometheus RBAC] documentation.
The Coherence Operator contains an example that works with the out-of-the-box Prometheus Operator install
that we use for testing https://raw.githubusercontent.com/oracle/coherence-operator/main/hack/prometheus/prometheus-rbac.yaml[prometheus-rbac.yaml]
This yaml creates a `ClusterRole` with the required permissions and a `ClusterRoleBinding` that binds the role to the
Expand Down