OCI artifact volume

OCI 아티팩트 볼륨

Pull image or artifact content from a registry and mount it as a pod volume.

···
html
<div class="stage" data-phase="0"><div class="title">REGISTRY → POD VOLUME</div><div class="row chain"><div class="panel artifact">model:v3</div><div class="connector">→</div><div class="panel pull">kubelet</div><div class="connector">→</div><div class="panel mount">/models</div></div><div class="sub">content mounted independently of app image</div></div>
css
.stage{width:min(94vw,760px);height:min(88vh,330px);padding:clamp(9px,2.6vmin,20px);border:1px solid var(--line);border-radius:14px;background:var(--surface);font:600 clamp(12px,2.5vmin,16px)/1.3 "Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;display:flex;flex-direction:column;gap:clamp(6px,1.7vmin,12px);overflow:hidden;position:relative}.stage *{min-width:0}.stage .title{color:var(--accent);font-weight:800}.stage .sub{color:var(--muted)}.stage .row{display:flex;align-items:center;gap:clamp(5px,1.6vmin,12px)}.stage .panel{border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:clamp(6px,1.6vmin,12px)}.stage .mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:clamp(12px,2.5vmin,15px)}.stage .grow{flex:1}.stage .on{color:var(--accent)}.chain{flex:1;justify-content:center}.chain .panel{width:25%;text-align:center}.connector{color:var(--accent);font-size:clamp(20px,5vmin,34px);opacity:.25;transition:opacity .25s}.stage[data-phase="1"] .connector:first-of-type,.stage[data-phase="2"] .connector{opacity:1}.stage[data-phase="1"] .pull,.stage[data-phase="2"] .mount{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 18%,var(--surface))}
js
const stage=document.querySelector('.stage');let phase=0;function advance(){phase=(phase+1)%3;stage.dataset.phase=String(phase)}const timer=setInterval(advance,1200);stage.addEventListener('pointerdown',()=>{clearInterval(timer);advance()})

An OCI volume source lets kubelet pull registry content and mount it into a pod. It can distribute a model or configuration separately from the application image.

The demo moves a model artifact from registry to pod mount. The volume source is stable in Kubernetes 1.36; pinning artifact version and provenance remains important.

When to use

Use it to deliver versioned data artifacts without rebuilding the application image.

Open as page ↗