This commit is contained in:
ByeonJungHun
2023-09-19 17:02:50 +09:00
parent a506484e34
commit 036f076a58
11 changed files with 26 additions and 21 deletions

View File

@@ -1,13 +1,16 @@
[cmoa_master]
cmoa-master-1 ansible_host=10.10.43.200 ip=10.10.43.200
cmoa-master-2 ansible_host=10.10.43.200 ip=10.10.43.200
## HOST AGENT INSTALL NODE ##
[containerd]
master ansible_host=10.10.43.227 ip=10.10.43.227
worker01 ansible_host=10.10.43.228 ip=10.10.43.228
cmoa-jspd-master ansible_host=10.10.43.206 ip=10.10.43.206
cmoa-jspd-worker1 ansible_host=10.10.43.207 ip=10.10.43.207
cmoa-jspd-worker2 ansible_host=10.10.43.208 ip=10.10.43.208
[docker]
[crio]
worker02 ansible_host=10.10.43.229 ip=10.10.43.229
[agent-master]
cmoa-jspd-master ansible_host=10.10.43.206 ip=10.10.43.206

View File

@@ -4,3 +4,4 @@
gather_facts: false
roles:
- role: jaeger
delegate_to: 127.0.0.1

View File

@@ -4,3 +4,4 @@
gather_facts: false
roles:
- role: jspd
delegate_to: 127.0.0.1

View File

@@ -4,4 +4,4 @@ delete_enabled: false
NAMESAPCE: imxc-agent
DATAGATE: 10.10.43.200:35001
VERSION: 3.5.2
VERSION: 3.5.4

BIN
roles/host/files/host-agent/._. Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -3,6 +3,6 @@
delete_enabled: false
NAMESAPCE: imxc-agent
CLUSTER_ID: kk-MJy2q2OkNiGkm
DATAGATE: 10.10.43.200:35001
VERSION: 3.5.2
CLUSTER_ID: bMsF5W8UYTac5n7l
DATAGATE: 10.10.43.200:30051
VERSION: 3.5.4

View File

@@ -1,38 +1,38 @@
---
- name: jspd tpcc delete
- name: jaeger tpcc delete
kubernetes.core.helm:
chart_ref: "/root/jspd-tpcc"
name: jspd-tpcc
chart_ref: "/root/jaeger-tpcc"
name: jaeger-tpcc
namespace: default
state: absent
wait: true
when:
- inventory_hostname == groups['agent-master'][0]
- name: jspd client delete
- name: jaeger client delete
kubernetes.core.helm:
chart_ref: "/root/jspd-client"
name: jspd-client
chart_ref: "/root/jaeger-client"
name: jaeger-client
namespace: "{{ NAMESAPCE }}"
state: absent
wait: true
when:
- inventory_hostname == groups['agent-master'][0]
- name: old jspd-client directory delete
- name: old jaeger-client directory delete
ignore_errors: true
file:
path: /root/jspd-client
path: /root/jaeger-client
state: absent
when:
- delete_enabled
- inventory_hostname in groups['docker'] or inventory_hostname in groups['containerd'] or inventory_hostname in groups['crio']
- name: old jspd-tpcc directory delete
- name: old jaeger-tpcc directory delete
ignore_errors: true
file:
path: /root/jspd-tpcc
path: /root/jaeger-tpcc
state: absent
when:
- delete_enabled
- inventory_hostname in groups['docker'] or inventory_hostname in groups['containerd'] or inventory_hostname in groups['crio']
- inventory_hostname in groups['docker'] or inventory_hostname in groups['containerd'] or inventory_hostname in groups['crio']

View File

@@ -3,7 +3,7 @@
delete_enabled: false
NAMESAPCE: imxc-agent
CLUSTER_ID: kk-MJy2q2OkNiGkm
CLUSTER_ID: K5kqSh9_7qkXYZfy
DATAGATE: 10.10.43.200:35001
DATAGATE_IP: 10.10.43.200
VERSION: 3.5.2
VERSION: 3.5.4