diff --git a/prometheus-autotune-ras/prom_ras.py b/prometheus-autotune-ras/prom_ras.py new file mode 100755 index 0000000..342277a --- /dev/null +++ b/prometheus-autotune-ras/prom_ras.py @@ -0,0 +1,345 @@ +#!/usr/bin/python3 + +# imports +import getopt +import sys +import time +import requests +import validators +import subprocess +from shutil import which +from datetime import datetime, date +from prettytable import PrettyTable + +# Constants + +CMD_KUBECTL = "kubectl" +CMD_CURL = "curl" +DEFAULT_NAMESPACE = "default" + + +def usage(): + print(""" + USAGE: + LONG: + prom_ras.py --podname="" --podsearch="" --container= --duration="