-
-
Notifications
You must be signed in to change notification settings - Fork 782
Description
Feature Request
Talos supports multiple versions of deploying Kubernetes but the talosctl images default command only lists the latest version for that version of talosctl. Similar to talosctl image source-bundle it should accept a version of kubernetes that will list the images for that version of kubernetes.
Description
We may want to rename the commands so they make more sense on what list of containers you're getting. It would be helpful to have a way to list what versions (talos and kubernetes) are valid options for the installed talosctl.
Maybe the flow should be
talosctl image talos-bundle [$VERSION] > images.txt
talosctl image k8s-bundle [$VERSION] >> images.txt
cat images.txt | talosctl images cache-create --image-cache-path ./image-cache.oci --images=-
Then serving the cache would be
talosctl image cache-cert-gen --advertised-address $IP:$PORT
talosctl image cache-serve --address $IP --image-cache-path ./image-cache.oci \
--tls-cert-file tls.crt --tls-key-file tls.key
Then I have a image-cache-patch.yaml patch I can apply to a system. Is it possible to also generate a registry-mirror patch automatically with the endpoints and IP address? I think I need to add this patch.
machine:
registries:
mirrors:
ghcr.io:
endpoints:
- https://$IP:$PORT
- https://ghcr.io/v2/
registry.k8s.io:
endpoints:
- https://$IP:$PORT
- https://registry.k8s.io/v2/