1
0
Fork 0
forked from infra/ansible

application-monitoring: retire app

We never deployed this in the new clusters since we moved and the folks
who were working on it have left. If we want to revive it later, we can
always pull it out of git history.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2026-07-07 15:38:59 -07:00
commit 3ddb342c58
19 changed files with 0 additions and 16538 deletions

View file

@ -1,45 +0,0 @@
---
- name: Make the app be real
hosts: os_masters_stg[0] # only in staging for the ARC deployment
user: root
gather_facts: false
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
# oc new-project application-monitoring
- role: openshift/project
project_app: application-monitoring
project_description: Hosts the application monitoring operator
project_appowners:
- asaleh
- siddharthvipul1
post_tasks:
- name: Apply node labels
ansible.builtin.command: oc label --overwrite namespace application-monitoring monitoring-key=cpe
- name: Apply node labels for bodhi POC
ansible.builtin.command: oc label --overwrite namespace bodhi monitoring-key=cpe
- name: Make other pods available to the application-monitoring project
ansible.builtin.command: oc adm pod-network make-projects-global application-monitoring
- name: Copy files
ansible.builtin.copy:
src: "{{ roles_path }}/openshift-apps/application-monitoring/files/ dest=/etc/openshift_apps/application-monitoring/"
- name: Prometheus CRDs
ansible.builtin.command: oc -n application-monitoring apply -f /etc/openshift_apps/application-monitoring/prometheus-operator/example/prometheus-operator-crd/
- name: Prometheus CRD RBAC
ansible.builtin.command: oc -n application-monitoring apply -f /etc/openshift_apps/application-monitoring/prometheus-operator/example/rbac/prometheus-operator-crd/
- name: Prometheus Operator RBAC
ansible.builtin.command: oc -n application-monitoring apply -f /etc/openshift_apps/application-monitoring/prometheus-operator/example/rbac/prometheus-operator/
- name: Prometheus RBAC
ansible.builtin.command: oc -n application-monitoring apply -f /etc/openshift_apps/application-monitoring/prometheus-operator/example/rbac/prometheus/