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
f79094e8
Commit
f79094e8
authored
Jan 26, 2017
by
Alejandro Escobar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added warning message error about not running kubelet if not darwin/linux to my check
parent
9ccade59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
local-up-cluster.sh
hack/local-up-cluster.sh
+2
-2
No files found.
hack/local-up-cluster.sh
View file @
f79094e8
...
@@ -736,7 +736,7 @@ fi
...
@@ -736,7 +736,7 @@ fi
if
[[
"
${
START_MODE
}
"
!=
"nokubelet"
]]
;
then
if
[[
"
${
START_MODE
}
"
!=
"nokubelet"
]]
;
then
## TODO remove this check if/when kubelet is supported on darwin
## TODO remove this check if/when kubelet is supported on darwin
# Detect the OS name/arch
so that we can find our binary
# Detect the OS name/arch
and display appropriate error.
case
"
$(
uname
-s
)
"
in
case
"
$(
uname
-s
)
"
in
Darwin
)
Darwin
)
warning
"kubelet is not currently supported in darwin, kubelet aborted."
warning
"kubelet is not currently supported in darwin, kubelet aborted."
...
@@ -746,7 +746,7 @@ if [[ "${START_MODE}" != "nokubelet" ]]; then
...
@@ -746,7 +746,7 @@ if [[ "${START_MODE}" != "nokubelet" ]]; then
start_kubelet
start_kubelet
;;
;;
*
)
*
)
echo
"Unsupported host OS. Must be Linux or Mac OS X."
>
&2
warning
"Unsupported host OS. Must be Linux or Mac OS X, kubelet aborted."
;;
;;
esac
esac
fi
fi
...
...
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