dongwoo 03cfcc1e1a [fea] 데몬셋 에이전트 결합
:Why/What:
- node-exporter와 topology-agent가 같이 배포되도록 수정
- node-exporter의 컨테이너명을 node-agent로 수정
- node-exporter scrape rule 명칭을 agent로 수정

:Tasks:
[CLOUD-19283] Topology Agent 와 node exporter 통합
<https://app.clickup.com/t/25540965/CLOUD-19283>
2023-07-25 17:52:36 +09:00
2023-02-16 22:23:25 +09:00
2023-07-25 17:52:36 +09:00
2023-02-16 16:20:12 +09:00
2023-02-16 21:40:53 +09:00
2023-07-14 14:09:39 +09:00
2023-07-14 14:09:39 +09:00
2023-03-30 10:06:08 +09:00
2023-07-14 14:14:08 +09:00

ansible installer

  1. 사전 작업 필요
  • CentOS ansible 설치 방법 : 00_ansible_setup 폴더 내 setup_local.sh 실행
  • 각 서버에 ssh-key 배포
  • 확인 명령어 : ansible all -m ping -i

  1. 수정필요파일
  • inventory : 각 서버 IP

  • cmoa_install.yaml : 이미 kubernetes가깔려있다면 - role: cmoa_os_setting 주석 처리

  • roles/cmoa_install/defaults/main.yml : cmoa_version: relx.x.x

  1. 실행 방법 : ansible-playbook cmoa_install.yaml or : ansible-playbook cmoa_install.yaml -i

  2. Kubernetes Cluster 리셋 방법
  • cmoa_install.yaml
---
- hosts: cluster
  become: true
  gather_facts: true
  environment:
    KUBECONFIG: /root/.kube/ansible_config
  roles:
    - role: cmoa_reset

위와 같이 - role: cmoa_reset 만 활성화 후 3번 실행
실행할 경우 kubeadm reset 수행과 cri 종료, kubeadm, kubectl, kubelet, cri 삭제
reset을 할 경우 최초 cluster 구성할때 사용한 cri만 사용 가능

docker 사용 -> reset -> docker 사용
containerd 사용 -> reset -> containerd 사용
crio 사용 -> reset -> crio 사용

Description
cmoa_installer_ansible
Readme 113 MiB
Languages
Python 92%
Jinja 4.7%
Shell 1.8%
Smarty 1.3%
HCL 0.2%