From 23f6be82bd69a7f3891da57ebaca12881d153df5 Mon Sep 17 00:00:00 2001 From: Abhishek Kekane Date: Thu, 27 Dec 2018 04:23:04 +0000 Subject: [PATCH] Spec Lite: Add periodic job to prefetch images into cache Change-Id: I2b9925a6651b869a8cc875b80b4a66be0ac93755 --- .../glance/spec-lite-cache-prefetcher.rst | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 specs/train/approved/glance/spec-lite-cache-prefetcher.rst diff --git a/specs/train/approved/glance/spec-lite-cache-prefetcher.rst b/specs/train/approved/glance/spec-lite-cache-prefetcher.rst new file mode 100644 index 00000000..f60294a5 --- /dev/null +++ b/specs/train/approved/glance/spec-lite-cache-prefetcher.rst @@ -0,0 +1,35 @@ +.. + This work is licensed under a Creative Commons Attribution 3.0 Unported + License. + + http://creativecommons.org/licenses/by/3.0/legalcode + +========================================================= +Spec Lite: Add periodic job to prefetch images into cache +========================================================= + +:project: glance + +:problem: During Queens release glance registry is marked as deprecated and + will be removed during Train cycle. Glance cache-prefetcher utility + uses glance registry to cache the images. + +:solution: In Train, as per Edge computing architecture, glance cache will be + enabled on far-edge nodes. As of now glance-cache-prefetcher is + dependent on registry which is deprecated and due for removal. + In order to remove the dependency on registry, we are proposing + to add a new periodic job to glance-api service which will run + as per interval set using 'cache_prefetcher_interval' + configuration option and fetch images which are queued for + caching in cache directory. This new periodic job will only run + if cache is enabled by the operator. + +:alternatives: None + +:impacts: DocImpact + +:timeline: Include in Train release. + +:link: None + +:assignee: abhishekk