Skip to content

Commit

Permalink
Merge pull request kubernetes#15477 from gmarek/fix-kubemark
Browse files Browse the repository at this point in the history
Fix HollowNode template
  • Loading branch information
Marek Grabowski committed Oct 12, 2015
2 parents 41a7f57 + ea7f914 commit 139f5cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions test/kubemark/hollow-kubelet_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
3 changes: 1 addition & 2 deletions test/kubemark/start-kubemark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 139f5cd

Please sign in to comment.