Skip to content

Commit 5002f21

Browse files
paigerube14chaitanyaenr
authored andcommitted
removing dashboard installation
Signed-off-by: Paige Patton <prubenda@redhat.com>
1 parent 62c5afa commit 5002f21

File tree

7 files changed

+1
-50
lines changed

7 files changed

+1
-50
lines changed

CI/config/common_test_config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ cerberus:
1010
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal.
1111

1212
performance_monitoring:
13-
deploy_dashboards: False # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift.
14-
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
1513
capture_metrics: False
1614
metrics_profile_path: config/metrics-aggregated.yaml
1715
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.

config/config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ cerberus:
5757
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
5858

5959
performance_monitoring:
60-
deploy_dashboards: False # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
61-
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
62-
prometheus_url: '' # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
60+
prometheus_url: '' # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
6361
prometheus_bearer_token: # The bearer token is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes. This is needed to authenticate with prometheus.
6462
uuid: # uuid for the run is generated by default if not set
6563
enable_alerts: False # Runs the queries specified in the alert profile and displays the info or exits 1 when severity=error

config/config_kind.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ cerberus:
1616
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
1717

1818
performance_monitoring:
19-
deploy_dashboards: False # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
20-
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
2119
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
2220
prometheus_bearer_token: # The bearer token is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes. This is needed to authenticate with prometheus.
2321
uuid: # uuid for the run is generated by default if not set

config/config_kubernetes.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ cerberus:
1717
check_applicaton_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
1818

1919
performance_monitoring:
20-
deploy_dashboards: False # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
21-
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
2220
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
2321
prometheus_bearer_token: # The bearer token is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes. This is needed to authenticate with prometheus.
2422
uuid: # uuid for the run is generated by default if not set

krkn/performance_dashboards/__init__.py

Whitespace-only changes.

krkn/performance_dashboards/setup.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

run_kraken.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from krkn_lib.models.elastic import ElasticChaosRunTelemetry
1717
from krkn_lib.models.krkn import ChaosRunOutput, ChaosRunAlertSummary
1818
from krkn_lib.prometheus.krkn_prometheus import KrknPrometheus
19-
import krkn.performance_dashboards.setup as performance_dashboards
2019
import krkn.prometheus as prometheus_plugin
2120
import server as server
2221
from krkn_lib.k8s import KrknKubernetes
@@ -69,14 +68,6 @@ def main(cfg) -> int:
6968
wait_duration = get_yaml_item_value(config["tunings"], "wait_duration", 60)
7069
iterations = get_yaml_item_value(config["tunings"], "iterations", 1)
7170
daemon_mode = get_yaml_item_value(config["tunings"], "daemon_mode", False)
72-
deploy_performance_dashboards = get_yaml_item_value(
73-
config["performance_monitoring"], "deploy_dashboards", False
74-
)
75-
dashboard_repo = get_yaml_item_value(
76-
config["performance_monitoring"],
77-
"repo",
78-
"https://github.com/cloud-bulldozer/performance-dashboards.git",
79-
)
8071

8172
prometheus_url = config["performance_monitoring"].get("prometheus_url")
8273
prometheus_bearer_token = config["performance_monitoring"].get(
@@ -240,10 +231,6 @@ def main(cfg) -> int:
240231

241232
logging.info("Server URL: %s" % kubecli.get_host())
242233

243-
# Deploy performance dashboards
244-
if deploy_performance_dashboards:
245-
performance_dashboards.setup(dashboard_repo, distribution)
246-
247234
# Initialize the start iteration to 0
248235
iteration = 0
249236

0 commit comments

Comments
 (0)