Skip to content

Commit

Permalink
keep master node taint
Browse files Browse the repository at this point in the history
  • Loading branch information
tiewei committed Jan 17, 2018
1 parent 1119700 commit 0f65daf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions install/k8s/cluster/k8smaster_centos.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash -x
kubeadm init --token $1 --apiserver-advertise-address $2 --apiserver-bind-port $3 --kubernetes-version $4

kubectl taint nodes --all node-role.kubernetes.io/master-

if [ -n "$CONTIV_TEST" ]; then
cp /etc/kubernetes/admin.conf /shared/admin.conf
chmod 0644 /etc/kubernetes/admin.conf
Expand Down

0 comments on commit 0f65daf

Please sign in to comment.