byeonghunkim / terraform Goto Github PK
View Code? Open in Web Editor NEWFor provisioning EKS
For provisioning EKS
Describe the bug / 버그 설명
A clear and concise description of what the bug is. / 버그에 대한 명확하고 간결한 설명을 적어주세요.
╷
│ Error: deleting EC2 Internet Gateway (igw-0fffb8db15412ab30): detaching EC2 Internet Gateway (igw-0fffb8db15412ab30) from VPC (vpc-09a5719d3926bcb09): DependencyViolation: Network vpc-09a5719d3926bcb09 has some mapped public address(es). Please unmap those public address(es) before detaching the gateway.
│ status code: 400, request id: 71114914-31b2-46de-bc29-3b5df2c2ab57
│
│
╵
╷
│ Error: deleting EC2 Subnet (subnet-09b5cd5088ac76e11): DependencyViolation: The subnet 'subnet-09b5cd5088ac76e11' has dependencies and cannot be deleted.
│ status code: 400, request id: e3c23d69-dab2-41e3-84af-ae50d9d8b011
│
│
╵
╷
│ Error: deleting EC2 Subnet (subnet-054eaa4f7b2bbd226): DependencyViolation: The subnet 'subnet-054eaa4f7b2bbd226' has dependencies and cannot be deleted.
│ status code: 400, request id: c94cac6e-7fe0-45d9-b09b-ecfd82d10227
│
│
╵
╷
│ Error: deleting EC2 Subnet (subnet-00672e56affdbd750): DependencyViolation: The subnet 'subnet-00672e56affdbd750' has dependencies and cannot be deleted.
│ status code: 400, request id: 9acff445-3fc8-4c71-b1e6-19e0c96b1e66
│
│
╵
╷
│ Error: deleting EC2 Subnet (subnet-030c4b06eb9a8ba07): DependencyViolation: The subnet 'subnet-030c4b06eb9a8ba07' has dependencies and cannot be deleted.
│ status code: 400, request id: 6bda9883-5425-49b7-9cf7-a57279230b53
│
Is your feature request related to a problem? Please describe. / 기능 요청이 문제와 관련이 있나요? 설명해주세요.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] / 문제에 대한 명확하고 간결한 설명을 적어주세요. 예: 저는 항상 [...] 할 때 불편합니다.
Describe the solution you'd like / 원하는 해결책을 설명해주세요
A clear and concise description of what you want to happen. / 원하는 동작에 대한 명확하고 간결한 설명을 적어주세요.
kubernetes/modules/eks
에 eks 코드 추가Describe alternatives you've considered / 고려한 대안들을 설명해주세요
A clear and concise description of any alternative solutions or features you've considered. / 고려한 다른 해결책이나 기능에 대한 명확하고 간결한 설명을 적어주세요.
Additional context / 추가 정보
Add any other context or screenshots about the feature request here. / 기능 요청에 대한 다른 추가 정보나 스크린샷을 여기에 적어주세요.
Question / 질문 내용
A clear and concise question about the project. / 프로젝트에 대한 명확하고 간결한 질문을 적어주세요.
eks 에 필요한 모든 aws resources들을 terraform으로 구현한다
Control Node (Local): Control Node (내 로컬) 에서 SSH를 통해 Managed Node (bastion host ) 로 연결하여 명령을 실행.
Managed Node (Bastion Host): Control Node에서 연결되어 설정이 적용되는 노드. Bastion Host는 EKS 클러스터와 상호작용하고 필요한 작업을 수행하는 역할
위의 playbook 처럼 내가 기존에 dev클러스터를 구축할 때 로컬에서 사용하던 명령어들을 playbook에 명시하고 실행하면 bastion host ( EC2 ) 에서 모두 실행한다
eks의 모든 aws resources들이 프로비저닝 된 이후에 Bastion Host를 통해 EKS 클러스터에 접근하여 필요한 작업들
eks cluster 연결
istio 설치
load balancer controller 설치
efs csi driver 설치 및 모든 설정
helm 설치
loki, prometheus 설치 ( helm )
pv, pvc 설정
Context / 상황 설명
Provide context or background information related to your question. / 질문과 관련된 상황이나 배경 정보를 제공하세요.
Expected Result / 예상 결과
What you expected to happen. / 기대했던 결과를 적어주세요.
Actual Result / 실제 결과
What actually happened. / 실제로 발생한 결과를 적어주세요.
Steps to Reproduce / 재현 방법
If applicable, list the steps to reproduce the issue. / 해당되는 경우, 문제를 재현하는 단계를 나열하세요.
1.
2.
3.
Additional context / 추가 정보
Add any other context or screenshots about the question here. / 질문에 대한 다른 추가 정보나 스크린샷을 여기에 적어주세요.
Is your feature request related to a problem? Please describe. / 기능 요청이 문제와 관련이 있나요? 설명해주세요.
https://github.com/ByeongHunKim/Terraform/releases/tag/v0.1.0-alpha
6번
퍼블릭 서브넷: 퍼블릭 서브넷은 외부 접근이 가능하며, ALB는 퍼블릭 서브넷에 배치되어야 외부에서 접근할 수 있음. 따라서 퍼블릭 서브넷의 태그를 kubernetes.io/role/alb로 변경하려고 함.
Describe the bug / 버그 설명
A clear and concise description of what the bug is. / 버그에 대한 명확하고 간결한 설명을 적어주세요.
│ Error: Missing required argument
│
│ on main.tf line 21, in module "eks":
│ 21: module "eks" {
│
│ The argument "bastion_key_name" is required, but no definition was found.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 27, in module "eks":
│ 27: additional_security_group_ids = [module.security-groups.additional_sg_id]
│
│ An argument named "additional_security_group_ids" is not expected here.
Describe the bug / 버그 설명
A clear and concise description of what the bug is. / 버그에 대한 명확하고 간결한 설명을 적어주세요.
작업 중 인 상황인데 프로비저닝이 끝나면 bastion host에서 에러가 발생하여 kubectl 로 명령이 안되는 버그
To Reproduce / 재현 방법
Steps to reproduce the behavior: / 문제를 재현하는 단계:
Expected behavior / 예상한 동작
A clear and concise description of what you expected to happen. / 기대했던 동작에 대한 명확하고 간결한 설명을 적어주세요.
Screenshots / 스크린샷
If applicable, add screenshots to help explain your problem. / 해당되는 경우, 문제를 설명하는 데 도움이 되는 스크린샷을 추가하세요.
Additional context / 추가 정보
Add any other context about the problem here. / 문제에 대한 다른 추가 정보를 여기에 적어주세요.
Is your feature request related to a problem? Please describe. / 기능 요청이 문제와 관련이 있나요? 설명해주세요.
https://github.com/ByeongHunKim/Terraform/releases/tag/v0.1.0-alpha
3번
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.