12 Star 61 Fork 15

Carina / carina

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
metrics.md 1002 Bytes
一键复制 编辑 原始数据 按行查看 历史

Metrics

  • carina-node runs in hostNetwork mode and listens to 8080.

            - "--metrics-addr=:8080"

If changing those ports, please also change the csi-carina-node service.

  • carina-controller listens to 8080 8443.

            - "--metrics-addr=:8080"
            - "--webhook-addr=:8443"
  • metrics from carina-nodecarina-controller

    	# Free bytes in VG:  carina-devicegroup-vg_free_bytes
    	# Total bytes of VG:  carina-devicegroup-vg_total_bytes
    	# Total bytes of volume:  carina-volume-volume_total_bytes
    	# Used bytes of volume:  carina-volume-volume_used_bytes
  • Volume usage is calculated from LVM, it may diffs with df -h about dozens of MB.
  • Carina-controller has all data from each carina-node. So actually, just getting metrics from carina-controller is enough.
  • User can deploy serviceMonitor(deployment/kubernetes/prometheus.yaml.tmpl) in case of prometheus.
  • For pvc metrics, user can still query from kubelet.
Go
1
https://gitee.com/bocloud-open-source/carina.git
git@gitee.com:bocloud-open-source/carina.git
bocloud-open-source
carina
carina
main

搜索帮助