Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
# 보고 mc-o11y-manager가 "linux" / "windows" 둘 중 하나로 채움.
# default "linux" 로 두는 이유: 옛 호출자(직접 Semaphore template 호출 등)에 대한 호환 + Telegraf/FluentBit/Beyla 기존 케이스.
os_type: "{{ os_type | default('linux') }}"
# enable_gpu: NVIDIA GPU 노드에서 DCGM Exporter를 함께 설치/제거할지 여부.
# telegraf 에이전트 설치 시에만 의미가 있으며, telegraf의 prometheus input이
# localhost:9400(DCGM Exporter)을 스크랩해 GPU 메트릭을 수집한다.
# enable_gpu: telegraf config에 GPU 수집(nvidia_smi input)을 넣을지 여부.
# 노드에 설치할 것은 없다 - nvidia-smi는 NVIDIA 드라이버에 동봉되므로,
# 이 값은 mc-o11y-manager가 config를 조립할 때만 쓰인다.
enable_gpu: "{{ enable_gpu | default(false) }}"
NVIDIA_CONTAINER_TOOLKIT_VERSION: "1.19.0-1"
tasks:
- name: Check variables
include_role:
Expand Down Expand Up @@ -41,13 +40,6 @@
no_log: true
when: os_type == 'windows'

# DCGM Exporter (GPU 메트릭): Linux + telegraf + enable_gpu 인 경우에만 수행.
# (o11y-infra dcgm role 포팅 — podman으로 dcgm-exporter 컨테이너 구동, 포트 9400)
- name: DCGM Exporter Operation
include_role:
name: dcgm
when: os_type == 'linux' and agent == 'telegraf' and (enable_gpu | bool)

- name: Agent Operation (Linux)
include_role:
name: agent
Expand Down
Loading