Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7fa09abe
Commit
7fa09abe
authored
Sep 30, 2015
by
Marek Grabowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14776 from brendandburns/fixer2
Fix some issues with the kubemark script
parents
29c3c23a
a26afdad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
start-kubemark.sh
test/kubemark/start-kubemark.sh
+4
-4
No files found.
test/kubemark/start-kubemark.sh
View file @
7fa09abe
...
@@ -47,19 +47,19 @@ gcloud compute instances create ${MASTER_NAME} \
...
@@ -47,19 +47,19 @@ gcloud compute instances create ${MASTER_NAME} \
--scopes
"storage-ro,compute-rw,logging-write"
\
--scopes
"storage-ro,compute-rw,logging-write"
\
--disk
"name=
${
MASTER_NAME
}
-pd,device-name=master-pd,mode=rw,boot=no,auto-delete=no"
--disk
"name=
${
MASTER_NAME
}
-pd,device-name=master-pd,mode=rw,boot=no,auto-delete=no"
MASTER_IP
=
`
gcloud compute instances describe hollow-cluster-master |
grep
networkIP |
cut
-f2
-d
":"
|
sed
"s/ //g"
`
MASTER_IP
=
`
gcloud compute instances describe hollow-cluster-master
--zone
=
${
ZONE
}
|
grep
networkIP |
cut
-f2
-d
":"
|
sed
"s/ //g"
`
until
gcloud compute ssh hollow-cluster-master
--command
=
"ls"
&> /dev/null
;
do
until
gcloud compute ssh
--zone
=
${
ZONE
}
hollow-cluster-master
--command
=
"ls"
&> /dev/null
;
do
sleep
1
sleep
1
done
done
gcloud compute copy-files
\
gcloud compute copy-files
--zone
=
${
ZONE
}
\
${
KUBE_ROOT
}
/_output/release-tars/kubernetes-server-linux-amd64.tar.gz
\
${
KUBE_ROOT
}
/_output/release-tars/kubernetes-server-linux-amd64.tar.gz
\
${
KUBE_ROOT
}
/test/kubemark/start-kubemark-master.sh
\
${
KUBE_ROOT
}
/test/kubemark/start-kubemark-master.sh
\
${
KUBE_ROOT
}
/test/kubemark/configure-kubectl.sh
\
${
KUBE_ROOT
}
/test/kubemark/configure-kubectl.sh
\
hollow-cluster-master:~
hollow-cluster-master:~
gcloud compute ssh hollow-cluster-master
--command
=
"chmod a+x configure-kubectl.sh && chmod a+x start-kubemark-master.sh && ./start-kubemark-master.sh"
gcloud compute ssh
--zone
=
${
ZONE
}
hollow-cluster-master
--command
=
"chmod a+x configure-kubectl.sh && chmod a+x start-kubemark-master.sh && ./start-kubemark-master.sh"
sed
"s/##masterip##/
\"
${
MASTER_IP
}
\"
/g"
${
KUBE_ROOT
}
/test/kubemark/hollow-kubelet_template.json
>
${
KUBE_ROOT
}
/test/kubemark/hollow-kubelet.json
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
-i
''
-e
"s/##numreplicas##/
${
NUM_MINIONS
:-
10
}
/g"
${
KUBE_ROOT
}
/test/kubemark/hollow-kubelet.json
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment