You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/10/09 13:00:40 UTC
[incubator-dlab] branch DLAB-1158 created (now f4780e9)
This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a change to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.
at f4780e9 added additional parameters to k8s init
This branch includes the following new commits:
new f4780e9 added additional parameters to k8s init
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org
[incubator-dlab] 01/01: added additional parameters to k8s init
Posted by om...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit f4780e9762cc552736f8c7750b15e9c43c2fc50d
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Oct 9 16:00:28 2019 +0300
added additional parameters to k8s init
---
.../terraform/aws/ssn-k8s/main/files/masters-user-data.sh | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/files/masters-user-data.sh b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/files/masters-user-data.sh
index 40ab2be..e6647a8 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/files/masters-user-data.sh
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/files/masters-user-data.sh
@@ -75,9 +75,22 @@ cat <<EOF > /tmp/kubeadm-config.yaml
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
kubernetesVersion: stable
-apiServerCertSANs:
+apiServer:
+ certSANs:
- ${k8s-nlb-dns-name}
+ extraArgs:
+ cloud-provider: aws
+controllerManager:
+ extraArgs:
+ cloud-provider: aws
+ configure-cloud-routes: "false"
controlPlaneEndpoint: "${k8s-nlb-dns-name}:6443"
+---
+apiVersion: kubeadm.k8s.io/v1beta2
+kind: InitConfiguration
+nodeRegistration:
+ kubeletExtraArgs:
+ cloud-provider: aws
EOF
sudo kubeadm init --config=/tmp/kubeadm-config.yaml --upload-certs
while check_elb_status
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org