optimize the filesystem module #1451
kakaZhou719
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
background:
At present, our filesystem mount process is:
step 1. pull CloudImage and mount all layers.
step 2. then send mounted data as rootfs, and execute the init script to start up cri, kubelet and so on.
step 3. send registry data and will be loaded at runtime
ApplyRegistry
to start registry.we can try to optimize above process i think.
一:for step2, Sort rootfs by the file usage:
二:for step3, strip registry data send from filesystem send.
send registry data and apply start registry at the same process reducing the complexity of filesystem module.
Beta Was this translation helpful? Give feedback.
All reactions