为K8S上的应用创建新域

发布于 2025-01-25 21:17:24 字数 117 浏览 4 评论 0原文

我们在K8S上创建了新应用程序,此应用程序正在公开K8S中的NodePort服务,我们可以使用端口转发访问UI。 我们想用特定的域将其暴露在外面,并且有一个GCP帐户如何做到这一点?这些步骤是什么?没有找到任何有用的链接

we have create new application on k8s, this application is exposing nodePort service in k8s and we are able to access the UI using port forwarding.
We want to expose it outside with specific domain and we have a GCP account how we can do it? what are the steps ? didnt find any useful link

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

奈何桥上唱咆哮 2025-02-01 21:17:24

首先,您需要为外部访问创建一个入口,可以在官方文档

然后,您需要在域提供商中创建一个域,并将其链接到您先前创建的入口的外部IP

first, you need to create an Ingress for external access, you can read all about that in the official docs.

then you need to create a domain in your domain provider and link it to the external IP of the ingress you create earlier

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文