Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SO1S-415 database inference 노드 그룹 환경 설정 #8

Merged

Conversation

NEM-NE
Copy link
Member

@NEM-NE NEM-NE commented Sep 27, 2022

database inference 노드 그룹 환경 설정

Terraform Provisioning 툴을 운영하면서 불편한점을 개선했습니다.

Tasks

  • database inference 노드 그룹 환경 설정
  • clean-up.sh argocd 삭제 명령어 삭제
  • dev 환경 tfstate 관리 방식 변경 (remote -> local)

Discussion

  • 기존에 dev환경에 있는 .terraform suffix가 붙은 파일, 폴더는 다 삭제해주시면 됩니다. @DPS0340 @shinilseop

Jira

  • SO1S-415

@NEM-NE NEM-NE added Fix 오류를 수정했습니다. Refactoring 코드를 개선 및 정리했습니다. labels Sep 27, 2022
@NEM-NE NEM-NE self-assigned this Sep 27, 2022
Copy link
Contributor

@shinilseop shinilseop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lock... 무섭더라구요.. ㅋㅋ
고생하셨습니다 ~

live/clean-up.sh Outdated
kubectl delete -f $SO1S_DEPLOY_REPO_PATH/root-$SO1S_ENV_NAME.yaml --wait
kubectl delete -f $SO1S_DEPLOY_REPO_PATH/project/project-$SO1S_ENV_NAME.yaml --wait

helm uninstall argocd -n argocd --wait
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그냥 argo를 삭제하면 같이 있던 어플리케이션도 삭제되나요 ??

Copy link
Member Author

@NEM-NE NEM-NE Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아하 이거 놓친 부분이 있네요

우선 답변을 드리자면 삭제는 안됩니다. 그러나 clean-up.sh 목적이 클러스터까지 다 내리는 거면 굳이 순차적으로 기다릴 필요없어서 지웠는데 생각해보니 istio 차트에서는 alb를 만들어주고 있네요

해당 alb는 테라폼 관할 밖이어서 삭제를 못합니다. 따라서 dev환경은 지금 올린대로 유지하되 alb를 사용하는 prod환경에서는 argocd application을 지우도록 다시 설정해야겠네요

@NEM-NE NEM-NE merged commit ba00abe into main Sep 28, 2022
@NEM-NE NEM-NE deleted the SO1S-415-infra-database-inference-노드-그룹-환경-설정 branch September 28, 2022 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix 오류를 수정했습니다. Refactoring 코드를 개선 및 정리했습니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants