这里用上文中的测试域名 test.keycloak.org
test.keycloak.org
通过修改本机的 hosts 文件,本地解析该域名至部署的对外暴露的服务地址(LoadBalancer 或 Ingress 等)。
通过改本机的 /etc/hosts ,增加如下条目:
/etc/hosts
x.x.x.x test.keycloak.org
若已将服务映射至本地,则上述的 x.x.x.x 则为 127.0.0.1。
x.x.x.x
127.0.0.1
最后更新于1年前