"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "magnum/drivers/common/templates/kubernetes/fragments/enable-services-master.sh" between
magnum-8.1.0.tar.gz and magnum-8.2.0.tar.gz

About: OpenStack Magnum makes container orchestration engines such as Docker and Kubernetes available as first class resources in OpenStack.
The "Stein" series (maintained release).

enable-services-master.sh  (magnum-8.1.0):enable-services-master.sh  (magnum-8.2.0)
skipping to change at line 22 skipping to change at line 22
echo "waiting for CA to be made available for certificate manager api" echo "waiting for CA to be made available for certificate manager api"
sleep 2 sleep 2
done done
echo "starting services" echo "starting services"
for service in etcd docker kube-apiserver kube-controller-manager kube-scheduler kubelet kube-proxy; do for service in etcd docker kube-apiserver kube-controller-manager kube-scheduler kubelet kube-proxy; do
echo "activating service $service" echo "activating service $service"
systemctl enable $service systemctl enable $service
systemctl --no-block start $service systemctl --no-block start $service
done done
# Label self as master
until [ "ok" = "$(curl --silent http://127.0.0.1:8080/healthz)" ] && \
kubectl patch node ${INSTANCE_NAME} \
--patch '{"metadata": {"labels": {"node-role.kubernetes.io/master": ""}}
}'
do
echo "Trying to label master node with node-role.kubernetes.io/master=\"\""
sleep 5s
done
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)