Merge pull request #24391 from bprashanth/ing_templated_controller

Automatic merge from submit-queue

Template the ingress controller 

We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
This commit is contained in:
k8s-merge-robot
2016-05-06 20:04:51 -07:00
5 changed files with 57 additions and 79 deletions

View File

@@ -1,3 +1,8 @@
{% set kube_uid = "" -%}
{% if pillar['kube_uid'] is defined -%}
{% set kube_uid = pillar['kube_uid'] %}
{% endif -%}
apiVersion: v1
kind: ReplicationController
metadata:
@@ -65,4 +70,5 @@ spec:
memory: 50Mi
args:
- --default-backend-service=kube-system/default-http-backend
- --sync-period=300s
- --sync-period=60s
- --cluster-uid={{kube_uid}}