From 4ad918e7c608efede0fd848ac107df40be4f5303 Mon Sep 17 00:00:00 2001 From: ksingh7 Date: Sun, 8 Jan 2017 00:31:31 +0200 Subject: [PATCH] FIX #72 for LoadBalancer creation on AWS kube-controller-manager and kube-apiserver service unit files are missing one option --cloud-provider=aws parameter, which is creating problem while creating ELB on AWS when type: LoadBalancer is provided in service YAML file. This commit fixes that, issue --- docs/04-kubernetes-controller.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/04-kubernetes-controller.md b/docs/04-kubernetes-controller.md index 67ec14a..2a33b25 100644 --- a/docs/04-kubernetes-controller.md +++ b/docs/04-kubernetes-controller.md @@ -176,6 +176,7 @@ RestartSec=5 WantedBy=multi-user.target EOF ``` +- Note: If you are deploying this on AWS then you should add ``--cloud-provider=aws`` in the ``kube-apiserver.service`` unit file's [service] section. If you are adding this before ``--v=2`` line, remember to add ``\`` character at the end ``` sed -i s/INTERNAL_IP/$INTERNAL_IP/g kube-apiserver.service @@ -222,6 +223,8 @@ RestartSec=5 WantedBy=multi-user.target EOF ``` +- Note: If you are deploying this on AWS then you should add ``--cloud-provider=aws`` in the ``kube-controller-manager.service`` unit file's [service] section. If you are adding this before ``--v=2`` line , remember to add ``\`` character at the end. + ``` sed -i s/INTERNAL_IP/$INTERNAL_IP/g kube-controller-manager.service