Skip to content
Discussion options

You must be logged in to vote

Having a global airgapped configuration would be easy to implement and hosts.toml could easily support it. What is missing is a configuration in the CRI plugin to enable this. As we transition to move the pull logic out of CRI to the new transfer service, a new configuration option would belong there. The underlying hosts.toml system you mentioned is already designed to support this. The CRI configuration today only looks up based on registry host name, it needs a fallback to a global configuration to support the use case you mentioned.

See CRI logic for getting mirror configs https://github.com/containerd/containerd/blob/main/pkg/cri/server/image_pull.go#L341

The PR you linked to include…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jess-sol
Comment options

@dmcgowan
Comment options

@jess-sol
Comment options

@dmcgowan
Comment options

@jess-sol
Comment options

Answer selected by jess-sol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants