patch
This commit is contained in:
11
inventory
11
inventory
@@ -1,13 +1,16 @@
|
|||||||
[cmoa_master]
|
[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 ##
|
## HOST AGENT INSTALL NODE ##
|
||||||
|
|
||||||
[containerd]
|
[containerd]
|
||||||
master ansible_host=10.10.43.227 ip=10.10.43.227
|
cmoa-jspd-master ansible_host=10.10.43.206 ip=10.10.43.206
|
||||||
worker01 ansible_host=10.10.43.228 ip=10.10.43.228
|
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]
|
[docker]
|
||||||
|
|
||||||
[crio]
|
[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
|
||||||
|
|||||||
@@ -4,3 +4,4 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- role: jaeger
|
- role: jaeger
|
||||||
|
delegate_to: 127.0.0.1
|
||||||
|
|||||||
@@ -4,3 +4,4 @@
|
|||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- role: jspd
|
- role: jspd
|
||||||
|
delegate_to: 127.0.0.1
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ delete_enabled: false
|
|||||||
|
|
||||||
NAMESAPCE: imxc-agent
|
NAMESAPCE: imxc-agent
|
||||||
DATAGATE: 10.10.43.200:35001
|
DATAGATE: 10.10.43.200:35001
|
||||||
VERSION: 3.5.2
|
VERSION: 3.5.4
|
||||||
|
|||||||
BIN
roles/host/files/host-agent/._.
Executable file
BIN
roles/host/files/host-agent/._.
Executable file
Binary file not shown.
BIN
roles/host/files/host-agent/._\
Normal file
BIN
roles/host/files/host-agent/._\
Normal file
Binary file not shown.
BIN
roles/host/files/host-agent/._default_setup.sh
Executable file
BIN
roles/host/files/host-agent/._default_setup.sh
Executable file
Binary file not shown.
BIN
roles/host/files/host-agent/._default_stop.sh
Executable file
BIN
roles/host/files/host-agent/._default_stop.sh
Executable file
Binary file not shown.
@@ -3,6 +3,6 @@
|
|||||||
delete_enabled: false
|
delete_enabled: false
|
||||||
|
|
||||||
NAMESAPCE: imxc-agent
|
NAMESAPCE: imxc-agent
|
||||||
CLUSTER_ID: kk-MJy2q2OkNiGkm
|
CLUSTER_ID: bMsF5W8UYTac5n7l
|
||||||
DATAGATE: 10.10.43.200:35001
|
DATAGATE: 10.10.43.200:30051
|
||||||
VERSION: 3.5.2
|
VERSION: 3.5.4
|
||||||
|
|||||||
@@ -1,37 +1,37 @@
|
|||||||
---
|
---
|
||||||
- name: jspd tpcc delete
|
- name: jaeger tpcc delete
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
chart_ref: "/root/jspd-tpcc"
|
chart_ref: "/root/jaeger-tpcc"
|
||||||
name: jspd-tpcc
|
name: jaeger-tpcc
|
||||||
namespace: default
|
namespace: default
|
||||||
state: absent
|
state: absent
|
||||||
wait: true
|
wait: true
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['agent-master'][0]
|
- inventory_hostname == groups['agent-master'][0]
|
||||||
|
|
||||||
- name: jspd client delete
|
- name: jaeger client delete
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
chart_ref: "/root/jspd-client"
|
chart_ref: "/root/jaeger-client"
|
||||||
name: jspd-client
|
name: jaeger-client
|
||||||
namespace: "{{ NAMESAPCE }}"
|
namespace: "{{ NAMESAPCE }}"
|
||||||
state: absent
|
state: absent
|
||||||
wait: true
|
wait: true
|
||||||
when:
|
when:
|
||||||
- inventory_hostname == groups['agent-master'][0]
|
- inventory_hostname == groups['agent-master'][0]
|
||||||
|
|
||||||
- name: old jspd-client directory delete
|
- name: old jaeger-client directory delete
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
file:
|
file:
|
||||||
path: /root/jspd-client
|
path: /root/jaeger-client
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- delete_enabled
|
- 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']
|
||||||
|
|
||||||
- name: old jspd-tpcc directory delete
|
- name: old jaeger-tpcc directory delete
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
file:
|
file:
|
||||||
path: /root/jspd-tpcc
|
path: /root/jaeger-tpcc
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- delete_enabled
|
- delete_enabled
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
delete_enabled: false
|
delete_enabled: false
|
||||||
|
|
||||||
NAMESAPCE: imxc-agent
|
NAMESAPCE: imxc-agent
|
||||||
CLUSTER_ID: kk-MJy2q2OkNiGkm
|
CLUSTER_ID: K5kqSh9_7qkXYZfy
|
||||||
DATAGATE: 10.10.43.200:35001
|
DATAGATE: 10.10.43.200:35001
|
||||||
DATAGATE_IP: 10.10.43.200
|
DATAGATE_IP: 10.10.43.200
|
||||||
VERSION: 3.5.2
|
VERSION: 3.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user