Skip to content

[fabio ziviello] Deploy a local registry #155

Closed

Description

@sciabarracom

Why you need it?

We need an internal registry to support building custom images

How it could be?

Add a task to deploy it with

ops setup nuvolaris registry

Other related information

Test it works with actions so running an image
with --docker registry:5000/user:hash works both with kind and k3s

Activity

  1. fziviello commented on Jul 19, 2025

    @fziviello

    working on it

  2. changed the title [-]Deploy a local registry[/-] [+][fabio ziviello] Deploy a local registry[/+] on Jul 19, 2025
  3. sciabarracom commented on Jul 22, 2025

    @sciabarracom
    ContributorAuthor

    To access a registry we will have to make it public, so please use an ingress named img.<apiphost> (a 3 letter because are reserved for internal services) and protect the registry with a randomly generated secret. Then create a service account for the invoker and assign the secret to access the registry

  4. sciabarracom commented on Jul 22, 2025

    @sciabarracom
    ContributorAuthor

    We always use ssl, except in miniops. SInce it is local, we have to use http so the docker registry will aways be insecure and cannt be used unless we explicitly instruct the containerd in kind to use an insecure registry.
    So we have to change the kind setup to add those configurations:

    containerdConfigPatches:
    - |-
      [plugins."io.containerd.grpc.v1.cri".registry.mirrors."10.52.212.167:9000"]
        endpoint = ["http://10.52.212.167:9000"]
      [plugins."io.containerd.grpc.v1.cri".registry.configs."10.52.212.167:9000".tls]
        insecure_skip_verify = true 
    

    https://medium.com/@nash.checkin/kind-kubernetes-in-docker-pulling-image-from-private-insecure-registry-2711706629cb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions