cosmology-tech / starship

A k8s based unified development environment for Cosmos Ecosystem (and beyond)

Home Page:https://docs.cosmology.zone/starship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: Docker-Desktop starship takes long time

Anmol1696 opened this issue · comments

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

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.