当前位置:网站首页>Rancher2.6 monitoring grafana docking LDAP
Rancher2.6 monitoring grafana docking LDAP
2022-07-28 00:54:00 【InfoQ】
Rancher Monitoring Introduce
reflection
precondition
- Rancher:2.6.4
- k8s:1.20.11
- monitoring:100.1.2+up19.0.3
- OpenLDAP:1.5.0
Detailed operation
Grafana docking LDAP
edit Monitoring Yaml To configure LDAP
- visit Rancher explorer UI, Get into Apps & Marketplace, choice Monitoring, Select... In the configuration options Edit YAML:

- Turn on LDAP Authentication configuration
grafana.grafana.iniauth.ldapgrafana:
grafana.ini:
auth.ldap:
allow_sign_up: true
config_file: /etc/grafana/ldap.toml
enabled: true

grafanagrafana:
ldap:
config: |
[[servers]]
host = "test.zerchin.xyz"
port = 389
use_ssl = false
start_tls = false
ssl_skip_verify = true
bind_dn = "cn=admin,dc=rancherldap,dc=com"
bind_password = 'Rancher123'
search_filter = "(cn=%s)"
search_base_dns = ["cn=group,ou=rancher,dc=rancherldap,dc=com"]
[servers.attributes]
name = "givenName"
surname = "sn"
username = "cn"
member_of = "memberOf"
email = "email"
enabled: true
hostportuse_sslstart_tlsssl_skip_verifybind_dnbind_passwordsearch_filter"(cn=%s)""(sAMAccountName=%s)""(uid=%s)"search_base_dns- Start monitoring after configuration .

LDAP verification


Grafana be based on SSL docking LDAP
Create certificate secret
cattle-monitoring-systemcertsca.pemtls.crttls.key
kubectl create secret generic certs -n cattle-monitoring-system --from-file=ca.pem --from-file=tls.crt --from-file=tls.key
LDAP SSL Authentication configuration
- stay
grafanaUnder the hierarchy , add toextraSecretMountsmount secret certificate :
grafana:
extraSecretMounts:
- defaultMode: 440
mountPath: /opt/certs
name: certs
readOnly: true
secretName: certs
- LDAP Turn on SSL authentication :
grafana:
ldap:
config: |
[[servers]]
host = "test.zerchin.xyz"
port = 636
use_ssl = true
start_tls = false
ssl_skip_verify = false
root_ca_cert = "/opt/certs/ca.pem"
client_cert = "/opt/certs/tls.crt"
client_key = "/opt/certs/tls.key"
bind_dn = "cn=admin,dc=rancherldap,dc=com"
bind_password = 'Rancher123'
search_filter = "(cn=%s)"
search_base_dns = ["cn=group,ou=rancher,dc=rancherldap,dc=com"]
[servers.attributes]
name = "givenName"
surname = "sn"
username = "cn"
member_of = "memberOf"
email = "email"
enabled: true
portSet to 636 SSL Encryption port
use_sslSet to true,ssl_skip_verifySet to false, Turn on SSL authentication
root_ca_cert、client_cert、client_keyConfigure certificate path
- Start monitoring after configuration .
LDAP SSL verification


summary
边栏推荐
- Recurrence of fastjson historical vulnerabilities
- Matlab | those matlab tips you have to know (4)
- Volkswagen China invested 8billion yuan and became the largest shareholder of GuoXuan high tech
- 基于Unittest的ddt+yaml实现数据驱动机制
- 分支和循环语句题目练习
- Count the six weapons of the domestic interface cooperation platform!
- 为华为打造无美系设备的产线,台积电三星能做到吗?
- leetcode:1997. 访问完所有房间的第一天【跳跃dp】
- Point divide and conquer analysis
- 网络设备硬核技术内幕 防火墙与安全网关篇 (小结)
猜你喜欢

芯片行业常用英文术语最详细总结(图文快速掌握)

数据分析:拆解方法(详情整理)

Red team killer behinder_ V4.0 (ice scorpion 4.0)

Map set

How to smoothly go online after MySQL table splitting?

From the second floor to the third floor

DC motor winding parameters

What is the org relationship mitigation strategy of Microsoft edge browser tracking prevention

分支和循环语句题目练习

递归求解迷宫问题
随机推荐
有趣的哈夫曼树
R language evaluates the relative importance of the predictive factors (variables, characteristics) of the regression model, scales the predictive variables of the regression model, and then construct
Swear, swear, swear
Jerry, if you turn on Bluetooth again, one for two. When the mobile phone is connected to the prototype, it will appear and cannot be connected [chapter]
Network equipment hard core technology insider firewall and security gateway (11) secrets of zero contact office
Arm发布全新A78/G78/N78内核!还有支持自定义的Cortex-X系列CPU
多线程及多线程程序的编写
立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
网络设备硬核技术内幕 防火墙与安全网关篇 (五) 安全双修大法 中
自动推理的逻辑07–谓词演算
mysql分表之后怎么平滑上线?
小程序助力智能家居生态平台
How does matlab set the K-line diagram to classic red and green color matching?
数组相关知识
ASML launched the first generation HMI multi beam detector: the speed is increased by 600%, which is suitable for 5nm and more advanced processes
融云 IM & RTC 能力上新盘点
阿里二面:为什么要分库分表?
激活最大化
Leetcode:1997. the first day after visiting all rooms [jump DP]
Basic operations of MySQL database (3) --- Based on fields