1상태 검사
spring-boot-starter-actuator 를 넣고 헬스체크 경로를 /actuator/health 로 지정하세요.
xml<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>2메모리
JVM 은 컨테이너 메모리의 75% 를 씁니다 (MaxRAMPercentage=75). 메모리는 1GiB 이상을 권장합니다.
3배포 방법 (셋 중 하나)
① GitHub 연결: 프로젝트 → 서비스 추가 → GitHub 저장소 (push 하면 자동 배포) ② 이 폴더 그대로: oc up --wait (Dockerfile 이 없어도 언어를 감지해 빌드) ③ 콘솔에서 폴더 · zip 올리기: 서비스 추가 → 소스 올리기
bashoc login oc project create my-app --link oc up --wait