Skip to Content
DevSecOpsを学ぶ
book

DevSecOpsを学ぶ

by Steve Suehring
March 2025
Intermediate to advanced
194 pages
2h 55m
Japanese
O'Reilly Media, Inc.
Audio summary available
Content preview from DevSecOpsを学ぶ

第7章. 計画と拡大

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

前章では、コンフィギュレーション管理、デプロイ、モニタリングに関する概念を紹介し、補強した。この章の焦点は、開発関連のプロセスを超えて、スケールアップしたデプロイに拡大することである。DevSecOpsのデプロイ関連技術の進歩の速さは、その使用方法を印刷で正当化することを難しくしている。そのため、この章での私の主な目標は、より成熟した製品の1つであるKubernetesの現状を示すことだ。このゴールに到達するには、Kubernetesのインストールを作成する必要があり、この章はそこから始まる。

Kubernetesでスケールアップする

Dockerは、アプリケーション開発を仮想サーバやクラウドベースのサーバインフラ()から、個々のマイクロコンポーネントやマイクロサービスがより大きなアプリケーションを構成する、サービスベースのプロセスレベルパラダイムへと移行させるのに役立つ。Kubernetesは、スケーラブルなコンテナ管理を提供することで、このシフトをさらに推し進める。Kubernetesは、アプリケーションレベルのスケーリング、コンテナオーケストレーション、そして最終的にはマイクロサービスアーキテクチャではスケールを支援する。

物理サーバや仮想サーバからKubernetesへの移行は、Docker Composeでも同じようなソリューションが発見できるのに、最初はやり過ぎに見えるかもしれない。しかしKubernetesは、何千台、何万台ものサーバをデプロイする際に、Docker Composeでは煩雑になる抽象化レベルを提供する。このセクションが終わる頃には、2つのワーカーノードを持つKubernetesクラスタが稼働していることだろう。

Kubernetesの基本用語を理解する

Kubernetesのアーキテクチャは、コントロールプレーンとワーカーノードに分かれている。コントロールプレーン には、キー/バリューストア、アプリケーションプログラミングインタフェース(API)、スケジューラ、コントローラマネージャなど、いくつかのサービスが含まれている。コントローラ・マネージャは、、特にノードとジョブの管理を担当する。ノード上では、kubeletと呼ばれるエージェントがコンテナの実行を保証し、kube-proxyと呼ばれるプロキシがネットワーク通信を担当する。コンテナランタイムもノード上で。コンテナの集合体はKubernetesでは「ポッド」と呼ばれ、Kubernetesのインストール全体を構成するサービスの集合体を「クラスタ」と呼ぶ。

Kubernetesはまた、特殊化でService(大文字の "S "に注意)を定義している。KubernetesのServiceは、ウェブサーバのようなネットワークベースのリスニングサービスと考えることができる。

Kubernetesをインストールする

動作するKubernetesの作成は、、最初は難しいかもしれない。仮想サーバ・テンプレートやLinuxディストリビューションのベース・インストールを使用することをお勧めする。このセクションでは、Debian 12をベースOSとして使用する。目標は、2つのノードとともに拡張可能なクラスタマネージャを作成することである。プライマリコントローラのホスト名はk8sとする。最初のワーカーノードはk8s-node1 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

脅威モデリング

脅威モデリング

Izar Tarandach, Matthew J. Coles

Publisher Resources

ISBN: 9798341632769