1 Star 0 Fork 1

qiujiayu / prometheus-kubernetes

forked from ltslts / prometheus-kubernetes 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
node-exporter-ds.yaml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
huxos 提交于 2017-09-02 15:38 . initialized
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
app: node-exporter
name: node-exporter
namespace: monitoring
spec:
selector:
matchLabels:
app: node-exporter
template:
metadata:
labels:
app: node-exporter
name: node-exporter
spec:
containers:
- args:
- -collector.procfs=/host/proc
- -collector.sysfs=/host/sys
image: quay.io/prometheus/node-exporter:v0.14.0
imagePullPolicy: IfNotPresent
name: node-exporter
ports:
- containerPort: 9100
hostPort: 9100
name: scrape
protocol: TCP
resources:
limits:
cpu: 200m
memory: 50Mi
requests:
cpu: 100m
memory: 30Mi
volumeMounts:
- mountPath: /host/proc
name: proc
readOnly: true
- mountPath: /host/sys
name: sys
readOnly: true
dnsPolicy: ClusterFirst
hostNetwork: true
hostPID: true
restartPolicy: Always
schedulerName: default-scheduler
volumes:
- hostPath:
path: /proc
name: proc
- hostPath:
path: /sys
name: sys
updateStrategy:
type: OnDelete
1
https://gitee.com/qiujiayu/prometheus-kubernetes.git
git@gitee.com:qiujiayu/prometheus-kubernetes.git
qiujiayu
prometheus-kubernetes
prometheus-kubernetes
master

搜索帮助