arkade: set up service as a LoadBalancer

  docker, k3s, kubernetes

how can I achieve that arkade will create a service of type: LoadBalancer instead of type: ClusterIP?

I stumbled upon that requirement while deploying my private docker-registry. 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:

...
      containers:
      - name: pairstorer
        image: 192.168.x.x:5000/myimage:1.0.0
        ports:
        - containerPort: 55555
...

If I install the registry using arkade install docker-registry, I don’t see any options for obtaining an external IP other than kubectl edit service docker-registry and adding it by myself.

Source: Docker Questions

LEAVE A COMMENT