-
Notifications
You must be signed in to change notification settings - Fork 7
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
[OCP 3.11] Add Inventory file options to support default prometheus deployment #56
Comments
If two cluster solution then storageclass name would be 'gluster-registry-block'. |
Currently by default there are two prometheus pods and three alertmanager installed. Each pod is using the storage as RWO therefore you 2xPVCs for prometheus and 3xPVCs for alertmanager. For example above this would be 2x30GB and 3x5GB that would use the block_host_volume as glusterblock volumes. |
OCP 3.11 Release notes. Prometheus fully supported, Metrics deprecated. OCP 3.11 Prometheus and Logging support - https://docs.openshift.com/container-platform/3.11/release_notes/ocp_3_11_release_notes.html#ocp-311-metrics-and-logging Also, in same OCP 3.11 Release notes Hawkular is now deprecated and will be removed in a future release. |
For OCP 3.11.16 by default prometheus+grafana are installed and launched from the System Console. The inventory file options below will change the default storage for the operator deployment of prometheus from emptyDir to persistent storage. Currently (OCP 3.11.16) storage will be claimed from the default storageclass. There is a PR - openshift/openshift-ansible#10387 - to use gluster storage by specifying the storageclass. I made the changes to the two files as detailed in this PR, tested using adhoc openshift-monitoring/config.yml playbook and it worked without default storageclass. Will be solution when released in OCP patch release to NOT have to use default storageclass.
OCP documentation - https://docs.openshift.com/container-platform/3.11/install_config/prometheus_cluster_monitoring.html#persistent-storage
Here are the inventory file options and the result with the glustefs-storage-block as the default storageclass.
Added to my OCP 3.11 inventory file for operator deployment
When PR - openshift/openshift-ansible#10387 is merged and OCP GA rpms have PR changes.
The text was updated successfully, but these errors were encountered: