mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
* Chore: update description of policy definition Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Fix: support workflow step generation for doc Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Chore: refactor package refereces/plugins to references/docgen Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Chore: add examples of def docs for workflow step Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Feat: refine workflow description Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Chore: refine the workflow step definition Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com> * Chore: update workflow step definition Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
1.2 KiB
1.2 KiB
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: addon-node-exporter
namespace: vela-system
spec:
components:
- name: node-exporter
type: daemon
properties:
image: prom/node-exporter
imagePullPolicy: IfNotPresent
volumeMounts:
hostPath:
- mountPath: /host/sys
mountPropagation: HostToContainer
name: sys
path: /sys
readOnly: true
- mountPath: /host/root
mountPropagation: HostToContainer
name: root
path: /
readOnly: true
traits:
- properties:
args:
- --path.sysfs=/host/sys
- --path.rootfs=/host/root
- --no-collector.wifi
- --no-collector.hwmon
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
- --collector.netclass.ignored-devices=^(veth.*)$
type: command
- properties:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
port:
- 9100
type: expose
- properties:
cpu: 0.1
memory: 250Mi
type: resource