THE 1995 DevOps Note
THE 1995 DevOps Note
Infra&Cloud
Zoomoney 프로젝트 Prometheus 와 Grafana 연동
2025.04.23
Prometheus란?? 시계열(Time Series) 데이터베이스 기반 모니터링 시스템[root@zoomoney opt]# tree.├── grafana│ ├── Containerfile│ └── provisioning│ ├── dashborads│ └── datasources└── prometheus ├── Containerfile └── prometheus.yml 1.prometheus 디렉토리 이동후buildah bud -t prometheus:v1 . 명령어 수행 [root@zoomoney opt]# podman imagesREPOSITORY TAG IMAGE ID CREATED S..
Infra&Cloud
Jenkins
2025.04.22
Jenkins는 오픈 소스 자동화 서버로, 소프트웨어 개발의 빌드, 테스트, 배포 과정을 자동화하여 지속적인 통합(CI)과 지속적인 배포(CD)를 지원 Jenkins의 주요 기능자동화된 빌드 및 테스트: 코드 변경 시 자동으로 빌드와 테스트를 수행하여 품질을 유지다양한 플러그인 지원: Git, Maven, Docker, Kubernetes 등과의 연동을 통해 유연한 파이프라인 구성이 가능웹 기반 인터페이스: 직관적인 UI를 통해 파이프라인 관리와 모니터링이 용이Jenkinsfile을 통한 파이프라인 정의: 코드로 파이프라인을 정의하여 버전 관리와 협업Jenkinsfile과 파이프라인 문법Jenkinsfile은 Jenkins 파이프라인을 정의하는 스크립트 파일로, 두 가지 문법을 지원Declarativ..
코딩테스트
백준 - 9081 번 단어 맞추기
2025.04.12
import java.io.BufferedReader;import java.io.InputStreamReader;public class Main_9081_단어맞추기 { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int testCase = Integer.parseInt(br.readLine()); for(int i=1; i 기준점(인덱스) 찾기 // arr[i]=0 && array[i] >= array[i+1] ) { //i>=0 : 반복문에서 배열의 인덱스를 벗어나는 참조..
코딩테스트
SORT 정리 / ArrayTesr
2025.04.12
예제 - 1 import java.util.Arrays;class Person implements Comparable { String name; int age; String job; int score; public Person(String name, int age, String job, int score) { this.name = name; this.age = age; this.job = job; this.score = score; } @Override public String toString() { return "Person [name=" + name + ", age=" + age + ", job=" + job + ", score=" + score + "]\n"; } @Override..
코딩테스트
NextPermutation
2025.04.12
import java.util.Arrays;public class NextPermutationTest { public void nextPermutation(int[] nums) { int i = nums.length - 2; // Step 1: a= 0 && nums[i] >= nums[i + 1]) { i--; } // Step 2: i번지의 값보다 큰값을 뒤에서 부터 찾기!! ==>찾았으면 swap if (i >= 0) { int j = nums.length - 1; while (nums[i] >= nums[j]) { j--; ..