summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorWesley Hearn <wesley.s.hearn@gmail.com>2015-08-26 11:00:28 -0400
committerWesley Hearn <wesley.s.hearn@gmail.com>2015-08-26 11:00:28 -0400
commitb118e65aac781d2abd841b28476cfbf5b94b537f (patch)
tree6d03f8beedeeefa21888ef26a4e1afb719161ee8 /roles/openshift_node/templates
parentd83b51bf799d00f7b2deef63f843b99a2101d1ac (diff)
parent8d323222e3334bb70a2c3ed6db74d0c47e13ee8f (diff)
downloadopenshift-b118e65aac781d2abd841b28476cfbf5b94b537f.tar.gz
openshift-b118e65aac781d2abd841b28476cfbf5b94b537f.tar.bz2
openshift-b118e65aac781d2abd841b28476cfbf5b94b537f.tar.xz
openshift-b118e65aac781d2abd841b28476cfbf5b94b537f.zip
Merge pull request #462 from spinolacastro/clustermetrics
Cluster Metrics
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/node.yaml.v1.j21
-rw-r--r--roles/openshift_node/templates/partials/kubeletArguments.j25
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/node.yaml.v1.j2 b/roles/openshift_node/templates/node.yaml.v1.j2
index 7b1c0f808..e176e7511 100644
--- a/roles/openshift_node/templates/node.yaml.v1.j2
+++ b/roles/openshift_node/templates/node.yaml.v1.j2
@@ -21,3 +21,4 @@ servingInfo:
clientCA: ca.crt
keyFile: server.key
volumeDirectory: {{ openshift_data_dir }}/openshift.local.volumes
+{% include 'partials/kubeletArguments.j2' %} \ No newline at end of file
diff --git a/roles/openshift_node/templates/partials/kubeletArguments.j2 b/roles/openshift_node/templates/partials/kubeletArguments.j2
new file mode 100644
index 000000000..6c3bd04c5
--- /dev/null
+++ b/roles/openshift_node/templates/partials/kubeletArguments.j2
@@ -0,0 +1,5 @@
+{% if openshift.common.use_cluster_metrics | bool %}
+kubeletArguments:
+ "read-only-port":
+ - "10255"
+{% endif %} \ No newline at end of file