Skip to content

Commit

Permalink
deploy: bb29cd8
Browse files Browse the repository at this point in the history
  • Loading branch information
Himenon committed Sep 7, 2024
1 parent 033d0b6 commit ae2cf79
Show file tree
Hide file tree
Showing 30 changed files with 80 additions and 80 deletions.
4 changes: 2 additions & 2 deletions docs/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<label for=toc-control><img src=/nicolive-kubernetes-migration-handbook-2022/svg/toc.svg class=book-icon alt="Table of Contents"></label></div><aside class="hidden clearfix"><nav id=TableOfContents><ul><li><a href=#配布形式>配布形式</a></li><li><a href=#修正の提案について>修正の提案について</a></li></ul></nav></aside></header><article class=markdown><h1 id=このhandbookについて>このHandbookについて
<a class=anchor href=#%e3%81%93%e3%81%aehandbook%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6>#</a></h1><h2 id=配布形式>配布形式
<a class=anchor href=#%e9%85%8d%e5%b8%83%e5%bd%a2%e5%bc%8f>#</a></h2><p>このHandbookは以下の形式で配布されています。</p><ul><li><a href=https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022>Web Site</a></li><li><a href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/raw/main/tex-workspace/article.pdf>PDF</a></li></ul><p>PDFは最新版を保ちたいため、二次配布は実施せず本ページからダウンロードをしてください。</p><h2 id=修正の提案について>修正の提案について
<a class=anchor href=#%e4%bf%ae%e6%ad%a3%e3%81%ae%e6%8f%90%e6%a1%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6>#</a></h2><p>Pull Request welcomeです!</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/commit/85d00e7d1933014261ae16ac50225dd32a28efd5 title="Last modified by K.Himeno | June 23, 2022" target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/calendar.svg class=book-icon alt=Calendar>
<span>June 23, 2022</span></a></div><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/edit/main/content/docs/about/_index.md target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/edit.svg class=book-icon alt=Edit>
<a class=anchor href=#%e4%bf%ae%e6%ad%a3%e3%81%ae%e6%8f%90%e6%a1%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6>#</a></h2><p>Pull Request welcomeです!</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/commit/bb29cd87a1f494e6e6eca3f4b40728d9ccfbff76 title="Last modified by skilletskills | September 7, 2024" target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/calendar.svg class=book-icon alt=Calendar>
<span>September 7, 2024</span></a></div><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/edit/main/content/docs/about/_index.md target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/edit.svg class=book-icon alt=Edit>
<span>Edit this page</span></a></div></div><script>(function(){function e(n){const e=window.getSelection(),t=document.createRange();t.selectNodeContents(n),e.removeAllRanges(),e.addRange(t)}document.querySelectorAll("pre code").forEach(t=>{t.addEventListener("click",function(){e(t.parentElement),navigator.clipboard&&navigator.clipboard.writeText(t.parentElement.textContent)})})})()</script></footer><div class=book-comments></div><label for=menu-control class="hidden book-menu-overlay"></label></div><aside class=book-toc><div class=book-toc-content><nav id=TableOfContents><ul><li><a href=#配布形式>配布形式</a></li><li><a href=#修正の提案について>修正の提案について</a></li></ul></nav></div></aside></main></body></html>
10 changes: 5 additions & 5 deletions docs/ci/argo-cd/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/ci/argo-rollouts/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang=ja-jp dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Argo RolloutsとIstioを利用したCanary Deployを構築しました。"><meta name=theme-color content="#FFFFFF"><meta name=color-scheme content="light dark"><meta property="og:title" content="Argo Rolloutsの利用"><meta property="og:description" content="Argo RolloutsとIstioを利用したCanary Deployを構築しました。"><meta property="og:type" content="article"><meta property="og:url" content="https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022/docs/ci/argo-rollouts/"><meta property="og:image" content="https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022/site-feature-image.png"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2022-06-23T16:41:53+09:00"><title>Argo Rolloutsの利用 | ニコニコ生放送 Webフロントエンド Kubernetes移行ハンドブック 2022</title><link rel=manifest href=/nicolive-kubernetes-migration-handbook-2022/manifest.json><link rel=icon href=/nicolive-kubernetes-migration-handbook-2022/favicon.png type=image/x-icon><link rel=stylesheet href=/nicolive-kubernetes-migration-handbook-2022/book.min.fcc3ce6727c2b2b91bc9a518374b77e2097222f7fe4dc0016db675da315da284.css integrity="sha256-/MPOZyfCsrkbyaUYN0t34glyIvf+TcABbbZ12jFdooQ=" crossorigin=anonymous><script defer src=/nicolive-kubernetes-migration-handbook-2022/sw.min.dd2d6bf3c93d9223651db8ea5867f95fed658724b711f7b9e9e1d8aa46a84ebd.js integrity="sha256-3S1r88k9kiNlHbjqWGf5X+1lhyS3Efe56eHYqkaoTr0=" crossorigin=anonymous></script>
<!doctype html><html lang=ja-jp dir=ltr><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Argo RolloutsとIstioを利用したCanary Deployを構築しました。"><meta name=theme-color content="#FFFFFF"><meta name=color-scheme content="light dark"><meta property="og:title" content="Argo Rolloutsの利用"><meta property="og:description" content="Argo RolloutsとIstioを利用したCanary Deployを構築しました。"><meta property="og:type" content="article"><meta property="og:url" content="https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022/docs/ci/argo-rollouts/"><meta property="og:image" content="https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022/site-feature-image.png"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2024-09-07T12:41:34+09:00"><title>Argo Rolloutsの利用 | ニコニコ生放送 Webフロントエンド Kubernetes移行ハンドブック 2022</title><link rel=manifest href=/nicolive-kubernetes-migration-handbook-2022/manifest.json><link rel=icon href=/nicolive-kubernetes-migration-handbook-2022/favicon.png type=image/x-icon><link rel=stylesheet href=/nicolive-kubernetes-migration-handbook-2022/book.min.fcc3ce6727c2b2b91bc9a518374b77e2097222f7fe4dc0016db675da315da284.css integrity="sha256-/MPOZyfCsrkbyaUYN0t34glyIvf+TcABbbZ12jFdooQ=" crossorigin=anonymous><script defer src=/nicolive-kubernetes-migration-handbook-2022/sw.min.dd2d6bf3c93d9223651db8ea5867f95fed658724b711f7b9e9e1d8aa46a84ebd.js integrity="sha256-3S1r88k9kiNlHbjqWGf5X+1lhyS3Efe56eHYqkaoTr0=" crossorigin=anonymous></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2W6W35K13D"></script>
<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-2W6W35K13D",{anonymize_ip:!1})}</script><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://dwango.github.io/nicolive-kubernetes-migration-handbook-2022/site-feature-image.png"><meta name=twitter:title content="Argo Rolloutsの利用"><meta name=twitter:description content="Argo RolloutsとIstioを利用したCanary Deployを構築しました。"></head><body dir=ltr><input type=checkbox class="hidden toggle" id=menu-control>
<input type=checkbox class="hidden toggle" id=toc-control><main class="container flex"><aside class=book-menu><div class=book-menu-content><nav><h2 class=book-brand><a class="flex align-center" href=/nicolive-kubernetes-migration-handbook-2022/><span>ニコニコ生放送 Webフロントエンド Kubernetes移行ハンドブック 2022</span></a></h2><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/about/>このHandbookについて</a><ul></ul></li><li><span>ネットワーク</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/network/architecture/>移行前・移行中・移行後のネットワーク設計</a></li></ul></li><li><span>Manifest管理</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/manifest/manifest-management/>KubernetesのManifest管理</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/manifest/kubernetes-manifest-written-by-typescript/>TypeScriptでKubernetesのmanifestを記述する</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/manifest/kubernetes-manifest-generator-architecture/>TypeScriptでManifestを生成するGeneratorのアーキテクチャ</a></li></ul></li><li><span>Continuous Delivery</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/ci/argo-cd/>Argo CDの利用</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/ci/argo-rollouts/ class=active>Argo Rolloutsの利用</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/ci/slack-bot/>Slack Botによる自動化</a></li></ul></li><li><span>Service Mesh (Istio)</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/service-mesh/istio/>BFFとIstio</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/service-mesh/access-log/>アクセスログ</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/service-mesh/traffic-management/>Istio Ingress Gatewayの設定</a></li></ul></li><li><span>Rate Limit</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/rate-limit/global-ratelimit/>Global RateLimit</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/rate-limit/local-ratelimit/>Local RateLimit</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/rate-limit/ratelimit-is-unless/>RateLimitで負荷の上昇を防げないパターン</a></li></ul></li><li><span>スケーリング</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/scalability/horizontal-pod-autoscaler/>水平スケール</a></li></ul></li><li><span>負荷</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/performance/load-test/>負荷試験</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/performance/monitoring/>モニタリング</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/performance/load-balancing/>負荷分散</a></li></ul></li><li><span>Docker SwarmからKubernetesへの移行</span><ul><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/migrate-practice/migrate-docker-swarm-to-kubernetes/>通信経路の切り替え</a></li><li><a href=/nicolive-kubernetes-migration-handbook-2022/docs/migrate-practice/application/>アプリケーションの移行</a></li></ul></li></ul></nav><script>(function(){var e=document.querySelector("aside .book-menu-content");addEventListener("beforeunload",function(){localStorage.setItem("menu.scrollTop",e.scrollTop)}),e.scrollTop=localStorage.getItem("menu.scrollTop")})()</script></div></aside><div class=book-page><header class=book-header><div class="flex align-center justify-between"><label for=menu-control><img src=/nicolive-kubernetes-migration-handbook-2022/svg/menu.svg class=book-icon alt=Menu></label>
Expand Down Expand Up @@ -60,6 +60,6 @@
Trafficが流れなくなったPodは徐々に終了していることが確認できます。</p><p><img src=../rollouts-update-cpu-metrics.png alt=更新時のCPU使用率の変化></p><h2 id=これから>これから
<a class=anchor href=#%e3%81%93%e3%82%8c%e3%81%8b%e3%82%89>#</a></h2><p>Argo Rolloutsは<strong>Progressive Delivery</strong>を実現する方法を提供しており、DataDogとの連携も容易にできることがわかっています。</p><ul><li><a href=https://argoproj.github.io/argo-rollouts/analysis/datadog/>https://argoproj.github.io/argo-rollouts/analysis/datadog/</a></li></ul><p>これを実現するために、今現在は各種Metricsの集計とその信頼性の検証を進めています。
BFFのマイクロサービスの安定性を表すための定量的な指標を集計値として表せてはじめてこの機能を有効にできるため、
運用の実績値を蓄積し、集計し、不足しているMetricsを追加する作業を繰り返し行っています。</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/commit/85d00e7d1933014261ae16ac50225dd32a28efd5 title="Last modified by K.Himeno | June 23, 2022" target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/calendar.svg class=book-icon alt=Calendar>
<span>June 23, 2022</span></a></div><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/edit/main/content/docs/ci/argo-rollouts.md target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/edit.svg class=book-icon alt=Edit>
運用の実績値を蓄積し、集計し、不足しているMetricsを追加する作業を繰り返し行っています。</p></article><footer class=book-footer><div class="flex flex-wrap justify-between"><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/commit/bb29cd87a1f494e6e6eca3f4b40728d9ccfbff76 title="Last modified by skilletskills | September 7, 2024" target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/calendar.svg class=book-icon alt=Calendar>
<span>September 7, 2024</span></a></div><div><a class="flex align-center" href=https://github.com/dwango/nicolive-kubernetes-migration-handbook-2022/edit/main/content/docs/ci/argo-rollouts.md target=_blank rel=noopener><img src=/nicolive-kubernetes-migration-handbook-2022/svg/edit.svg class=book-icon alt=Edit>
<span>Edit this page</span></a></div></div><script>(function(){function e(n){const e=window.getSelection(),t=document.createRange();t.selectNodeContents(n),e.removeAllRanges(),e.addRange(t)}document.querySelectorAll("pre code").forEach(t=>{t.addEventListener("click",function(){e(t.parentElement),navigator.clipboard&&navigator.clipboard.writeText(t.parentElement.textContent)})})})()</script></footer><div class=book-comments></div><label for=menu-control class="hidden book-menu-overlay"></label></div><aside class=book-toc><div class=book-toc-content><nav id=TableOfContents><ul><li><a href=#argo-rolloutsとは>Argo Rolloutsとは</a></li><li><a href=#istio--argo-rollouts>Istio + Argo Rollouts</a></li><li><a href=#canary-deployを実施する>Canary Deployを実施する</a><ul><li><a href=#注意点>注意点</a></li><li><a href=#traffic-weightに応じたreplicasを指定する>Traffic Weightに応じたReplicasを指定する</a></li><li><a href=#canary-deploy時トラフィックが流れていないpodを縮退させる>Canary Deploy時トラフィックが流れていないPodを縮退させる</a></li></ul></li><li><a href=#datadogでのモニタリング例>DataDogでのモニタリング例</a></li><li><a href=#これから>これから</a></li></ul></nav></div></aside></main></body></html>
Loading

0 comments on commit ae2cf79

Please sign in to comment.