Browse Source

deploy metrics

master
Nicolas Massé 8 years ago
parent
commit
fe354cf4f8
  1. 9
      allinone.hosts
  2. 5
      allinone.yml

9
allinone.hosts

@ -18,7 +18,6 @@ openshift_master_default_subdomain=app.openshift.test
# The SSH user that Ansible will use to run playbooks # The SSH user that Ansible will use to run playbooks
ansible_ssh_user=redhat ansible_ssh_user=redhat
[masters] [masters]
openshift36.openshift.test openshift36.openshift.test
@ -70,3 +69,11 @@ openshift_additional_projects={}
# Choose the default networking plugin so that all projects can communicate with eachother # Choose the default networking plugin so that all projects can communicate with eachother
os_sdn_network_plugin_name='redhat/openshift-ovs-subnet' os_sdn_network_plugin_name='redhat/openshift-ovs-subnet'
# Deploy the metrics
openshift_metrics_install_metrics=True
openshift_metrics_start_cluster=True
# Metrics storage is provisioned through the hostpath-provisioner
openshift_metrics_cassandra_pvc_size=10Gi
openshift_metrics_cassandra_storage_type=dynamic

5
allinone.yml

@ -15,6 +15,11 @@
# Launch the OpenShift Installer Playbook # Launch the OpenShift Installer Playbook
- include: "./openshift-ansible/playbooks/byo/config.yml" - include: "./openshift-ansible/playbooks/byo/config.yml"
- include: "./openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml"
vars:
# The hostname to allocate to hawkular (one of the components enabling metrics monitoring)
openshift_metrics_hawkular_hostname: "{{ 'hawkular-metrics.' ~ lab_dns_suffix }}"
- name: Customize the OpenShift installation - name: Customize the OpenShift installation
hosts: allinone hosts: allinone
become: yes become: yes

Loading…
Cancel
Save