1 # Copyright (c) 2017 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
19 app: cmk-node-report-ds-all
20 # Needed for k8s < 1.7
22 # "scheduler.alpha.kubernetes.io/tolerations": '[{"key":"cmk", "value":"true"}]'
23 name: cmk-node-report-ds-all
24 namespace: cmk-namespace
28 app: cmk-node-report-ds-all
32 app: cmk-node-report-ds-all
34 serviceAccountName: cmk-serviceaccount
35 # Needed for k8s >= 1.7
37 # - operator: "Exists"
40 - "/cmk/cmk.py isolate --pool=infra /cmk/cmk.py -- node-report --interval=$CMK_NODE_REPORT_SLEEP_TIME --publish"
45 - name: CMK_NODE_REPORT_SLEEP_TIME
46 # Change this to modify the sleep interval between consecutive
47 # cmk node report runs. The value is specified in seconds.
54 fieldPath: spec.nodeName
58 - mountPath: "/host/proc"
61 - mountPath: "/etc/cmk"
68 # Change this to modify the CMK config dir in the host file system.