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
47fc1d68
Commit
47fc1d68
authored
Feb 19, 2017
by
Random-Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert the npd change in kubemark.
parent
070ebfe6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
hollow-node_template.json
test/kubemark/resources/hollow-node_template.json
+13
-2
kernel-monitor.json
test/kubemark/resources/kernel-monitor.json
+2
-7
No files found.
test/kubemark/resources/hollow-node_template.json
View file @
47fc1d68
...
...
@@ -39,6 +39,12 @@
}
},
{
"name"
:
"kernellog-volume"
,
"hostPath"
:
{
"path"
:
"/var/log"
}
},
{
"name"
:
"no-serviceaccount-access-to-real-master"
,
"emptyDir"
:
{}
}
...
...
@@ -145,7 +151,7 @@
},
{
"name"
:
"hollow-node-problem-detector"
,
"image"
:
"gcr.io/google_containers/node-problem-detector:v0.3.0-alpha.
1
"
,
"image"
:
"gcr.io/google_containers/node-problem-detector:v0.3.0-alpha.
0
"
,
"env"
:
[
{
"name"
:
"NODE_NAME"
,
...
...
@@ -158,7 +164,7 @@
],
"command"
:
[
"/node-problem-detector"
,
"--
system-log-monitors
=/config/kernel.monitor"
,
"--
kernel-monitor
=/config/kernel.monitor"
,
"--apiserver-override=https://{{master_ip}}:443?inClusterConfig=false&auth=/kubeconfig/npd.kubeconfig"
,
"--alsologtostderr"
,
"1>>/var/logs/npd_$(NODE_NAME).log 2>&1"
...
...
@@ -175,6 +181,11 @@
"readOnly"
:
true
},
{
"name"
:
"kernellog-volume"
,
"mountPath"
:
"/log"
,
"readOnly"
:
true
},
{
"name"
:
"no-serviceaccount-access-to-real-master"
,
"mountPath"
:
"/var/run/secrets/kubernetes.io/serviceaccount"
,
"readOnly"
:
true
...
...
test/kubemark/resources/kernel-monitor.json
View file @
47fc1d68
{
"plugin"
:
"filelog"
,
"pluginConfig"
:
{
"timestamp"
:
"dummy"
,
"message"
:
"dummy"
,
"timestampFormat"
:
"dummy"
},
"logPath"
:
"/dev/null"
,
"logPath"
:
"/log/faillog"
,
"lookback"
:
"10m"
,
"startPattern"
:
"Initializing cgroup subsys cpuset"
,
"bufferSize"
:
10
,
"source"
:
"kernel-monitor"
,
"conditions"
:
[],
...
...
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