Skip to content

Add parameter for Kubernetes apt-proxy (k3s)#5257

Open
afbjorklund wants to merge 1 commit into
lima-vm:masterfrom
afbjorklund:k3s-proxy
Open

Add parameter for Kubernetes apt-proxy (k3s)#5257
afbjorklund wants to merge 1 commit into
lima-vm:masterfrom
afbjorklund:k3s-proxy

Conversation

@afbjorklund

@afbjorklund afbjorklund commented Jul 16, 2026

Copy link
Copy Markdown
Member

Now supports a parameter "proxy" for pulling packages from:

proxy: "http://host.lima.internal:3142"

It is not a deb package, but we can still use the apt-proxy.

Need a new URL instead of https_proxy, if we want caching...

Issue #5258


apt-proxy -cachedir /tmp/packages -port 3142 &

If using apt-cacher-ng, it needs to be configured to allow k3s:

PfilePatternEx: ^/k3s-io/k3s/releases/download/(v.*)/(sha256sum.*|k3s.*)$

Otherwise you will get an error, when trying to cache the k3s:

403 Forbidden file type or location

@afbjorklund afbjorklund changed the title Add parameter for Kubernetes apt-proxy Add parameter for Kubernetes apt-proxy (k3s) Jul 16, 2026
@afbjorklund afbjorklund added this to the v2.3.0 milestone Jul 16, 2026
Now supports a parameter "proxy" for pulling packages from:

proxy: "http://host.lima.internal:3142"

It is not a deb package, but we can still use the apt-proxy.

Need a new URL instead of https_proxy, if we want caching...

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
@afbjorklund
afbjorklund marked this pull request as ready for review July 22, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant