cosmology-tech / starship

A k8s based unified development environment for Cosmos Ecosystem (and beyond)
https://cosmology.zone/products/starship
MIT License
67 stars 20 forks source link

bug: Docker-Desktop starship takes long time #289

Open Anmol1696 opened 8 months ago

Anmol1696 commented 8 months ago

Overview

When setting up Starship locally on docker-desktop based k8s system, pull the docker image seem to take the longest time. It also seems that the docker images are pulled serially.

  Normal  Pulling    6m24s  kubelet            Pulling image "prom/prometheus"
  Normal  Pulled     89s    kubelet            Successfully pulled image "prom/prometheus" in 4m30.000384332s (4m54.848304802s including waiting)

Proposal

We need to add warning on Starship docs page, or troubleshooting section

  1. Maybe add a manual step to pull images before hand
  2. Look into faster pulling of docker images
Anmol1696 commented 8 months ago

We need to set ImagePull from Always to IfNotPresent else pods try and fetch images always.

This will force images to be used with tags instead of generics like: latest, nightly etc..

We should also expose this in the config file as well.