Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Push the lunettes image to both dockerhub and acr #114

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

linuzb
Copy link
Collaborator

@linuzb linuzb commented Apr 21, 2024

The purpose of this pr is to speed up the deployment of lunettes by Chinese users by pushing images to a repository deployed in China (aliyun image regitstry). Users in different regions can choose different repositories for accelerated mirror downloads.

This pr has four main changes

  1. github workflow: added push image to aliyun repository in release workflow.
  2. helm chart: refactor the helm chart value, so that it is easier to switch mirror repositories when deploying.
  3. dependency image acceleration: add a workflow to migrate dependency images to the lunettes repository directory to accelerate the download of dependency images.
  4. add documentation

@linuzb linuzb force-pushed the feat/aliyun-repo branch from 18f742c to dad352f Compare April 21, 2024 03:47
@linuzb linuzb requested review from larryck, d3c3mber and hnhbwlp April 21, 2024 03:59
@linuzb linuzb changed the title Feat: Push the lunettes image to both dockerhub and acr (WIP)Feat: Push the lunettes image to both dockerhub and acr Apr 21, 2024
@linuzb linuzb force-pushed the feat/aliyun-repo branch 3 times, most recently from a5707cc to a6c83b8 Compare April 21, 2024 14:08
@linuzb linuzb changed the title (WIP)Feat: Push the lunettes image to both dockerhub and acr Feat: Push the lunettes image to both dockerhub and acr Apr 21, 2024
@linuzb
Copy link
Collaborator Author

linuzb commented Apr 21, 2024

resolve #113


jobs:
create-cluster:
runs-on: ubuntu-latest
steps:
# Free disk space
- name: Free disk space 🧹
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this icon written here on purpose :D

Copy link
Collaborator Author

@linuzb linuzb Jun 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code snippet is references the usage of another project jupyter/docker-stacks, which also encounters the problem of disk full.

@d3c3mber
Copy link
Collaborator

thank you @linuzb 🎉

memory: 512Mi
requests:
cpu: 100m
memory: 512Mi

# jaejer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo -> jaeger

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All jaejer typo have been modified

@@ -0,0 +1,64 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can have a better word than "convert image" ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "convet image" with "image transfer", which means that copy the image from one registry to another.

Or maybe we can name it "image syncer"?

@linuzb linuzb force-pushed the feat/aliyun-repo branch 2 times, most recently from 9fe217e to 3d3c595 Compare June 18, 2024 14:16
Signed-off-by: linuzb <[email protected]>
@linuzb linuzb force-pushed the feat/aliyun-repo branch from 197d2e1 to 67e5a93 Compare June 18, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants