Skip to content

Commit acd4b56

Browse files
committed
20200811 Translate before Observability
1 parent 14b7c11 commit acd4b56

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

content/ja/docs/setup/production-environment/windows/user-guide-windows-containers.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
2-
title: Guide for scheduling Windows containers in Kubernetes
2+
title: KubernetesでWindowsコンテナーをスケジュールするためのガイド
33
content_type: concept
44
weight: 75
55
---
66

77
<!-- overview -->
88

9-
Windows applications constitute a large portion of the services and applications that run in many organizations. This guide walks you through the steps to configure and deploy a Windows container in Kubernetes.
9+
Windowsアプリケーションは、多くの組織で実行されるサービスとアプリケーションの大部分を占めます。このガイドでは、KubernetesでWindowsコンテナを構成してデプロイする手順について説明します。
1010

1111

1212

1313
<!-- body -->
1414

15-
## Objectives
15+
## 目的
1616

17-
* Configure an example deployment to run Windows containers on the Windows node
18-
* (Optional) Configure an Active Directory Identity for your Pod using Group Managed Service Accounts (GMSA)
17+
* WindowsノードでWindowsコンテナを実行するサンプルのDeploymentを構成します
18+
* (オプション)Group Managed Service Accounts(GMSA)を使用してPodのActive Directory IDを構成します
1919

20-
## Before you begin
20+
## 始める前に
2121

22-
* Create a Kubernetes cluster that includes a [master and a worker node running Windows Server](/ja/docs/setup/production-environment/windows/user-guide-windows-nodes/)
23-
* It is important to note that creating and deploying services and workloads on Kubernetes behaves in much the same way for Linux and Windows containers. [Kubectl commands](/docs/reference/kubectl/overview/) to interface with the cluster are identical. The example in the section below is provided simply to jumpstart your experience with Windows containers.
22+
* [Windows Serverを実行するマスターノードとワーカーノード](/ja/docs/setup/production-environment/windows/user-guide-windows-nodes/)を含むKubernetesクラスターを作成します
23+
* Kubernetes上にServiceとワークロードを作成してデプロイすることは、LinuxコンテナとWindowsコンテナ共に、ほぼ同じように動作することに注意してください。クラスターとのインタフェースとなる[Kubectlコマンド](/docs/reference/kubectl/overview/)も同じです。Windowsコンテナをすぐに体験できる例を以下セクションに用意しています。
2424

25-
## Getting Started: Deploying a Windows container
25+
## はじめに:Windowsコンテナーのデプロイ
2626

27-
To deploy a Windows container on Kubernetes, you must first create an example application. The example YAML file below creates a simple webserver application. Create a service spec named `win-webserver.yaml` with the contents below:
27+
WindowsコンテナをKubernetesにデプロイするには、最初にサンプルアプリケーションを作成する必要があります。以下のYAMLファイルの例では、簡単なウェブサーバーアプリケーションを作成しています。以下の内容で「win-webserver.yaml」という名前のサービススペックを作成します。:
2828

2929
```yaml
3030
apiVersion: v1
@@ -35,7 +35,7 @@ metadata:
3535
app: win-webserver
3636
spec:
3737
ports:
38-
# the port that this service should serve on
38+
# このサービスが提供するポート
3939
- port: 80
4040
targetPort: 80
4141
selector:
@@ -71,37 +71,38 @@ spec:
7171
```
7272
7373
{{< note >}}
74-
Port mapping is also supported, but for simplicity in this example the container port 80 is exposed directly to the service.
74+
ポートマッピングもサポートされていますが、この例では簡単にするために、コンテナポート80がサービスに直接公開されています。
7575
{{< /note >}}
7676
77-
1. Check that all nodes are healthy:
77+
1. すべてのノードが正常であることを確認します。:
7878
7979
```bash
8080
kubectl get nodes
8181
```
8282

83-
1. Deploy the service and watch for pod updates:
83+
1. Serviceをデプロイして、Podの更新を確認します。:
8484

8585
```bash
8686
kubectl apply -f win-webserver.yaml
8787
kubectl get pods -o wide -w
8888
```
8989

90-
When the service is deployed correctly both Pods are marked as Ready. To exit the watch command, press Ctrl+C.
90+
Serviceが正しくデプロイされると、両方のPodがReadyとして表示されます。watch状態のコマンドを終了するには、Ctrl + Cを押します。
9191

92-
1. Check that the deployment succeeded. To verify:
92+
1. デプロイが成功したことを確認します。検証するために行うこと:
9393

94-
* Two containers per pod on the Windows node, use `docker ps`
95-
* Two pods listed from the Linux master, use `kubectl get pods`
96-
* Node-to-pod communication across the network, `curl` port 80 of your pod IPs from the Linux master to check for a web server response
97-
* Pod-to-pod communication, ping between pods (and across hosts, if you have more than one Windows node) using docker exec or kubectl exec
98-
* Service-to-pod communication, `curl` the virtual service IP (seen under `kubectl get services`) from the Linux master and from individual pods
99-
* Service discovery, `curl` the service name with the Kubernetes [default DNS suffix](/ja/docs/concepts/services-networking/dns-pod-service/#services)
94+
* WindowsノードのPodごとの2つのコンテナに`docker ps`します
95+
* Linuxマスターからリストされた2つのPodに`kubectl get pods`します
96+
* ネットワークを介したノードとPod間通信、LinuxマスターからのPod IPのポート80に向けて`curl`して、ウェブサーバーの応答をチェックします
97+
* docker execまたはkubectl execを使用したPod間通信、Pod間(および複数のWindowsノードがある場合はホスト間)へのpingします
98+
* ServiceからPodへの通信、Linuxマスターおよび個々のPodからの仮想Service IP(`kubectl get services`で表示される)に`curl`します
99+
* サービスディスカバリ、Kuberntesの[default DNS suffix](/ja/docs/concepts/services-networking/dns-pod-service/#services)と共にService名に`curl`します
100100
* Inbound connectivity, `curl` the NodePort from the Linux master or machines outside of the cluster
101-
* Outbound connectivity, `curl` external IPs from inside the pod using kubectl exec
101+
* インバウンド接続、Linuxマスターまたはクラスター外のマシンからNodePortに`curl`します
102+
* アウトバウンド接続、kubectl execを使用したPod内からの外部IPに`curl`します
102103

103104
{{< note >}}
104-
Windows container hosts are not able to access the IP of services scheduled on them due to current platform limitations of the Windows networking stack. Only Windows pods are able to access service IPs.
105+
今のところ、Windowsネットワークスタックのプラットフォーム制限のため、Windowsコンテナホストは、ホストされているサービスのIPにアクセスできません。Service IPにアクセスできるのは、Windows Podだけです。
105106
{{< /note >}}
106107

107108
## Observability

0 commit comments

Comments
 (0)