Commit ea7f9143 authored by gmarek's avatar gmarek

Fix HollowNode template

parent 41a7f579
......@@ -35,18 +35,10 @@
{"containerPort": 10250},
{"containerPort": 10255}
],
"env": [
{
"name": "MASTER_IP",
"value": ##masterip##
}
],
"command": [
"./kubemark.sh"
],
"args": [
"--server=$(MASTER_IP)",
"--api-server-port=8080",
"--v=3"
],
"volumeMounts": [
......
......@@ -174,8 +174,7 @@ contexts:
current-context: kubemark-context
EOF
sed "s/##masterip##/\"${MASTER_IP}\"/g" ${KUBE_ROOT}/test/kubemark/hollow-kubelet_template.json > ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json
sed -i'' -e "s/##numreplicas##/${NUM_MINIONS:-10}/g" ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json
sed "s/##numreplicas##/${NUM_MINIONS:-10}/g" ${KUBE_ROOT}/test/kubemark/hollow-kubelet_template.json > ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json
sed -i'' -e "s/##project##/${PROJECT}/g" ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json
kubectl create -f ${KUBE_ROOT}/test/kubemark/kubemark-ns.json
kubectl create -f ${KUBECONFIG_SECRET} --namespace="kubemark"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment