revise June 2024 container orchestration articles
Build and deploy / deploy (push) Successful in 16s
Build and deploy / deploy (push) Successful in 16s
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1060" viewBox="0 0 720 1060" role="img" aria-labelledby="title desc">
|
||||
<title id="title">Профиль приложения, манифест и жизненный цикл Pod</title>
|
||||
<desc id="desc">Учебная схема P76: профиль приложения задаёт вопросы к requests, limits и readiness, после чего Pod проходит состояния Pending, Running, Ready или Unready. Только Ready допускается к Service traffic. Это не данные кластера.</desc>
|
||||
<rect width="720" height="1060" fill="#0f172a"/>
|
||||
<rect x="28" y="26" width="664" height="104" rx="18" fill="#172554" stroke="#60a5fa" stroke-width="2"/>
|
||||
<text x="56" y="68" fill="#f8fafc" font-family="Arial, sans-serif" font-size="29" font-weight="700">Профиль → manifest → Pod lifecycle</text>
|
||||
<text x="56" y="101" fill="#bfdbfe" font-family="Arial, sans-serif" font-size="18">P76: fixed synthetic teaching model, не снимок кластера</text>
|
||||
|
||||
<rect x="58" y="164" width="604" height="172" rx="18" fill="#1e293b" stroke="#38bdf8" stroke-width="2"/>
|
||||
<text x="86" y="204" fill="#e0f2fe" font-family="Arial, sans-serif" font-size="24" font-weight="700">1. Профиль приложения</text>
|
||||
<text x="86" y="240" fill="#e2e8f0" font-family="Arial, sans-serif" font-size="20">serving или batch · startup · unit of work</text>
|
||||
<text x="86" y="272" fill="#e2e8f0" font-family="Arial, sans-serif" font-size="20">dominant resource · owner · stop condition</text>
|
||||
<rect x="86" y="288" width="548" height="28" rx="8" fill="#0c4a6e"/>
|
||||
<text x="102" y="309" fill="#e0f2fe" font-family="Arial, sans-serif" font-size="16">Вопрос: что обязан выдержать один Pod до следующей проверки?</text>
|
||||
|
||||
<path d="M360 336 V380" fill="none" stroke="#60a5fa" stroke-width="5"/>
|
||||
<path d="M348 368 L360 392 L372 368" fill="none" stroke="#60a5fa" stroke-width="5"/>
|
||||
|
||||
<rect x="58" y="400" width="604" height="196" rx="18" fill="#172554" stroke="#818cf8" stroke-width="2"/>
|
||||
<text x="86" y="440" fill="#e0e7ff" font-family="Arial, sans-serif" font-size="24" font-weight="700">2. Декларация container</text>
|
||||
<text x="86" y="478" fill="#e2e8f0" font-family="Arial, sans-serif" font-size="20">CPU / memory request → размещение scheduler</text>
|
||||
<text x="86" y="510" fill="#e2e8f0" font-family="Arial, sans-serif" font-size="20">CPU / memory limit → граница runtime</text>
|
||||
<text x="86" y="542" fill="#e2e8f0" font-family="Arial, sans-serif" font-size="20">readiness → допуск к Service traffic</text>
|
||||
<rect x="86" y="554" width="548" height="22" rx="7" fill="#312e81"/>
|
||||
<text x="102" y="571" fill="#e0e7ff" font-family="Arial, sans-serif" font-size="15">request, limit и readiness отвечают на разные вопросы</text>
|
||||
|
||||
<path d="M360 596 V640" fill="none" stroke="#a5b4fc" stroke-width="5"/>
|
||||
<path d="M348 628 L360 652 L372 628" fill="none" stroke="#a5b4fc" stroke-width="5"/>
|
||||
|
||||
<text x="58" y="690" fill="#cbd5e1" font-family="Arial, sans-serif" font-size="22" font-weight="700">3. Состояние Pod и маршрут трафика</text>
|
||||
<rect x="58" y="716" width="170" height="98" rx="16" fill="#1e3a5f" stroke="#60a5fa" stroke-width="2"/>
|
||||
<text x="86" y="756" fill="#dbeafe" font-family="Arial, sans-serif" font-size="22" font-weight="700">Pending</text>
|
||||
<text x="86" y="788" fill="#bfdbfe" font-family="Arial, sans-serif" font-size="17">ожидает setup</text>
|
||||
<path d="M228 765 H278" fill="none" stroke="#60a5fa" stroke-width="5"/>
|
||||
<path d="M266 753 L290 765 L266 777" fill="none" stroke="#60a5fa" stroke-width="5"/>
|
||||
<rect x="292" y="716" width="170" height="98" rx="16" fill="#1e3a5f" stroke="#60a5fa" stroke-width="2"/>
|
||||
<text x="319" y="756" fill="#dbeafe" font-family="Arial, sans-serif" font-size="22" font-weight="700">Running</text>
|
||||
<text x="319" y="788" fill="#bfdbfe" font-family="Arial, sans-serif" font-size="17">containers live</text>
|
||||
<path d="M462 765 H512" fill="none" stroke="#4ade80" stroke-width="5"/>
|
||||
<path d="M500 753 L524 765 L500 777" fill="none" stroke="#4ade80" stroke-width="5"/>
|
||||
<rect x="526" y="716" width="136" height="98" rx="16" fill="#14532d" stroke="#4ade80" stroke-width="2"/>
|
||||
<text x="555" y="756" fill="#dcfce7" font-family="Arial, sans-serif" font-size="22" font-weight="700">Ready</text>
|
||||
<text x="543" y="788" fill="#bbf7d0" font-family="Arial, sans-serif" font-size="16">может serve</text>
|
||||
|
||||
<path d="M594 814 V856" fill="none" stroke="#4ade80" stroke-width="5"/>
|
||||
<path d="M582 844 L594 868 L606 844" fill="none" stroke="#4ade80" stroke-width="5"/>
|
||||
<rect x="398" y="874" width="264" height="72" rx="16" fill="#14532d" stroke="#4ade80" stroke-width="2"/>
|
||||
<text x="426" y="905" fill="#dcfce7" font-family="Arial, sans-serif" font-size="20" font-weight="700">Service traffic</text>
|
||||
<text x="426" y="930" fill="#bbf7d0" font-family="Arial, sans-serif" font-size="16">только после Ready</text>
|
||||
|
||||
<path d="M377 814 V856" fill="none" stroke="#fb7185" stroke-width="5"/>
|
||||
<path d="M365 844 L377 868 L389 844" fill="none" stroke="#fb7185" stroke-width="5"/>
|
||||
<rect x="58" y="874" width="292" height="72" rx="16" fill="#4c0519" stroke="#fb7185" stroke-width="2"/>
|
||||
<text x="84" y="905" fill="#ffe4e6" font-family="Arial, sans-serif" font-size="20" font-weight="700">Unready</text>
|
||||
<text x="84" y="930" fill="#fecdd3" font-family="Arial, sans-serif" font-size="16">не диагноз и не traffic</text>
|
||||
|
||||
<rect x="28" y="976" width="664" height="52" rx="14" fill="#172554"/>
|
||||
<text x="48" y="1008" fill="#cbd5e1" font-family="Arial, sans-serif" font-size="16">Схема не измеряет CPU, memory, latency, HPA decision, CI или production state.</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.8 KiB |
Reference in New Issue
Block a user