Skip to content

Commit 925a822

Browse files
committed
[ja] Update Dashboard installation to Helm-based method
- Update installation instructions to use Helm instead of kubectl apply - Align with current Dashboard documentation that only supports Helm-based installation - Update port-forward command to use new service name Ref: https://github.com/kubernetes/dashboard#installation Related: adada78
1 parent f019397 commit 925a822

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

content/ja/docs/tasks/access-application-cluster/web-ui-dashboard.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,23 @@ card:
2727
<!-- body -->
2828

2929
## ダッシュボードUIのデプロイ
30+
{{< note >}}
31+
Kubernetes Dashboardは現在、Helmベースのインストールのみをサポートしています。
32+
これは、すべての依存関係をより高速かつ適切に制御できるためです。
33+
{{< /note >}}
3034

3135
ダッシュボードUIはデフォルトではデプロイされていません。デプロイするには、以下のコマンドを実行します:
32-
33-
```
34-
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
36+
```bash
37+
# kubernetes-dashboardリポジトリを追加
38+
helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
39+
# "kubernetes-dashboard"という名前のHelm Releaseをkubernetes-dashboardチャートを使用してデプロイ
40+
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard
3541
```
3642

43+
{{< note >}}
44+
Helmチャートの詳細については、[ArtifactHub](https://artifacthub.io/packages/helm/kubernetes-dashboard/kubernetes-dashboard)を参照してください。
45+
{{< /note >}}
46+
3747
## ダッシュボードUIへのアクセス
3848

3949

@@ -50,10 +60,10 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/a
5060
以下のコマンドを実行することで、kubectlコマンドラインツールを使ってダッシュボードにアクセスすることができます:
5161

5262
```
53-
kubectl proxy
63+
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
5464
```
5565

56-
kubectlは、ダッシュボードを http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ で利用できるようにします
66+
Kubectlは、ダッシュボードを https://localhost:8443 で利用可能にします
5767

5868
UIはコマンドを実行しているマシンから _のみ_ アクセスできます。オプションについては`kubectl proxy --help`を参照してください。
5969

0 commit comments

Comments
 (0)