前言

gitlab内置node_exporter的默认端口9100会与获取服务器硬件指标的node_exporter服务9100端口存在冲突的情况,需要进行更改

操作指南
修改gitlab的配置
# vim $GITLAB_HOME/embedded/cookbooks/cache/cookbooks/gitlab/attributes/default.rb
default['gitlab']['node-exporter']['listen_address'] = 'localhost:9100'	# 改为需要给定的端口
重新初始化配置
# gitlab-ctl stop
# gitlab-ctl reconfigure
# gitlab-ctl start
结语

… …

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐