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
798b88e5
Commit
798b88e5
authored
Feb 11, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20960 from andyzheng0831/fix
Auto commit by PR queue bot
parents
4ac6948a
126f3c47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
master.yaml
cluster/gce/trusty/master.yaml
+5
-2
node.yaml
cluster/gce/trusty/node.yaml
+9
-5
No files found.
cluster/gce/trusty/master.yaml
View file @
798b88e5
...
@@ -130,8 +130,11 @@ script
...
@@ -130,8 +130,11 @@ script
fi
fi
# Assemble command line flags based on env variables.
# Assemble command line flags based on env variables.
ARGS="--v=2"
ARGS="--v=2"
if [ -n "${KUBELET_TEST_LOG_LEVEL:-}" ]; then
ARGS="${KUBELET_TEST_LOG_LEVEL}"
fi
if [ -n "${KUBELET_TEST_ARGS:-}" ]; then
if [ -n "${KUBELET_TEST_ARGS:-}" ]; then
ARGS="${KUBELET_TEST_ARGS}"
ARGS="${
ARGS} ${
KUBELET_TEST_ARGS}"
fi
fi
if [ ! -z "${KUBELET_APISERVER:-}" ] && [ ! -z "${KUBELET_CERT:-}" ] && [ ! -z "${KUBELET_KEY:-}" ]; then
if [ ! -z "${KUBELET_APISERVER:-}" ] && [ ! -z "${KUBELET_CERT:-}" ] && [ ! -z "${KUBELET_KEY:-}" ]; then
ARGS="${ARGS} --api-servers=https://${KUBELET_APISERVER}"
ARGS="${ARGS} --api-servers=https://${KUBELET_APISERVER}"
...
@@ -155,7 +158,7 @@ script
...
@@ -155,7 +158,7 @@ script
--cgroup-root=/ \
--cgroup-root=/ \
--system-container=/system \
--system-container=/system \
--nosystemd=true \
--nosystemd=true \
${ARGS}
${ARGS}
1>>/var/log/kubelet.log 2>&1
end script
end script
# Wait for 10s to start kubelet again.
# Wait for 10s to start kubelet again.
...
...
cluster/gce/trusty/node.yaml
View file @
798b88e5
...
@@ -121,8 +121,11 @@ script
...
@@ -121,8 +121,11 @@ script
. /etc/kube-env
. /etc/kube-env
ARGS="--v=2"
ARGS="--v=2"
if [ -n "${KUBELET_TEST_LOG_LEVEL:-}" ]; then
ARGS="${KUBELET_TEST_LOG_LEVEL}"
fi
if [ -n "${KUBELET_TEST_ARGS:-}" ]; then
if [ -n "${KUBELET_TEST_ARGS:-}" ]; then
ARGS="${KUBELET_TEST_ARGS}"
ARGS="${
ARGS} ${
KUBELET_TEST_ARGS}"
fi
fi
BINARY_PATH="/usr/bin/kubelet"
BINARY_PATH="/usr/bin/kubelet"
if [ "${TEST_CLUSTER:-}" = "true" ]; then
if [ "${TEST_CLUSTER:-}" = "true" ]; then
...
@@ -140,7 +143,7 @@ script
...
@@ -140,7 +143,7 @@ script
--cgroup-root=/ \
--cgroup-root=/ \
--system-container=/system \
--system-container=/system \
--nosystemd=true \
--nosystemd=true \
${ARGS}
${ARGS}
1>>/var/log/kubelet.log 2>&1
end script
end script
# Wait for 10s to start kubelet again.
# Wait for 10s to start kubelet again.
...
@@ -206,11 +209,12 @@ script
...
@@ -206,11 +209,12 @@ script
fi
fi
kube_proxy_docker_tag=$(cat /run/kube-docker-files/kube-proxy.docker_tag)
kube_proxy_docker_tag=$(cat /run/kube-docker-files/kube-proxy.docker_tag)
test_args=""
test_args=""
log_level="--v=2"
if [ -n "${KUBEPROXY_TEST_ARGS:-}" ]; then
if [ -n "${KUBEPROXY_TEST_ARGS:-}" ]; then
test_args="${KUBEPROXY_TEST_ARGS}"
test_args="${KUBEPROXY_TEST_ARGS}"
# test_args should already contain log level setting.
fi
log_level=""
log_level="--v=2"
if [ -n "${KUBEPROXY_TEST_LOG_LEVEL:-}" ]; then
log_level="${KUBEPROXY_TEST_LOG_LEVEL}"
fi
fi
api_servers="--master=https:\/\/${KUBERNETES_MASTER_NAME}"
api_servers="--master=https:\/\/${KUBERNETES_MASTER_NAME}"
sed -i -e "s/{{kubeconfig}}/${kubeconfig}/g" ${tmp_file}
sed -i -e "s/{{kubeconfig}}/${kubeconfig}/g" ${tmp_file}
...
...
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