Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joohanhong
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JooHan Hong
joohanhong
Commits
d69463eb
Commit
d69463eb
authored
Aug 08, 2022
by
JooHan Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
k8s, oper update4
parent
ea6774e3
Pipeline
#6066
passed with stages
in 1 minute and 22 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
48 deletions
+45
-48
README.md
MON/FRONTEND/K8S/README.md
+42
-0
README.md
MON/FRONTEND/K8S_OPER/DBAPI/README.md
+1
-16
README.md
MON/FRONTEND/K8S_OPER/NGINX/README.md
+1
-16
README.md
MON/FRONTEND/K8S_OPER/NODEJS/README.md
+1
-16
No files found.
MON/FRONTEND/K8S/README.md
0 → 100644
View file @
d69463eb
[
![logo
](
https://www.hongsnet.net/images/logo.gif
)
](https://www.hongsnet.net)
# MON Operation Overview
> K8s 기반의 **Node.js API** Front-End System Overview
# K8s Deployment Current Status
```
# kubectl get pods -o wide |grep mon
monitor-dbapi-74cb655d-8lxzb 1/1 Running 0 5d23h 10.244.4.7 tb3-docker <none> <none>
monitor-dbapi-74cb655d-grngk 1/1 Running 0 5d23h 10.244.3.253 tb3 <none> <none>
monitor-nginx-7cdb67c44f-c7x47 1/1 Running 0 5d23h 10.244.3.252 tb3 <none> <none>
monitor-nginx-7cdb67c44f-fb8tk 1/1 Running 0 5d23h 10.244.6.142 tb2 <none> <none>
monitor-nodejs-f68967947-qz7bm 1/1 Running 0 5d23h 10.244.4.6 tb3-docker <none> <none>
monitor-nodejs-f68967947-vrchl 1/1 Running 0 5d23h 10.244.4.5 tb3-docker <none> <none>
```
# Docker Private Registry(harbor.hongsnet.net) Secret
```
# kubectl create secret generic harbor-login --from-file=.dockerconfigjson=/root/.docker/config.json --type=kubernetes.io/dockerconfigjson
```
> Private Container Image에 대한 인증 Secret를 생성한다. 이는 다음의 Deployment에서 사용된다.
# monitor Deployment Role
-
nginx
-
Nginx Web 서버이다.
-
**React 라이브러리로 Build 된 Static 코드를 제공해주는 역할을 담당**
한다.
-
node.js API
-
Node.js 기반의 Monitor API 이다.
-
**Web에서 요청하는 모든 데이터의 정보를 제공해주는 API 서버**
이다.
-
**Alarm을 보내는 역할**
을 수행한다.
-
node.js DB API
-
Node.js 기반의 Monitor DB API 이다.
-
**대상 서버에 대한 정보(RDBMS)에 대한 리스트를 제공해주는 서버**
이다.
MON/FRONTEND/K8S_OPER/DBAPI/README.md
View file @
d69463eb
...
@@ -8,26 +8,11 @@
...
@@ -8,26 +8,11 @@
# K8s Deployment Current Status
# K8s Deployment Current Status
```
```
# kubectl get pods -o wide |grep mon
# kubectl get pods -o wide |grep mon
itor-dbapi
monitor-dbapi-74cb655d-8lxzb 1/1 Running 0 5d23h 10.244.4.7 tb3-docker <none> <none>
monitor-dbapi-74cb655d-8lxzb 1/1 Running 0 5d23h 10.244.4.7 tb3-docker <none> <none>
monitor-dbapi-74cb655d-grngk 1/1 Running 0 5d23h 10.244.3.253 tb3 <none> <none>
monitor-dbapi-74cb655d-grngk 1/1 Running 0 5d23h 10.244.3.253 tb3 <none> <none>
monitor-nginx-7cdb67c44f-c7x47 1/1 Running 0 5d23h 10.244.3.252 tb3 <none> <none>
monitor-nginx-7cdb67c44f-fb8tk 1/1 Running 0 5d23h 10.244.6.142 tb2 <none> <none>
monitor-nodejs-f68967947-qz7bm 1/1 Running 0 5d23h 10.244.4.6 tb3-docker <none> <none>
monitor-nodejs-f68967947-vrchl 1/1 Running 0 5d23h 10.244.4.5 tb3-docker <none> <none>
```
```
# Docker Private Registry(harbor.hongsnet.net) Secret
```
# kubectl create secret generic harbor-login --from-file=.dockerconfigjson=/root/.docker/config.json --type=kubernetes.io/dockerconfigjson
```
> Private Container Image에 대한 인증 Secret를 생성한다. 이는 다음의 Deployment에서 사용된다.
# monitor Deployment Status
## Node.js DB API Deployment yaml
## Node.js DB API Deployment yaml
> 역할 : Node.js DB API POD를 배포하는 Deployment를 작성한다.
> 역할 : Node.js DB API POD를 배포하는 Deployment를 작성한다.
...
...
MON/FRONTEND/K8S_OPER/NGINX/README.md
View file @
d69463eb
...
@@ -8,26 +8,11 @@
...
@@ -8,26 +8,11 @@
# K8s Deployment Current Status
# K8s Deployment Current Status
```
```
# kubectl get pods -o wide |grep mon
# kubectl get pods -o wide |grep monitor-nginx
monitor-dbapi-74cb655d-8lxzb 1/1 Running 0 5d23h 10.244.4.7 tb3-docker <none> <none>
monitor-dbapi-74cb655d-grngk 1/1 Running 0 5d23h 10.244.3.253 tb3 <none> <none>
monitor-nginx-7cdb67c44f-c7x47 1/1 Running 0 5d23h 10.244.3.252 tb3 <none> <none>
monitor-nginx-7cdb67c44f-c7x47 1/1 Running 0 5d23h 10.244.3.252 tb3 <none> <none>
monitor-nginx-7cdb67c44f-fb8tk 1/1 Running 0 5d23h 10.244.6.142 tb2 <none> <none>
monitor-nginx-7cdb67c44f-fb8tk 1/1 Running 0 5d23h 10.244.6.142 tb2 <none> <none>
monitor-nodejs-f68967947-qz7bm 1/1 Running 0 5d23h 10.244.4.6 tb3-docker <none> <none>
monitor-nodejs-f68967947-vrchl 1/1 Running 0 5d23h 10.244.4.5 tb3-docker <none> <none>
```
```
# Docker Private Registry(harbor.hongsnet.net) Secret
```
# kubectl create secret generic harbor-login --from-file=.dockerconfigjson=/root/.docker/config.json --type=kubernetes.io/dockerconfigjson
```
> Private Container Image에 대한 인증 Secret를 생성한다. 이는 다음의 Deployment에서 사용된다.
# monitor Deployment Status
## Nginx Deployment yaml
## Nginx Deployment yaml
> 역할 : Nginx POD를 배포하는 Deployment를 작성한다.
> 역할 : Nginx POD를 배포하는 Deployment를 작성한다.
...
...
MON/FRONTEND/K8S_OPER/NODEJS/README.md
View file @
d69463eb
...
@@ -8,26 +8,11 @@
...
@@ -8,26 +8,11 @@
# K8s Deployment Current Status
# K8s Deployment Current Status
```
```
# kubectl get pods -o wide |grep mon
# kubectl get pods -o wide |grep monitor-nodejs
monitor-dbapi-74cb655d-8lxzb 1/1 Running 0 5d23h 10.244.4.7 tb3-docker <none> <none>
monitor-dbapi-74cb655d-grngk 1/1 Running 0 5d23h 10.244.3.253 tb3 <none> <none>
monitor-nginx-7cdb67c44f-c7x47 1/1 Running 0 5d23h 10.244.3.252 tb3 <none> <none>
monitor-nginx-7cdb67c44f-fb8tk 1/1 Running 0 5d23h 10.244.6.142 tb2 <none> <none>
monitor-nodejs-f68967947-qz7bm 1/1 Running 0 5d23h 10.244.4.6 tb3-docker <none> <none>
monitor-nodejs-f68967947-qz7bm 1/1 Running 0 5d23h 10.244.4.6 tb3-docker <none> <none>
monitor-nodejs-f68967947-vrchl 1/1 Running 0 5d23h 10.244.4.5 tb3-docker <none> <none>
monitor-nodejs-f68967947-vrchl 1/1 Running 0 5d23h 10.244.4.5 tb3-docker <none> <none>
```
```
# Docker Private Registry(harbor.hongsnet.net) Secret
```
# kubectl create secret generic harbor-login --from-file=.dockerconfigjson=/root/.docker/config.json --type=kubernetes.io/dockerconfigjson
```
> Private Container Image에 대한 인증 Secret를 생성한다. 이는 다음의 Deployment에서 사용된다.
# monitor Deployment Status
## Node.js Deployment yaml
## Node.js Deployment yaml
> 역할 : Node.js API POD를 배포하는 Deployment를 작성한다.
> 역할 : Node.js API POD를 배포하는 Deployment를 작성한다.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment