Kubernetes 设置的 Gitlab DNS 条目?

Gitlab DNS Entry For Kubernetes Setup?

我有一个关于在 kubernetes 上设置 gitlab 的问题。我是 运行 基础 minkube cluster on my home machine and I want to install gitlab onto it. The setup instructions note the following prequesite:

The ability to point a DNS entry or URL at your GitLab install

我该怎么做? 在家用机器 运行 minikube 上设置 "DNS entry" 的基本机制是什么? 示例显示:

externalUrl: 'http://gitlab.example.com'

如果我拥有一个域,我该如何设置?为什么设置需要外部 URL?

提前感谢您的考虑和回复。

您将使用节点端口对其进行设置,并可以通过它正常访问它。如果你真的想要一个 DNS 条目,你可以在你的主机文件中添加一个 /etc/hosts:

[minikube ip] myfakelocalgitlabendpoint.com

您可以通过运行 minikube ip.

获取minikube的IP