Ubuntu 지원 및 process-agent 추가
This commit is contained in:
20
README.md
20
README.md
@@ -4,7 +4,6 @@
|
||||
* kubernetes 관제 cluster 구축
|
||||
* kubernetes 수집 cluster 구축
|
||||
* cmoa agent 설치
|
||||
* 현재는 RHEL 계열 OS에서만 동작 (ex. redhat, centos, rockyos 등)
|
||||
#### playbook 구조
|
||||
```
|
||||
├── README.md
|
||||
@@ -14,10 +13,15 @@
|
||||
│ │ └── core
|
||||
│ └── kubernetes.core-2.4.0.info
|
||||
│ └── GALAXY.yml
|
||||
├── host.yaml
|
||||
├── inventory
|
||||
├── jaeger.yaml
|
||||
├── jspd.yaml
|
||||
└── roles
|
||||
├── host
|
||||
│ ├── defaults
|
||||
│ ├── files
|
||||
│ └── tasks
|
||||
├── jaeger
|
||||
│ ├── defaults
|
||||
│ ├── files
|
||||
@@ -27,21 +31,17 @@
|
||||
├── files
|
||||
└── tasks
|
||||
```
|
||||
#### 사용 방법
|
||||
> jspd 기준 (jaeger 같은 경우 roles/jaeger/defaults)
|
||||
## 사용 방법
|
||||
|
||||
##### 변수 수정
|
||||
`roles/jspd/defaults` 경로의 `main.yaml` 을 수정
|
||||
`roles/host/defaults` 경로의 `main.yaml` 을 수정
|
||||
```
|
||||
---
|
||||
|
||||
jspd_enabled: true # jspd client 및 tpcc 설치 여부 결정 / false 일 경우 host-agent 만 설치
|
||||
delete_enabled: false # client 및 tpcc 삭제 여부 결정 / true 일 경우 설치를 진행하지 않고 기존에 설치되어 있던 tpcc와 host-agent 삭제
|
||||
delete_enabled: false # 삭제 여부 결정
|
||||
|
||||
NAMESAPCE: imxc-agent # cmoa agent를 설치한 ns 입력
|
||||
CLUSTER_ID: kk-MJy2q2OkNiGkm # clusterid 입력
|
||||
DATAGATE: 10.10.43.200:35001 # 관제 서버의 datagate:port 주소 입력 (master node ip:35001)
|
||||
DATAGATE_IP: 10.10.43.200 # 관제 서버의 datagate 주소 입력 (master node ip)
|
||||
VERSION: 3.5.2 # 버전 입력
|
||||
```
|
||||
|
||||
@@ -65,6 +65,6 @@ worker02 ansible_host=10.10.43.229 ip=10.10.43.229
|
||||
|
||||
##### agent 설치
|
||||
```
|
||||
ansible-playbook -i inventory jaeger.yaml # playbook 실행
|
||||
ansible-playbook -i inventory host.yaml # playbook 실행
|
||||
```
|
||||
`delete_enabled: true` 일 경우 설치가 아닌 설치된 tpcc 와 host-agent 삭제
|
||||
`delete_enabled: true` 일 경우 설치가 아닌 host-agent 삭제
|
||||
|
||||
Reference in New Issue
Block a user