1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

HelmでインストールしたArgoCDでWebターミナル機能を有効化する

Posted at

HelmでArgoCDのインストール

helm repo add argo https://argoproj.github.io/argo-helm
helm install my-argo-release argo/argo-cd

Port ForwardingでArgoCDのGUIをローカルから見れるようにする。

# localhost:8080 でアクセスできるようになる
kubectl port-forward --address localhost my-argo-release-argocd-server-xxxxxxxx-gdgjk 8080:8080

初期パスワードを取得する。(ユーザー名: admin, パスワード: 下記の出力結果)
適当にNginxとかをデプロイしておく。

kubectl -n default get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d

Webターミナルを有効化する。

helm upgrade my-argo-release argo/argo-cd --set configs.cm."exec\.enabled"=true

Podの画面の "TERMINAL" タブからWebターミナルが起動する。

image.png

vimも普通に使えて便利。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?