<p>how can I achieve that <a href="https://github.com/alexellis/arkade" rel="nofollow noreferrer">arkade</a> will create a service of <code>type: LoadBalancer</code> instead of <code>type: ClusterIP</code>?</p>
<p>I stumbled upon that requirement while deploying my private <code>docker-registry</code>. Logging in, pushing and pulling images from the command line, all runs fine, but once I want to use that registry, I need a point of reference which I state as the image in my Deployment definition:</p>
<pre><code>...
      containers:
      - name: pairstorer
        image: 192.168.x.x:5000/myimage:1.0.0
        ports:
        - containerPort: 55555
...
</code></pre>
<p>If I install the registry using <code>arkade install docker-registry</code>, I don't see any options for obtaining an external IP other than <code>kubectl edit service docker-registry</code> and adding it by myself.</p>

Michael
<p>If all you want is just a change of <code>Service</code> type from <code>ClusterIP</code> to <code>LoadBalancer</code>, you need to override default value for <code>docker-registry</code> Helm Chart.</p>
<p><strong>Arkade</strong> uses the <code>stable/docker-registry</code> Helm chart to install <code>docker-registry</code> and you can find default values <a href="https://github.com/helm/charts/blob/master/stable/docker-registry/values.yaml" rel="nofollow noreferrer">here</a>.</p>
<p>You need to change <code>service.type=ClusterIP</code> to <code>service.type=LoadBalancer</code> (additionally you may need to edit more values e.g. port number from default <code>5000</code>):</p>
<pre><code>$ arkade install docker-registry --set service.type=LoadBalancer
</code></pre>
<p>To change port add <code>--set service.port=&lt;PORT_NUMBER&gt;</code> to the above command.</p>
<p>We can check the type of the <code>docker-registry</code> <code>Service</code>:</p>
<pre><code>$ kubectl get svc docker-registry
NAME              TYPE           CLUSTER-IP    EXTERNAL-IP    PORT(S)          AGE
docker-registry   LoadBalancer   10.0.14.107   &lt;PUBLIC_IP&gt;    5000:32665/TCP   29m
</code></pre>
<hr />
<p>In addition, you may be interested in TLS-enabled Docker registry as described in this <a href="https://blog.alexellis.io/get-a-tls-enabled-docker-registry-in-5-minutes/" rel="nofollow noreferrer">tutorial</a>.  I recommend you to use this approach.</p>
