kubernetes - kube-up.sh fails on ubuntu 14.04 with some dzdo(sudo ) issue -


flanneld 100% 2131 2.1kb/s 00:00
+ need_reconfig_docker=true + cni_plugin_conf= + extra_sans=(ip:${master_ip} ip:${service_cluster_ip_range%.*}.1 dns:kubernetes dns:kubernetes.default dns:kubernetes.default.svc dns:kubernetes.default.svc.cluster.local) ++ tr ' ' , ++ echo ip:10.204.22.202 ip:192.168.3.1 dns:kubernetes dns:kubernetes.default dns:kubernetes.default.svc dns:kubernetes.default.svc.cluster.local + extra_sans=ip:10.204.22.202,ip:192.168.3.1,dns:kubernetes,dns:kubernetes.default,dns:kubernetes.default.svc,dns:kubernetes.default.svc.cluster.local + bash_debug_flags=true + [[ false == \t\r\u\e ]] + ssh -ostricthostkeychecking=no -ouserknownhostsfile=/dev/null -ologlevel=error -t karan.singhal@10.204.22.202 ' set +e true source ~/kube/util.sh

setclusterinfo create-etcd-opts '\''10.204.22.202'\'' create-kube-apiserver-opts       '\''192.168.3.0/24'\''       '\''namespacelifecycle,limitranger,serviceaccount,resourcequota,securitycontextdeny'\''       '\''30000-32767'\''       '\''10.204.22.202'\'' create-kube-controller-manager-opts '\''10.204.22.202'\'' create-kube-scheduler-opts create-kubelet-opts       '\''10.204.22.202'\''       '\''10.204.22.202'\''       '\''192.168.3.10'\''       '\''cluster.local'\''       '\'''\''       '\'''\'' create-kube-proxy-opts       '\''10.204.22.202'\''       '\''10.204.22.202'\''       '\'''\'' create-flanneld-opts '\''127.0.0.1'\'' '\''10.204.22.202'\''  flannel_other_net_config= sudo -e -p '\''[sudo] password start master: '\'' -- /bin/bash -ce '\''    cp ~/kube/default/* /etc/default/   cp ~/kube/init_conf/* /etc/init/   cp ~/kube/init_scripts/* /etc/init.d/    groupadd -f -r kube-cert    debug='\''false'\'' ~/kube/make-ca-cert.sh "10.204.22.202" "ip:10.204.22.202,ip:192.168.3.1,dns:kubernetes,dns:kubernetes.default,dns:kubernetes.default.svc,dns:kubernetes.default.svc.cluster.local"   mkdir -p /opt/bin/   cp ~/kube/master/* /opt/bin/   cp ~/kube/minion/* /opt/bin/    service etcd start   echo deploying' master , node on machine....................................... true 'failed   if true; flannel_net="172.16.0.0/16" kube_config_file="./../cluster/../cluster/ubuntu/config-default.sh" docker_opts="" ~/kube/reconfdocker.sh ai; fi   '\''' 

usage: dzdo -k | -k | -v usage: dzdo -v [-akns] [-p prompt] usage: dzdo -l[l] [-akns] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [command] usage: dzdo [-abhknps] [-c fd] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [var=value] [-i|-s] [] usage: dzdo -e [-akns] [-c fd] [-g groupname|#gid] [-p prompt] [-u user name|#uid] file ... usage: dzdo -h [user@] [-w,ssh-option] usage: dzdo --help

there a few places in kube-up ubuntu scripts sudo -e used. if you've aliased sudo dzdo, i'm guessing won't work (i don't see -e option in usage output).

you can try scripts work locally, , feel free send pr.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -