kubectx
https://github.com/ahmetb/kubectx
ArgoCD
https://argo-cd.readthedocs.io/en/stable/
ArgoCD (on EKS Workshop)
https://www.eksworkshop.com/intermediate/290_argocd/
Kustomize
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/
kubectl create namespace argocd
kubectl apply -n argocd -f <https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml>
# kubens 를 통해 context 의 특정 namespace 를 고정
kubens argocd # <https://github.com/ahmetb/kubectx>
아래 명령어부터는 kubens 를 적용하였음. 적용하지 않고 사용하는 경우 명령어마다 -n argocd
를 추가하여 사용
https://argo-cd.readthedocs.io/en/stable/cli_installation/
brew install argocd
kubectl edit svc argocd-server
# Local Cluster 기준 (그 외 환경에는 상황에 맞게 Service 구성)
# 1. ports 의 http 설정 최하단에 nodePort: 30000 추가
# 2. type: ClusterIP -> NodePort
kubectl get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo