diff --git a/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml b/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml
index 594ff3d4a..f918ded0b 100644
--- a/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml
+++ b/manifests/crc/BYODB-installation/minikube/kruize-crc-minikube.yaml
@@ -65,7 +65,7 @@ spec:
spec:
containers:
- name: kruize
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
diff --git a/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml b/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml
index 1e05697c6..efe1557b0 100644
--- a/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml
+++ b/manifests/crc/BYODB-installation/openshift/kruize-crc-openshift.yaml
@@ -65,7 +65,7 @@ spec:
spec:
containers:
- name: kruize
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
diff --git a/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml b/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml
index 2963ed20d..9e28c53e0 100644
--- a/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml
+++ b/manifests/crc/default-db-included-installation/minikube/kruize-crc-minikube.yaml
@@ -143,7 +143,7 @@ spec:
spec:
containers:
- name: kruize
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
@@ -208,7 +208,7 @@ spec:
spec:
containers:
- name: kruizecronjob
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
diff --git a/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml b/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml
index 49386b72c..43f235c76 100644
--- a/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml
+++ b/manifests/crc/default-db-included-installation/openshift/kruize-crc-openshift.yaml
@@ -189,7 +189,7 @@ spec:
serviceAccountName: kruize-sa
containers:
- name: kruize
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
@@ -261,7 +261,7 @@ spec:
spec:
containers:
- name: kruizecronjob
- image: kruize/autotune_operator:0.0.20_rm
+ image: kruize/autotune_operator:0.0.20.1_rm
imagePullPolicy: Always
volumeMounts:
- name: config-volume
diff --git a/pom.xml b/pom.xml
index 6c909f1c4..11d644b07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.autotune
autotune
- 0.0.20_mvp
+ 0.0.20.1_mvp
4.13.0
20201115
diff --git a/scripts/kruize_metrics.py b/scripts/kruize_metrics.py
index 8fc1b9ddb..b492d5a54 100644
--- a/scripts/kruize_metrics.py
+++ b/scripts/kruize_metrics.py
@@ -231,7 +231,6 @@ def job(queries_type,outputdir,server,prometheus_url=None):
writer.writerow(results_map)
def schedule_job(queries_type,server,prometheus_url):
- outputdir = "results"
if not os.path.exists(outputdir):
os.mkdir(outputdir)
numeric_time = int(time_duration[:-1])
@@ -268,8 +267,9 @@ def main(argv):
global resultsfile
global namespace
global prometheus_url
+ global outputdir
- parser = argparse.ArgumentParser(description='kruize_metrics.py -c -s -p -t