Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gatekeeper と Azure Policy (rev.1) / gatekeeper-...
Search
sou
September 21, 2024
Technology
0
140
Gatekeeper と Azure Policy (rev.1) / gatekeeper-azpol
スライドは Marp にて作成してみており、レイアウトや構文などは試行錯誤中です。
sou
September 21, 2024
Tweet
Share
More Decks by sou
See All by sou
読み物からのエンジニア的な学び / Learning from Reading
08thse
0
120
Azure Container Apps 気になるアップデート (2023/5) / ACA_Update_202305
08thse
0
240
Azure Container Apps 触ってみる / LT_AzureContainerApps
08thse
0
530
DeployToAzureポチからの卒業 / LT_DeployToAzure
08thse
0
400
Deeperという人材カテゴリに共感した話
08thse
0
160
LT_Documentation
08thse
0
62
Other Decks in Technology
See All in Technology
Part2 GitHub Copilotってなんだろう
tomokusaba
2
750
Coding Agentに値札を付けろ
watany
3
420
MySQL Indexes and Histograms – How they really speed up your queries
lefred
0
160
Previewでもここまで追える! Azure AI Foundryで始めるLLMトレース
tomodo_ysys
2
630
クラウドネイティブ環境の脅威モデリング
kyohmizu
2
400
genspark_presentation.pdf
haruki_uiru
1
240
Pythonデータ分析実践試験 出題傾向や学習のポイントとテクニカルハイライト
terapyon
1
140
大規模サーバーレスプロジェクトのリアルな零れ話
maimyyym
3
210
SaaS公式MCPサーバーをリリースして得た学び
kawamataryo
2
480
AIによるコードレビューで開発体験を向上させよう!
moongift
PRO
0
420
Как мы автоматизировали интеграционное тестирование с Gonkey и не пожалели. Паша Егорычев, Кирилл Поляков
lamodatech
0
2.1k
AWSを利用する上で知っておきたい名前解決の話
nagisa53
6
790
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
33
6.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
840
Making Projects Easy
brettharned
116
6.2k
Docker and Python
trallard
44
3.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Into the Great Unknown - MozCon
thekraken
38
1.8k
Build your cross-platform service in a week with App Engine
jlugia
230
18k
Scaling GitHub
holman
459
140k
Adopting Sorbet at Scale
ufuk
76
9.4k
Git: the NoSQL Database
bkeepers
PRO
430
65k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Designing for Performance
lara
608
69k
Transcript
Gatekeeper と Azure Policy sou (08thse) / Marp version (rev.1)
目次 1. Azure Policy と Gatekeeper 2. Gatekeeper の概要 3.
ポリシー適用における Gatekeeper の役割 4. ポリシー設定とその影響 5. ポリシーのデプロイとテスト
Azure Policy と Gatekeeper Azure Policy は、各種リソースが条件に準拠しているか判定 特にクラスターの保護では Defender for
Containers と連携 Azure Policy for Kubernetes というアドオンを通じて Azure Policy を適用 仕組みとして Gatekeeper を使い、ポリシーの適用を管理
None
Gatekeeper の概要 Gatekeeper は、ポリシーの決定と Kubernetes API の分離を実現 CRD (Custom Resource
Definition) を作成・利用してリソースリク エストを修正・検証 gatekeeper-audit Pod と gatekeeper-controller Pod が連携
Gatekeeper でできること Gatekeeper は、CPU や Memory の Limit などのルールを強制する ことができる
ポリシー違反のリクエストを拒否したり、リクエストを変更したり する柔軟なオプションを提供
ポリシー設定とその影響 Azure Policy では、下記の動作を指定できる Disabled: ポリシーの評価をしない Deny: 準拠しないデプロイを拒否する Audit: 準拠しない場合でもデプロイは可能だが記録される
ポリシーのデプロイとテスト Azure Policy によって適用されたテンプレートは kubectl get assign にて確認できる
参考情報 Microsoft Defender for Containers のコンテナー セキュリティの概 要 - Microsoft
Defender for Cloud | Microsoft Learn Introduction | Gatekeeper Gatekeeper: Enforcing security policy on your Kubernetes clusters - Microsoft Community Hub