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

Needs Prometheus Storage as well #29

Open
wkulhanek opened this issue Jul 13, 2018 · 2 comments
Open

Needs Prometheus Storage as well #29

wkulhanek opened this issue Jul 13, 2018 · 2 comments
Labels
RFE New feature or request

Comments

@wkulhanek
Copy link

wkulhanek commented Jul 13, 2018

I would suggest adding Prometheus Storage, too.
Prometheus with gluster-block and Alertmanager/Alertbuffer with glusterfs (or maybe also gluster-block - don't know what is recommended here).

Finally why not set openshift_storage_glusterfs_storageclass_default=true?

@netzzer
Copy link
Collaborator

netzzer commented Jul 13, 2018

Agree with the need to add Prometheus support.

Current working decision is to specify the desired storageclass using inventory file options. If you want to make it default can change inventory file options from false->true before deployment or edit storageclass after deployment and add annotations: for making it the default SC (can only have one default SC per OCP instance).

@ramkrsna ramkrsna added the RFE New feature or request label Jul 31, 2018
@netzzer
Copy link
Collaborator

netzzer commented Aug 1, 2018

These inventory file options work for OCP 3.10. If we add Prometheus support need to know if gluster-block volumes are desired and adjust calculation for block_host_vol_size to add these 3 blockvolumes.

# prometheus
openshift_hosted_prometheus_deploy=true
openshift_prometheus_node_selector={"node-role.kubernetes.io/infra": "true"}
openshift_prometheus_namespace=openshift-metrics
openshift_prometheus_storage_kind=dynamic
openshift_prometheus_storage_class=glusterfs-registry-block
openshift_prometheus_storage_volume_size=20Gi
openshift_prometheus_storage_access_modes=['ReadWriteOnce']
openshift_prometheus_storage_volume_name=prometheus
openshift_prometheus_storage_type='pvc'

# prometheus-alertmanager
openshift_prometheus_alertmanager_storage_kind=dynamic
openshift_prometheus_alertmanager_storage_class=glusterfs-registry-block
openshift_prometheus_alertmanager_storage_access_modes=['ReadWriteOnce']
openshift_prometheus_alertmanager_storage_volume_size=10Gi
openshift_prometheus_alertmanager_storage_volume_name=prometheus-alertmanager
openshift_prometheus_alertmanager_storage_type='pvc'

# prometheus-alertbuffer
openshift_prometheus_alertbuffer_storage_kind=dynamic
openshift_prometheus_alertbuffer_storage_class=glusterfs-registry-block
openshift_prometheus_alertbuffer_storage_access_modes=['ReadWriteOnce']
openshift_prometheus_alertbuffer_storage_volume_name=prometheus-alertbuffer
openshift_prometheus_alertbuffer_storage_volume_size=10Gi
openshift_prometheus_alertbuffer_storage_type='pvc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants