<p>I'm trying to deploy GitLab on Kubernetes using minikube through <a href="https://docs.gitlab.com/ce/install/kubernetes/gitlab_chart.html#deployment-of-gitlab-to-kubernetes" rel="nofollow noreferrer">this</a> tutorial, but I don't know what values to put in the fields <code>global.hosts.domain</code>, <code>global.hosts.externalIP</code> and <code>certmanager-issuer.email</code>.</p>

<p>The tutorial is very poor in explanations. I'm stuck in this step. Can someone tell me what are this fields and what should I put on them?</p>

<blockquote>
  <p>I'm trying to deploy GitLab on Kubernetes using minikube through this tutorial, but I don't know what values to put in the fields <code>global.hosts.domain</code>, <code>global.hosts.externalIP</code> and <code>certmanager-issuer.email</code>.</p>
</blockquote>

<p>For the domain, you can likely use whatever you'd like, just be aware that when gitlab generates links that are designed to point to itself they won't resolve. You can work-around that with something like <a href="http://www.thekelleys.org.uk/dnsmasq/doc.html" rel="nofollow noreferrer"><code>dnsmasq</code></a> or editing <code>/etc/hosts</code>, if it's important to you</p>

<p>For the externalIP, that will be what <code>minikube ip</code> emits, and is the IP through which you will communicate with gitlab (since you will not be able to use the Pod's IP addresses outside of minikube). If gitlab does not use a <code>Service</code> of type <code>NodePort</code>, you're in for some more hoop-jumping to expose those ports via minikube's IP</p>

<p>The <code>certmanager-issuer.email</code> you can just forget about, because it 100% will not issue you a Let's Encrypt cert running on minikube unless they have fixed cermanager to use the dns01 protocol. In order for Let's Encrypt to issue you a cert, they have to connect to the webserver for which they are issuing the cert, and (as you might guess) they will not be able to connect to your minikube IP. If you want to experience SSL on your gitlab instance, then issue the instance a self-signed cert and call it a draw.</p>

<blockquote>
  <p>The tutorial is very poor in explanations.</p>
</blockquote>

<p>That's because what you are trying to do is perilous; minikube is not designed to run an entire gitlab instance, for the above and tens of other reasons. Google Cloud Platform offers generous credits to kick the tires on kubernetes, and will almost certainly have all the things you would need to make that stuff work.</p>
