为K8S上的应用创建新域
我们在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您需要为外部访问创建一个入口,可以在官方文档。
然后,您需要在域提供商中创建一个域,并将其链接到您先前创建的入口的外部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