# セキュリティ

> クラウドネイティブなワークロードをセキュアに維持するためのコンセプト

---

LLMS index: [llms.txt](/llms.txt)

---

このセクションは、ワークロードをより安全に実行する方法やKubernetesクラスターのセキュリティを保つための重要な観点について学ぶのに役立ちます。

Kubernetesはクラウドネイティブアーキテクチャに基づいており、クラウドネイティブ情報セキュリティのグッドプラクティスについての<a class='glossary-tooltip' title='Cloud Native Computing Foundation' data-bs-toggle='tooltip' data-bs-placement='top' href='https://cncf.io/' target='_blank' aria-label='CNCF'>CNCF</a> からのアドバイスを参考にしています。

クラスターとクラスター上で実行しているアプリケーションをどのように保護するかについての広い文脈を理解するために[クラウドネイティブセキュリティとKubernetes](/docs/concepts/security/cloud-native-security/)を参照してください。

## Kubernetesセキュリティメカニズム {#security-mechanisms}

KubernetesはいくつかのAPIとセキュリティコントロールを含んでいます。
Kubernetesには、情報セキュリティを管理する方法の一部を構成する[ポリシー](#policies)を定義する方法のほか、いくつかのAPIとセキュリティコントロールが含まれています。

## コントロールプレーンの保護

どのKubernetesのクラスターでも重要なセキュリティメカニズムは[Kubernetes APIへのアクセスコントロール](/ja/docs/concepts/security/controlling-access)です。

Kubernetesでは、コントロールプレーン内やコントロールプレーンとそのクライアント間で[データ転送中の暗号化](/docs/tasks/tls/managing-tls-in-a-cluster/)を提供するために、TLSを設定し使用することが求められます。また、Kubernetesコントロールプレーン内に保存されているデータに対して[保存データの暗号化](/docs/tasks/administer-cluster/encrypt-data/)を有効にすることもできます。これは、自身のワークロードのデータに対して保存データの暗号化を使用することとは別のもので、この方法もまた有効かもしれません。

### Secret

[Secret](/docs/concepts/configuration/secret/) APIは機密性が必要な設定値の基本的な保護を提供します。

### ワークロードの保護

[Podセキュリティ基準](/docs/concepts/security/pod-security-standards/)を順守して、Podやコンテナが適切に独立されるようにします。必要に応じてカスタムの分離を定義するために[RuntimeClass](/ja/docs/concepts/containers/runtime-class)を使用することもできます。

[ネットワークポリシー](/ja/docs/concepts/services-networking/network-policies/)を使用すると、Pod間やPodとクラスター外との通信のネットワークトラフィックを制御できます。

Podやそのコンテナ、それらで実行されるイメージに対して、予防的または検出的なコントロールを実装するために周辺のエコシステムからセキュリティコントロールを導入することができます。

### 監査

Kubernetesの[監査ログ](/ja/docs/tasks/debug/debug-cluster/audit/)はクラスター内でのアクションの一連の流れを時系列で記録し、セキュリティに関連する情報を提供します。クラスターはKubernetes APIを利用するユーザーやアプリケーション、コントロールプレーン自身によって生成されるアクティビティを監査します。

## クラウドプロバイダーのセキュリティ

<div class="alert alert-secondary callout third-party-content" role="note"><strong>備考:</strong>&puncsp;このページの項目は、Kubernetes外部のベンダーを参照しています。Kubernetesプロジェクトの作者は、それらのサードパーティ製品またはプロジェクトに責任を負いません。このリストにベンダー、製品、またはプロジェクトを追加するには、変更を提出する前に<a href="/docs/contribute/style/content-guide/#third-party-content">コンテンツガイド</a>をお読みください。<a href="#third-party-content-disclaimer">詳細情報。</a></div>
 

Kubernetesクラスターを自身のハードウェアや様々クラウドプロバイダーで実行している場合、セキュリティのベストプラクティスのドキュメントを参照してください。以下に、いくつかの主要なクラウドプロバイダーのセキュリティドキュメントへのリンクを示します。



 





<table><caption style="display: none;">Cloud provider security</caption>
	<thead>
			<tr>
					<th>IaaSプロバイダー</th>
					<th>リンク</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Alibaba Cloud</td>
					<td><a href="https://www.alibabacloud.com/trust-center">https://www.alibabacloud.com/trust-center</a></td>
			</tr>
			<tr>
					<td>Amazon Web Services</td>
					<td><a href="https://aws.amazon.com/security">https://aws.amazon.com/security</a></td>
			</tr>
			<tr>
					<td>Google Cloud Platform</td>
					<td><a href="https://cloud.google.com/security">https://cloud.google.com/security</a></td>
			</tr>
			<tr>
					<td>Huawei Cloud</td>
					<td><a href="https://www.huaweicloud.com/intl/en-us/securecenter/overallsafety">https://www.huaweicloud.com/intl/en-us/securecenter/overallsafety</a></td>
			</tr>
			<tr>
					<td>IBM Cloud</td>
					<td><a href="https://www.ibm.com/cloud/security">https://www.ibm.com/cloud/security</a></td>
			</tr>
			<tr>
					<td>Microsoft Azure</td>
					<td><a href="https://docs.microsoft.com/en-us/azure/security/azure-security">https://docs.microsoft.com/en-us/azure/security/azure-security</a></td>
			</tr>
			<tr>
					<td>Oracle Cloud Infrastructure</td>
					<td><a href="https://www.oracle.com/security">https://www.oracle.com/security</a></td>
			</tr>
			<tr>
					<td>Tencent Cloud</td>
					<td><a href="https://www.tencentcloud.com/solutions/data-security-and-information-protection">https://www.tencentcloud.com/solutions/data-security-and-information-protection</a></td>
			</tr>
			<tr>
					<td>VMware vSphere</td>
					<td><a href="https://www.vmware.com/solutions/security/hardening-guides">https://www.vmware.com/solutions/security/hardening-guides</a></td>
			</tr>
	</tbody>
</table>
 

## ポリシー {#policies}

[ネットワークポリシー](/ja/docs/concepts/services-networking/network-policies/)(ネットワークパケットフィルタリングの宣言的制御)や[アドミッションポリシーの検証](/docs/reference/access-authn-authz/validating-admission-policy/) (Kubernetes APIを使用し誰が何を変更できるかの宣言的な制限)などのKubernetesネイティブメカニズムを使用し、セキュリティポリシーを定義することができます。

また、Kubernetesの周辺のエコシステムによるポリシーの実装に頼ることもできます。Kubernetesはエコシステムのプロジェクトに独自のポリシー制御を実装させるための拡張メカニズムを提供します。ソースコードレビューやコンテナイメージの承認、APIアクセスコントロール、ネットワーキングなどをポリシー制御に実装することができます。

## 次の項目 

関連するKubernetesセキュリティのトピックを学ぶためには:

* [クラスターのセキュリティ](/ja/docs/tasks/administer-cluster/securing-a-cluster/)
* Kubernetesの[既知の脆弱性](/docs/reference/issues-security/official-cve-feed/)(およびさらに詳しい情報へのリンク)
* コントロールプレーンの[データ転送中の暗号化](/docs/tasks/tls/managing-tls-in-a-cluster/)
* [保存データの暗号化](/docs/tasks/administer-cluster/encrypt-data/)
* [Kubernetes APIのアクセス制御](/ja/docs/concepts/security/controlling-access)
* Podのための[ネットワークポリシー](/ja/docs/concepts/services-networking/network-policies/)
* [KubernetesのSecret](/ja/docs/concepts/configuration/secret/)
* [Podセキュリティ基準](/ja/docs/concepts/security/pod-security-standards/)
* [RuntimeClass](/ja/docs/concepts/containers/runtime-class)

背景について学ぶためには:

<!-- if changing this, also edit the front matter of content/en/docs/concepts/security/cloud-native-security.md to match; check the no_list setting -->
* [クラウドネイティブセキュリティとKubernetes](/docs/concepts/security/cloud-native-security/)

認定を取得するためには:

* [Certified Kubernetes Security Specialist](https://training.linuxfoundation.org/ja/certification/certified-kubernetes-security-specialist/)の認定と公式トレーニングコース

このセクションのさらなる詳細については:

---

Section pages:

- [クラウドネイティブセキュリティの概要](/ja/docs/concepts/security/overview/)
- [Podセキュリティの標準](/ja/docs/concepts/security/pod-security-standards/)
- [クラウドネイティブセキュリティとKubernetes](/ja/docs/concepts/security/cloud-native-security/): クラウドネイティブワークロードを安全に保つためのコンセプト。
- [Podのセキュリティアドミッション](/ja/docs/concepts/security/pod-security-admission/)
- [サービスアカウント](/ja/docs/concepts/security/service-accounts/): KubernetesのServicesAccountオブジェクトについて学びます。
- [Podセキュリティポリシー](/ja/docs/concepts/security/pod-security-policy/)
- [Linuxノードのセキュリティ](/ja/docs/concepts/security/linux-security/)
- [Windowsノードのセキュリティ](/ja/docs/concepts/security/windows-security/)
- [Kubernetes APIへのアクセスコントロール](/ja/docs/concepts/security/controlling-access/)
- [ロールベースアクセスコントロールのグッドプラクティス](/ja/docs/concepts/security/rbac-good-practices/): クラスター運用者向けの適切なRBAC設計の原則と実践方法
- [Kubernetes Secretの適切な使用方法](/ja/docs/concepts/security/secrets-good-practices/): クラスター管理者とアプリケーション開発者向けの適切なSecret管理の原則と実践方法。
- [マルチテナンシー](/ja/docs/concepts/security/multi-tenancy/)
- [Kubernetes APIサーバーのバイパスリスク](/ja/docs/concepts/security/api-server-bypass-risks/): APIサーバーとその他のコンポーネントに関連するセキュリティアーキテクチャ情報
- [堅牢化ガイド - スケジューラーの設定](/ja/docs/concepts/security/hardening-guide/scheduler/): Kubernetesスケジューラーのセキュリティ強化に関する情報。
- [堅牢化ガイド - 認証メカニズム](/ja/docs/concepts/security/hardening-guide/authentication-mechanisms/): Kubernetesの認証オプションとそのセキュリティ特性に関する情報。
- [Podとコンテナに対するLinuxカーネルのセキュリティ制約](/ja/docs/concepts/security/linux-kernel-security-constraints/): Podとコンテナを強化するために使用できるLinuxカーネルのセキュリティモジュールと制約の概要。
- [セキュリティチェックリスト](/ja/docs/concepts/security/security-checklist/): Kubernetesクラスターのセキュリティを確保するための基本的なチェックリスト。
- [アプリケーションセキュリティチェックリスト](/ja/docs/concepts/security/application-security-checklist/): アプリケーション開発者を対象とした、Kubernetes上でのアプリケーションセキュリティを確保するための基準となるガイドライン
