Skip to content

deployKF/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deployKF - Dashboard

The dashboard for deployKF.

About

This is a fork of the Kubeflow Central Dashboard component. The fork is used to apply style and other changes to the dashboard.

Image Locations

Development

Important Links

Building for ARM

Building this image for arm64 using QEMU emulation will likely never finish (for example, inside a GitHub Action). To resolve this, we build the image locally on an ARM device (like an Apple Silicon Mac) and push the intermediate layers to the cache.

NOTE: for security reasons, we only push locally built layers to a cache (which the CI/CD process pulls from), and never push directly to the final image registry.

Steps to build for ARM:

  1. create a PR suggesting changes
    • TIP: before you have pushed the cache layers, the build job will likely time out (so you may wish to cancel it manually)
  2. clone your PR source repo onto an ARM device (ensure you checkout the EXACT commit of your PR)
  3. authorize docker with a GitHub Token for writing to ghcr.io/deploykf (see GitHub docs)
  4. build the image, and cache all layers to the ghcr.io/deploykf/ci/dashboard registry
cd dashboard/

CI_REGISTRY_IMAGE="ghcr.io/deploykf/ci/dashboard"
docker buildx build --cache-to=type=registry,ref=${CI_REGISTRY_IMAGE},mode=max .