분류 전체보기
-
Maven Central Repository에 배포하기카테고리 없음 2024. 9. 15. 13:38
Java SDK를 만들고 Maven Central Repository에 배포하는 과정을 정리 대부분의 블로그 포스팅이 Gradle을 이용한 배포방식이라Apache Maven을 이용한 배포과정에 대해서 적어봤다. 'Maven Central Repository 배포 과정1. Namespace Verified2. GPG Key Generate3. pom.xml 수정 Namespace VerifiedNamespace를 만들 수 있는데 Namespace는 Java의 패키지 규칙대로 도메인의 역순으로 기입한다. 생성한 Namespace에 대한 유효성 검사를 진행하는데유효성검사는 실제로 도메인을 가지고 있는지 여부를 체크하기 위함이라고 한다. 대부분의 경우 io.github.{UserName} 으로 생성하고 G..
-
Github Self-Host Runner 사용카테고리 없음 2024. 9. 12. 12:38
Github Self-Hosted Runner를 사용해보고 느낀점 Github Actions를 이용하여 Deploy Workflow를 실행하던도중남은 공간이 없다고 표시되면서 배포에 실패하였다.(No space left on device) Ultralytics YOLOv8이 build 시간도 오래걸리고 Docker Image 용량도 컸는데라이브러리가 점점 추가되면서 이미지 용량이 더 늘어난것 같았다. 내가 지금까지 사용하던 Host Runner의 경우 스토리지가 14GB정도였는데 이 보다 더 큰 스토리지가 필요하였다.Host Runner 유형Github-Hosted Runner : Github에서 제공해주는 VM을 사용하여 Workflow 실행StandardLarge Self-Hosted Runner..
-
Docker 명령어 실행권한 부여하기카테고리 없음 2024. 9. 8. 16:44
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock Docker를 처음 설치하고 실행할 때 Docker Daemon을 실행할 권한이 없어서 Permission Denied 가 발생 cat /etc/group|grep ec2-user ec2-user에 대한 그룹을 검색한 결과 docker 그룹에 속해있지않다. 별도의 sudo 권한없이 Docker 명령어를 실행하려면 해당 사용자가 docker Group에 속해있어야한다. // sudo usermod -aG {그룹 명} {그룹에 추가할 USER명}sudo usermod -aG docker ec2-user
-
Spring Boot에 Chaos Monkey 적용하기카테고리 없음 2024. 8. 18. 23:36
오픈소스 컨트리뷰션 5주차 Chaos Money란 Chaos Money란 시스템에 장애를 일으켜 취약점을 테스트하는 카오스 엔지니어링 도구의 한 종류이다. Chaos Money에는 Watcher와 Assault라는 개념이 존재하는데Watcher는 장애를 일으키는 대상이고 Assault는 장애의 종류이다. (Litmus Chaos에서 Fault에 해당하는 개념) Watcher를 설정하는 방법은 여러가지 방법이 있지만그 중 Annotation을 이용한 방법은 특정 Annotation이 선언된 Bean에 대해서 장애를 주입하는 방식이다. Assault는 장애 범위에 따라 Request Assault, Runtime Assault로 나뉘는데Request Assault는 특정 지점에 영향을 미치며 Watcher..
-
Litmus Chaos 로컬 개발 환경 설정카테고리 없음 2024. 8. 16. 20:28
오픈소스 컨트리뷰션 2주차 Litmus Chaos에는 크게 두 가지로 나뉜다.Control Plane : Chaos Scenario를 만들고 모니터링하는 UI (=Chaos Center)Execution Plane : 실제로 Fault를 주입 여기서 Control Plane에 대한 로컬 환경 설정을 진행하였다. FrontendBackendAuth ServerGraphQL ServerMongoDBFrontend프론트엔드 소스 위치는 /litmus/chaoscenter/web 에 위치해 있다.해당 디렉토리로 이동하고 yarn generate-certificate를 이용하여 인증서와 개인키를 만든다.로컬 개발환경에서 https를 적용하기 위해 설정하는 것 같다.cd litmus/chaoscenter/weby..
-
you have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to 에러카테고리 없음 2024. 8. 11. 13:44
AWS GPU Instance를 사용하기 위해서 기존 t2.large Instance를 중지하고 g4dn.xlarge Instance 로 유형을 변경한 후 시작하였는데 아래와 같이 실패하였다. you have requested more vCPU capacity than your current vCPU limit of 0 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit 에러의 내용은 현재 내 계정에 할당된 vCPU는 0인데 그 이상을 요청했기 때문..
-
Github Pull Request 실습하기카테고리 없음 2024. 8. 3. 07:22
오픈소스컨트리뷰션 1주차실습 내용1주차 오프라인 모임에서는 Pull Request에 대한 실습을 진행하였다.해당 Repository를 fork한 후 README에 각자 자기소개를 작성한 뒤 PR을 올렸다. GitHub - sukkyun2/kindergarten: Let's practice!Let's practice! Contribute to sukkyun2/kindergarten development by creating an account on GitHub.github.com 실습은 어렵지않게 했지만 내가 PR을 날리는 과정을 정리해보려고 한다.(실제로 나도 많이 PR을 사용해보지는 않았다..) PR 관련한 협업 프로세스를 두가지로 정리해볼 수 있다. 1. 내가 PR을 올릴 경우2. 다른 사람이 ..