Closed8

Argo CDをArgo CDで管理してみる

matorurumatoruru

試しにkubectl kustomizeしてみると警告が出た。

> kubectl kustomize argocd/ 
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

従って変更するのもちょっと骨っぽいのでとりあえずこのまま進んで動くところまで持っていきたい。

matorurumatoruru

kubectl apply -k argocd/でKustomize形式のままApply。リソースが作られていく。

matorurumatoruru

諸事情によりクラスタを作り直したので初めから。まずはGetting Startedに従って普通にインストールしてみる。

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
matorurumatoruru

ブラウザからArgo CDへアクセスするためにport-forwardする。

kubectl port-forward svc/argocd-server -n argocd 8080:443

argocd CLIのインストール

curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
sudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd
rm argocd-linux-amd64

Argo CDの初期パスワードの取得

❯ argocd admin initial-password -n argocd
**********

ブラウザでlocalhost:8080にアクセスして、admin/<上のコマンドで表示されたパスワード>を使ってログインする。

このスクラップは1ヶ月前にクローズされました