|
1 | 1 | ---
|
2 |
| -title: Configuring your kubernetes cluster to self-host the control plane |
| 2 | +title: コントロールプレーンをセルフホストするようにkubernetesクラスターを構成する |
3 | 3 | content_type: concept
|
4 | 4 | weight: 100
|
5 | 5 | ---
|
6 | 6 |
|
7 | 7 | <!-- overview -->
|
8 | 8 |
|
9 |
| -### Self-hosting the Kubernetes control plane {#self-hosting} |
| 9 | +### コントロールプレーンのセルフホスティング {#self-hosting} |
10 | 10 |
|
11 |
| -kubeadm allows you to experimentally create a _self-hosted_ Kubernetes control |
12 |
| -plane. This means that key components such as the API server, controller |
13 |
| -manager, and scheduler run as [DaemonSet pods](/ja/docs/concepts/workloads/controllers/daemonset/) |
14 |
| -configured via the Kubernetes API instead of [static pods](/docs/tasks/administer-cluster/static-pod/) |
15 |
| -configured in the kubelet via static files. |
| 11 | +kubeadmを使用すると、セルフホスト型のKubernetesコントロールプレーンを実験的に作成できます。これはAPIサーバー、コントローラーマネージャー、スケジューラーなどの主要コンポーネントは、静的ファイルを介してkubeletで構成された[static pods](/docs/tasks/configure-pod-container/static-pod/)ではなく、Kubernetes APIを介して構成された[DaemonSet pods](/ja/docs/concepts/workloads/controllers/daemonset/)として実行されることを意味します。 |
16 | 12 |
|
17 |
| -To create a self-hosted cluster see the |
18 |
| -[kubeadm alpha selfhosting pivot](/docs/reference/setup-tools/kubeadm/kubeadm-alpha/#cmd-selfhosting) command. |
| 13 | +セルフホスト型クラスターを作成する場合は[kubeadm alpha selfhosting pivot](/docs/reference/setup-tools/kubeadm/kubeadm-alpha/#cmd-selfhosting)を参照してください。 |
19 | 14 |
|
20 | 15 |
|
21 | 16 |
|
22 | 17 | <!-- body -->
|
23 | 18 |
|
24 |
| -#### Caveats |
| 19 | +#### 警告 |
25 | 20 |
|
26 | 21 | {{< caution >}}
|
27 |
| -This feature pivots your cluster into an unsupported state, rendering kubeadm unable |
28 |
| -to manage you cluster any longer. This includes `kubeadm upgrade`. |
| 22 | +この機能により、クラスターがサポートされていない状態になり、kubeadmがクラスターを管理できなくなります。これには`kubeadm upgrade`が含まれます。 |
29 | 23 | {{< /caution >}}
|
30 | 24 |
|
31 |
| -1. Self-hosting in 1.8 and later has some important limitations. In particular, a |
32 |
| - self-hosted cluster _cannot recover from a reboot of the control-plane node_ |
33 |
| - without manual intervention. |
| 25 | +1. 1.8以降のセルフホスティングには、いくつかの重要な制限があります。特に、セルフホスト型クラスターは、手動の介入なしにコントロールプレーンのNode再起動から回復することはできません。 |
34 | 26 |
|
35 |
| -1. By default, self-hosted control plane Pods rely on credentials loaded from |
36 |
| - [`hostPath`](/docs/concepts/storage/volumes/#hostpath) |
37 |
| - volumes. Except for initial creation, these credentials are not managed by |
38 |
| - kubeadm. |
| 27 | +1. デフォルトでは、セルフホスト型のコントロールプレーンのPodは、[`hostPath`](/docs/concepts/storage/volumes/#hostpath)ボリュームからロードされた資格情報に依存しています。最初の作成を除いて、これらの資格情報はkubeadmによって管理されません。 |
39 | 28 |
|
40 |
| -1. The self-hosted portion of the control plane does not include etcd, |
41 |
| - which still runs as a static Pod. |
| 29 | +1. コントロールプレーンのセルフホストされた部分にはetcdが含まれていませんが、etcdは静的Podとして実行されます。 |
42 | 30 |
|
43 |
| -#### Process |
| 31 | +#### プロセス |
44 | 32 |
|
45 |
| -The self-hosting bootstrap process is documented in the [kubeadm design |
46 |
| -document](https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.9.md#optional-self-hosting). |
| 33 | +セルフホスティングのブートストラッププロセスは、[kubeadm design |
| 34 | +document](https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.9.md#optional-self-hosting)に記載されています。 |
47 | 35 |
|
48 |
| -In summary, `kubeadm alpha selfhosting` works as follows: |
| 36 | +要約すると、`kubeadm alpha selfhosting`は次のように機能します。 |
49 | 37 |
|
50 |
| - 1. Waits for this bootstrap static control plane to be running and |
51 |
| - healthy. This is identical to the `kubeadm init` process without self-hosting. |
| 38 | + 1. 静的コントロールプレーンのブートストラップが起動し、正常になるのを待ちます。これは`kubeadm init`のセルフホスティングを使用しないプロセスと同じです。 |
52 | 39 |
|
53 |
| - 1. Uses the static control plane Pod manifests to construct a set of |
54 |
| - DaemonSet manifests that will run the self-hosted control plane. |
55 |
| - It also modifies these manifests where necessary, for example adding new volumes |
56 |
| - for secrets. |
| 40 | + 1. 静的コントロールプレーンのPodのマニフェストを使用して、セルフホスト型コントロールプレーンを実行する一連のDaemonSetのマニフェストを構築します。また、必要に応じてこれらのマニフェストを変更します。たとえば、シークレット用の新しいボリュームを追加します。 |
57 | 41 |
|
58 |
| - 1. Creates DaemonSets in the `kube-system` namespace and waits for the |
59 |
| - resulting Pods to be running. |
| 42 | + 1. `kube-system`のネームスペースにDaemonSetを作成し、Podの結果が起動されるのを待ちます。 |
60 | 43 |
|
61 |
| - 1. Once self-hosted Pods are operational, their associated static Pods are deleted |
62 |
| - and kubeadm moves on to install the next component. This triggers kubelet to |
63 |
| - stop those static Pods. |
| 44 | + 1. セルフホスト型のPodが操作可能になると、関連する静的Podが削除され、kubeadmは次のコンポーネントのインストールに進みます。これによりkubeletがトリガーされて静的Podが停止します。 |
64 | 45 |
|
65 |
| - 1. When the original static control plane stops, the new self-hosted control |
66 |
| - plane is able to bind to listening ports and become active. |
| 46 | + 1. 元の静的なコントロールプレーンが停止すると、新しいセルフホスト型コントロールプレーンはリスニングポートにバインドしてアクティブになります。 |
67 | 47 |
|
68 | 48 |
|
0 commit comments