Use port range for the kube services (default range is 30000-32767)
@@ -132,3 +132,11 @@ kubectl create clusterrolebinding owner-cluster-admin-binding \
--user system:serviceaccount:default:default
sleep 10
+
+#14
+# Allow services to bind to 80+ ports, as the default range is 30000-32767
+# --service-node-port-range option is added as a next line after init command "- kube-apiserver"
+# kubelet monitors /etc/kubernetes/manifests folder, so kube-api pod will be recreated automatically
+sed '/- kube-apiserver/a \ \- --service-node-port-range=80-32767' /etc/kubernetes/manifests/kube-apiserver.yaml
+
+sleep 30
