Kubernetes pod

쿠버네티스 파드

A deployment unit whose containers share networking and storage.

···
html
<div class="stage" data-phase="0"><div class="title">ONE POD · SHARED IP</div><div class="pod"><div class="row pair"><div class="panel app">APP</div><div class="flow">⇄</div><div class="panel helper">HELPER</div></div><div class="panel volume">shared volume</div></div><div class="sub">pod address: 10.0.0.7</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)}.pod{border:2px dashed var(--accent);border-radius:16px;padding:clamp(8px,2vmin,16px);flex:1;display:flex;flex-direction:column;justify-content:center;gap:clamp(6px,1.5vmin,12px)}.pair{justify-content:center}.pair .panel{width:35%;text-align:center}.flow{color:var(--accent);font-size:clamp(18px,4vmin,30px)}.volume{text-align:center;color:var(--muted)}.stage[data-phase="1"] .app,.stage[data-phase="2"] .helper{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--surface))}.stage[data-phase="2"] .volume{color:var(--accent)}
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()})

A pod is a small scheduling unit in Kubernetes. Containers in one pod share an IP and ports, and can exchange files through shared volumes.

The demo keeps an app and helper inside one boundary with a common address and volume. Pods are replaceable, so local files alone should not hold durable data.

When to use

Use the pod boundary when colocating an app with a tightly coupled helper process.

Open as page ↗