Browse Source

Start counting k8s nodes from 2

First node is our master node.
Aleksandr Didenko 9 years ago
parent
commit
4c6f85b8ae
1 changed files with 1 additions and 1 deletions
  1. 2
      deploy-k8s.kargo.sh

2
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}]"

Loading…
Cancel
Save