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
05f277c6
Unverified
Commit
05f277c6
authored
Sep 25, 2018
by
k8s-ci-robot
Committed by
GitHub
Sep 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68628 from derekwaynecarr/fix-local-up
Tweaks for local-up-cluster
parents
c7a67b3e
acdb1b0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
local-up-cluster.sh
hack/local-up-cluster.sh
+4
-0
No files found.
hack/local-up-cluster.sh
View file @
05f277c6
...
@@ -47,6 +47,8 @@ FIRST_SERVICE_CLUSTER_IP=${FIRST_SERVICE_CLUSTER_IP:-10.0.0.1}
...
@@ -47,6 +47,8 @@ FIRST_SERVICE_CLUSTER_IP=${FIRST_SERVICE_CLUSTER_IP:-10.0.0.1}
CGROUPS_PER_QOS
=
${
CGROUPS_PER_QOS
:-
true
}
CGROUPS_PER_QOS
=
${
CGROUPS_PER_QOS
:-
true
}
# name of the cgroup driver, i.e. cgroupfs or systemd
# name of the cgroup driver, i.e. cgroupfs or systemd
CGROUP_DRIVER
=
${
CGROUP_DRIVER
:-
""
}
CGROUP_DRIVER
=
${
CGROUP_DRIVER
:-
""
}
# if cgroups per qos is enabled, optionally change cgroup root
CGROUP_ROOT
=
${
CGROUP_ROOT
:-
""
}
# owner of client certs, default to current user if not specified
# owner of client certs, default to current user if not specified
USER
=
${
USER
:-$(
whoami
)}
USER
=
${
USER
:-$(
whoami
)}
...
@@ -639,6 +641,7 @@ function start_controller_manager {
...
@@ -639,6 +641,7 @@ function start_controller_manager {
--use-service-account-credentials
\
--use-service-account-credentials
\
--controllers
=
"
${
KUBE_CONTROLLERS
}
"
\
--controllers
=
"
${
KUBE_CONTROLLERS
}
"
\
--leader-elect
=
false
\
--leader-elect
=
false
\
--cert-dir
=
"
$CERT_DIR
"
\
--master
=
"https://
${
API_HOST
}
:
${
API_SECURE_PORT
}
"
>
"
${
CTLRMGR_LOG
}
"
2>&1 &
--master
=
"https://
${
API_HOST
}
:
${
API_SECURE_PORT
}
"
>
"
${
CTLRMGR_LOG
}
"
2>&1 &
CTLRMGR_PID
=
$!
CTLRMGR_PID
=
$!
}
}
...
@@ -749,6 +752,7 @@ function start_kubelet {
...
@@ -749,6 +752,7 @@ function start_kubelet {
--enable-controller-attach-detach
=
"
${
ENABLE_CONTROLLER_ATTACH_DETACH
}
"
--enable-controller-attach-detach
=
"
${
ENABLE_CONTROLLER_ATTACH_DETACH
}
"
--cgroups-per-qos
=
"
${
CGROUPS_PER_QOS
}
"
--cgroups-per-qos
=
"
${
CGROUPS_PER_QOS
}
"
--cgroup-driver
=
"
${
CGROUP_DRIVER
}
"
--cgroup-driver
=
"
${
CGROUP_DRIVER
}
"
--cgroup-root
=
"
${
CGROUP_ROOT
}
"
--eviction-hard
=
"
${
EVICTION_HARD
}
"
--eviction-hard
=
"
${
EVICTION_HARD
}
"
--eviction-soft
=
"
${
EVICTION_SOFT
}
"
--eviction-soft
=
"
${
EVICTION_SOFT
}
"
--eviction-pressure-transition-period
=
"
${
EVICTION_PRESSURE_TRANSITION_PERIOD
}
"
--eviction-pressure-transition-period
=
"
${
EVICTION_PRESSURE_TRANSITION_PERIOD
}
"
...
...
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