Skip to content

Commit b24dc50

Browse files
Merge pull request #19 from eGovFramework/4.3.x
4.3.x branch 내용 병합
2 parents 7f14b04 + b2d6c55 commit b24dc50

27 files changed

+1106
-575
lines changed

.github/ISSUE_TEMPLATE/amendment_request.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 오류 내용을 이슈로 등록하는 템플릿입니다. Templat
33
title: "[Bug]: "
44
labels: ["bug", "triage"]
55
assignees:
6-
- yongfire38
6+
- rukegithub
77
body:
88
- type: markdown
99
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: 기능 요구 및 의견 Feature Request
2-
description: 기능 요구나 기타 의견을 이슈로 등록하는 템플릿입니다. Suggest an idea for improving eGovFrame.
1+
name: 기능 요구 Feature Request
2+
description: 기능 요구를 이슈로 등록하는 템플릿입니다. Suggest a new feature for improving eGovFrame.
33
title: "[기능요구(Feature)]: "
44
labels: ["feature"]
55
assignees:
6-
- yongfire38
6+
- rukegithub
77
body:
88
- type: markdown
99
attributes:
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: 발전 방안 제안 Improvement Plan
2+
description: 발전 방안을 이슈로 등록하는 템플릿입니다. Suggest a new plan for improving eGovFrame.
3+
title: "[발전 방안 제안(Improvement Plan)]: "
4+
labels: ["Improvement"]
5+
assignees:
6+
- yongfire38
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
시간을 내어 의견을 작성해 주셔서 감사합니다. Thank you for taking the time to fill out a request.
12+
- type: input
13+
id: idea-name
14+
attributes:
15+
label: 아이디어명 Idea Name
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: idea-summary
20+
attributes:
21+
label: 아이디어 요약 Idea Summary
22+
description: 과제 내용을 300자 이내로 간결하게 요약 및 정의해 주세요 Please summarize and define your content in 300 characters or less
23+
placeholder: 예) 게시판 첨부기능 추가 Example) Adding a bulletin board attachment
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: suggestion-background
28+
attributes:
29+
label: 제안배경 Suggestion Background
30+
description: 아이디어를 제안하게 된 배경 및 필요성을 기술해 주세요. Please describe the background and need for the idea.
31+
placeholder: 아이디어를 제안하게 된 배경은 다음과 같습니다. The background to suggesting the idea is as follows.
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: expectations
36+
attributes:
37+
label: 기대효과 Expectations
38+
description: 아이디어의 실현 가능성과 예상되는 기대효과를 제시하여 주세요. Please describe the expected impact and outcome of the idea.
39+
placeholder: 해당 아이디어의 기대효과는 다음과 같습니다. Here are the expected effects of this idea.
40+
validations:
41+
required: false
42+
- type: textarea
43+
id: free-writing
44+
attributes:
45+
label: 자유기술 Free Writing
46+
description: 추가 기재하고 싶은 항목 및 내용을 자유롭게 기재하여 주세요. Please feel free to add anything else you'd like to include.
47+
validations:
48+
required: false
49+
- type: textarea
50+
id: reference
51+
attributes:
52+
label: 참고문헌 Reference
53+
description: 참고문헌이 있는 경우 작성하여 주세요. If you have references, please include them.
54+
validations:
55+
required: false

DATABASE/db/hsqldb-1.8.0.10.jar

690 KB
Binary file not shown.

DATABASE/db/hsqldb-2.7.2-jdk8.jar

-1.59 MB
Binary file not shown.

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#########################################################
2+
# 목적 : web-sample-1.0.0.war를 tomcat으로 구동하는 도커 이미지 생성
3+
# 실행방법 : 프로젝트 루트디렉토리에서(Dockerfile 경로) 아래 명령어 실행
4+
# (명령어) docker build . -t egovframe-web-sample:1.0.0
5+
#########################################################
6+
7+
# tomcat base image설정 (8.5-jre8)
8+
FROM tomcat:8.5-jre8
9+
COPY ./target/web-example-1.0.0.war /usr/local/tomcat/webapps/app.war
10+
# tomcat의 web서버 포트설정
11+
EXPOSE 8080
12+
# 컨테이너 시작 시 tomcat이 구동되도록 해당 명령을 실행
13+
ENTRYPOINT ["catalina.sh","run"]

k8s/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## K-Pass(Kubernetes) 배포 설정
2+
- web-sample 프로젝트를 kubernetes 환경에 배포하기 위한 설정파일
3+
- 로컬PC에 minikube가 구성된 환경을 가정
4+
5+
---
6+
### minikube 내 도커 이미지 로드
7+
- 대상 이미지 --> egovframe-web-sample:1.0.0
8+
- 대상 이미지 확인 명령어 ``` docker image ls ```
9+
- minikube 내 이미지 로드
10+
- ``` minikube image load egovframe-web-sample:1.0.0 ```
11+
12+
### deployment.yaml
13+
- web-sample 이미지(egovframe-web-sample:1.0.0)를 pod로 배포하기 위한 설정파일
14+
- 위에서 로드한 이미지를 이용
15+
16+
### service.yaml
17+
- web-sample pod에 연결하기위한 kubernetes(minikube)의 IP/PORT 설정
18+
- nodePort(30000)을 web-sample 서비스에 이용
19+
20+
### minikube IP 확인
21+
- 로컬에 구성된 kubernetes의 IP 확인
22+
- ```kubectl get nodes -o wide```
23+
- INTERNAL-IP 확인(예, 192.168.49.2)
24+
25+
### web-sample 배포 (pod 생성)
26+
- deployment.yaml 파일의 경로에서(./k8s) 다음 명령어 실행
27+
- ```kubectl apply -f deployment.yaml```
28+
- 확인 : ```kubectl get pod```
29+
30+
### 서비스 구성
31+
- service.yaml 파일의 경로에서(./k8s) 다음 명령어 실행
32+
- ```kubectl apply -f service.yaml```
33+
- 확인 : ```kubectl get svc```
34+
- 전체 확인 : ```kubectl get all```
35+
36+
### 웹서비스 접속
37+
- (위의 minikube IP 확인시 192.168.49.2 인 경우)
38+
- http://192.168.49.2:30000/app/ 접속
39+
40+
### 참고사항
41+
- Apple Silicon Mac에서는 minikube + docker driver 이용 시 NodePort로 연결이 안되는 현상 발생
42+
- minikube에서 제공하는 명령어를 통해서 로컬 tunnel을 구성
43+
- ```minikube service egovframe-web-sample```
44+
- 기타 port-forwarding을 구성하는 방법 등

k8s/deployment.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: egovframe-web-sample
5+
labels:
6+
app: egovframe-web-sample
7+
spec:
8+
selector:
9+
matchLabels:
10+
app: egovframe-web-sample
11+
template:
12+
metadata:
13+
labels:
14+
app: egovframe-web-sample
15+
spec:
16+
containers:
17+
- name: egovframe-web-sample
18+
image: egovframe-web-sample:1.0.0
19+
ports:
20+
- containerPort: 8080
21+
22+

k8s/service.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: egovframe-web-sample
5+
spec:
6+
selector:
7+
app: egovframe-web-sample
8+
ports:
9+
- port: 8080
10+
targetPort: 8080
11+
nodePort: 30000
12+
type: NodePort
13+

0 commit comments

Comments
 (0)