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
794f162e
Commit
794f162e
authored
Nov 30, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16662 from linux-on-ibm-z/master
Auto commit by PR queue bot
parents
55f5e480
94093d9c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
5 deletions
+16
-5
get-kube.sh
cluster/get-kube.sh
+3
-1
kubectl.sh
cluster/kubectl.sh
+4
-1
util.sh
hack/lib/util.sh
+5
-2
local-up-cluster.sh
hack/local-up-cluster.sh
+4
-1
No files found.
cluster/get-kube.sh
View file @
794f162e
...
...
@@ -96,9 +96,11 @@ elif [[ "${machine}" == "i686" ]]; then
arch
=
"386"
elif
[[
"
${
machine
}
"
==
"arm*"
]]
;
then
arch
=
"arm"
elif
[[
"
${
machine
}
"
==
"s390x*"
]]
;
then
arch
=
"s390x"
else
echo
"Unknown, unsupported architecture (
${
machine
}
)."
echo
"Supported architectures x86_64, i686, arm
*
"
echo
"Supported architectures x86_64, i686, arm
, s390x.
"
echo
"Bailing out."
exit
3
fi
...
...
cluster/kubectl.sh
View file @
794f162e
...
...
@@ -70,8 +70,11 @@ case "$(uname -m)" in
i?86
*
)
host_arch
=
386
;;
s390x
*
)
host_arch
=
s390x
;;
*
)
echo
"Unsupported host arch. Must be x86_64, 386
or arm
."
>
&2
echo
"Unsupported host arch. Must be x86_64, 386
, arm or s390x
."
>
&2
exit
1
;;
esac
...
...
hack/lib/util.sh
View file @
794f162e
...
...
@@ -150,8 +150,11 @@ kube::util::host_platform() {
i?86
*
)
host_arch
=
x86
;;
*
)
kube::log::error
"Unsupported host arch. Must be x86_64, 386 or arm."
s390x
*
)
host_arch
=
s390x
;;
*
)
kube::log::error
"Unsupported host arch. Must be x86_64, 386, arm or s390x."
exit
1
;;
esac
...
...
hack/local-up-cluster.sh
View file @
794f162e
...
...
@@ -135,8 +135,11 @@ function detect_binary {
i?86
*
)
host_arch
=
x86
;;
s390x
*
)
host_arch
=
s390x
;;
*
)
echo
"Unsupported host arch. Must be x86_64, 386
or arm
."
>
&2
echo
"Unsupported host arch. Must be x86_64, 386
, arm or s390x
."
>
&2
exit
1
;;
esac
...
...
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