Skip to content

Commit

Permalink
'project02' argocd
Browse files Browse the repository at this point in the history
  • Loading branch information
dongdorrong committed Jan 8, 2023
1 parent 79e4d49 commit c1dc4c0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project02/practice/argocd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Reference
https://velog.io/@dongdorrong/AWS-EKS-ArgoCD-%EC%84%A4%EC%B9%98
13 changes: 13 additions & 0 deletions project02/practice/argocd/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

kubectl create ns argocd

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

kubectl get svc argocd-server -n argocd

kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'

kubectl get svc argocd-server -n argocd

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
1 change: 1 addition & 0 deletions project02/practice/setup_alb_controller/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

aws eks update-kubeconfig --region ap-northeast-2 --name dongdorrong-eks-pxd24W1T

curl -o iam_policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.4/docs/install/iam_policy.json
Expand Down

0 comments on commit c1dc4c0

Please sign in to comment.