From 958c770befecf2d7dd952d09e1b60e382599481f Mon Sep 17 00:00:00 2001 From: ant31 <2t.antoine@gmail.com> Date: Wed, 16 Dec 2015 17:43:26 +0100 Subject: [PATCH] Update ports --- apps.yml | 10 +++++----- roles/apps/k8s-common | 2 +- roles/apps/k8s-heapster | 2 +- .../manifests/kube-controller-manager.manifest.j2 | 2 +- .../templates/manifests/kube-scheduler.manifest.j2 | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps.yml b/apps.yml index 1b25d98e7..64d3f2dbb 100644 --- a/apps.yml +++ b/apps.yml @@ -2,7 +2,7 @@ - hosts: kube-master roles: # System - - { role: apps/k8s-kubedns, tags: 'kubedns' } + - { role: apps/k8s-kubedns, tags: ['kubedns', 'kube-system'] } # Databases - { role: apps/k8s-postgres, tags: 'postgres' } @@ -14,13 +14,13 @@ - { role: apps/k8s-rabbitmq, tags: 'rabbitmq' } # Monitoring - - { role: apps/k8s-influxdb, tags: 'influxdb'} - - { role: apps/k8s-heapster, tags: 'heapster'} - - { role: apps/k8s-kubedash, tags: 'kubedash'} + - { role: apps/k8s-influxdb, tags: ['influxdb', 'kube-system']} + - { role: apps/k8s-heapster, tags: ['heapster', 'kube-system']} + - { role: apps/k8s-kubedash, tags: ['kubedash', 'kube-system']} # logging - { role: apps/k8s-kube-logstash, tags: 'kube-logstash'} # Console - { role: apps/k8s-fabric8, tags: 'fabric8' } - - { role: apps/k8s-kube-ui, tags: 'kube-ui' } + - { role: apps/k8s-kube-ui, tags: ['kube-ui', 'kube-system']} diff --git a/roles/apps/k8s-common b/roles/apps/k8s-common index 2ef9669d6..eaab0692e 160000 --- a/roles/apps/k8s-common +++ b/roles/apps/k8s-common @@ -1 +1 @@ -Subproject commit 2ef9669d6d78e81c4e6de75cce239cabc99f00ad +Subproject commit eaab0692ed375420e183d18392ce79a4c6ed2069 diff --git a/roles/apps/k8s-heapster b/roles/apps/k8s-heapster index dc088e25e..fbd3ff4af 160000 --- a/roles/apps/k8s-heapster +++ b/roles/apps/k8s-heapster @@ -1 +1 @@ -Subproject commit dc088e25efcd040e127543b861448aa0d219eac9 +Subproject commit fbd3ff4afc2fbf4a5fd0dad11a5f19ba11f0b7df diff --git a/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 index 1b98ecbc8..44e52f7c0 100644 --- a/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 @@ -11,7 +11,7 @@ spec: command: - /hyperkube - controller-manager - - --master=http://127.0.0.1:8080 + - --master=http://127.0.0.1:{{kube_apiserver_insecure_port}} - --service-account-private-key-file={{ kube_cert_dir }}/apiserver-key.pem - --root-ca-file={{ kube_cert_dir }}/ca.pem - --v={{ kube_log_level | default('2') }} diff --git a/roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2 index 0a0efdcb0..6360dcc54 100644 --- a/roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2 @@ -11,7 +11,7 @@ spec: command: - /hyperkube - scheduler - - --master=http://127.0.0.1:8080 + - --master=http://127.0.0.1:{{kube_apiserver_insecure_port}} - --v={{ kube_log_level | default('2') }} livenessProbe: httpGet: