先找到用户名和密码
[root@master ~]# oc describe pod router-1-8pjrb | grep STATS_ STATS_PASSWORD: mFj58DpaOQ STATS_PORT: 1936 STATS_USERNAME: admin
然后在管理控制台上去掉Router DeploymentConfig的ROUTER_METRICS_TYPE
同时修改ReadnessProble的url为 /healthz
在router节点上打开iptables设置
[root@node1 ~]# iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 1936 -j ACCEPT [root@node1 ~]# service iptables save iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
访问
http://admin:mFj58DpaOQ@192.168.56.104:1936