summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/templates
diff options
context:
space:
mode:
authorJeff Cantrill <jcantrill@users.noreply.github.com>2017-01-06 11:27:18 -0500
committerJeff Cantrill <jcantril@redhat.com>2017-01-17 11:45:04 -0500
commitb097d9f595c378ce35a2d35f2bd4749c3aa5d77d (patch)
tree959b633ad3697912e37d6aa1a3bc3854ec1c95fe /roles/openshift_metrics/templates
parent1e8928c96627218fdc422bfa3731f790699abfbb (diff)
downloadopenshift-b097d9f595c378ce35a2d35f2bd4749c3aa5d77d.tar.gz
openshift-b097d9f595c378ce35a2d35f2bd4749c3aa5d77d.tar.bz2
openshift-b097d9f595c378ce35a2d35f2bd4749c3aa5d77d.tar.xz
openshift-b097d9f595c378ce35a2d35f2bd4749c3aa5d77d.zip
set replicas to current value so not to disrupt current pods (#13)
Diffstat (limited to 'roles/openshift_metrics/templates')
-rw-r--r--roles/openshift_metrics/templates/hawkular_cassandra_rc.j22
-rw-r--r--roles/openshift_metrics/templates/hawkular_metrics_rc.j22
-rw-r--r--roles/openshift_metrics/templates/heapster.j22
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2 b/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2
index 9a1c446cd..48ef3290d 100644
--- a/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2
+++ b/roles/openshift_metrics/templates/hawkular_cassandra_rc.j2
@@ -9,7 +9,7 @@ metadata:
spec:
selector:
name: hawkular-cassandra-{{ node }}
- replicas: 0
+ replicas: {{replica_count}}
template:
version: v1
metadata:
diff --git a/roles/openshift_metrics/templates/hawkular_metrics_rc.j2 b/roles/openshift_metrics/templates/hawkular_metrics_rc.j2
index 1397276e6..e6954ea44 100644
--- a/roles/openshift_metrics/templates/hawkular_metrics_rc.j2
+++ b/roles/openshift_metrics/templates/hawkular_metrics_rc.j2
@@ -8,7 +8,7 @@ metadata:
spec:
selector:
name: hawkular-metrics
- replicas: 0
+ replicas: {{replica_count}}
template:
version: v1
metadata:
diff --git a/roles/openshift_metrics/templates/heapster.j2 b/roles/openshift_metrics/templates/heapster.j2
index f64c6696e..eeca03be0 100644
--- a/roles/openshift_metrics/templates/heapster.j2
+++ b/roles/openshift_metrics/templates/heapster.j2
@@ -8,7 +8,7 @@ metadata:
spec:
selector:
name: heapster
- replicas: 0
+ replicas: {{replica_count}}
template:
version: v1
metadata: