监控相关
ZABBIX安装与使用
自动发现与自动注册
配置文件
分布式监控
zabbix_sender安装和使用
zabbix_get安装与使用
自定义监控
自动发现监控json
PERCONA插件
PERCONA多实例
日志监控
相关项目监控
监控MySQL
监控Haproxy
Fluentd日志监控
Grafana(可视化监控指标)
grafana地图插件
添加prometheus模板
开启HTTPS
添加zabbix插件
Grafana模板
正则表达式
Prometheus监控
安装与使用
Prometheus存储
服务发现
Prometheus标签
PromQL查询
PushGateway推送组件
AlertManager告警组件
告警规则rule
K8S监控(kube-state-metric/cadvisor)
探针监控(blackbox_exporter)
Node_export
Mysql_export
Redis-exporter
cloudeye-exporter【华为云监控】
RabbitMQ-exporter
K8S监控
本文档使用MrDoc发布
返回首页
-
+
RabbitMQ-exporter
2024年9月18日 14:31
admin
#K8S部署 ####下载镜像 docker pull ghcr.io/kbudde/rabbitmq_exporter ####编写yaml文件 vim deployment.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: rabbitmq-exporter namespace: monitoring labels: app: rabbitmq-exporter spec: replicas: 1 selector: matchLabels: app: rabbitmq-exporter template: metadata: labels: app: rabbitmq-exporter spec: tolerations: #容忍污点 - key: node-type operator: Equal value: monitoring effect: NoSchedule nodeSelector: #配置一个节点标签 monitoring: "true" containers: - name: rabbitmq-exporter image: ghcr.io/kbudde/rabbitmq_exporter ports: - containerPort: 9419 env: - name: RABBIT_USER value: "guest" - name: RABBIT_PASSWORD value: "guest" - name: RABBIT_URL value: "http://rabbitmq.default:15672" - name: PUBLISH_PORT value: "9419" - name: METRICS_PATH value: "/metrics" resources: limits: cpu: 1 memory: 1024Mi requests: cpu: 500m memory: 512Mi imagePullSecrets: # 镜像仓库拉取密钥 - name: default-secret --- apiVersion: v1 kind: Service metadata: name: rabbitmq-exporter namespace: monitoring labels: app: rabbitmq-exporter spec: ports: - port: 9419 targetPort: 9419 selector: app: rabbitmq-exporter --- ####应用 kubectl apply -f deployment.yaml --- #Grafana模板 4279
分享到: