From 4c6f85b8aed0de557b0a3f984394dec9e2dad5fc Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Thu, 16 Jun 2016 14:42:53 +0200 Subject: [PATCH] Start counting k8s nodes from 2 First node is our master node. --- deploy-k8s.kargo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-k8s.kargo.sh b/deploy-k8s.kargo.sh index b222f0a01..007a1cb23 100644 --- a/deploy-k8s.kargo.sh +++ b/deploy-k8s.kargo.sh @@ -1,7 +1,7 @@ #!/bin/bash nodes="" -i=0 +i=1 for nodeip in `cat /root/nodes` ; do i=$(( $i+1 )) nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]"