Argo CD
-
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
- Kubernetes用GitOps継続デリバリーツール
- GitでCommitが上がったら、Deploymentを再定義みたいなことをしてくれるみたい
Install
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
CLI Install
VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
sudo curl --silent --location -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-linux-amd64
sudo chmod +x /usr/local/bin/argocd
接続
kubectl port-forward svc/argocd-server -n argocd 8080:443
admin/argocd-server-7fdb567cd4-27ssd
アプリケーション作成
参考
https://argoproj.github.io/argo-cd/getting_started/
https://www.eksworkshop.com/intermediate/290_argocd/install/
https://dev.classmethod.jp/articles/eks-argocd-getting-started/