This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.4.2. 로컬 Alertmanager 비활성화
OpenShift Container Platform 모니터링 스택의 openshift-monitoring
프로젝트에서 Prometheus 인스턴스에서 경고를 라우팅하는 로컬 Alertmanager가 기본적으로 활성화되어 있습니다.
로컬 Alertmanager가 필요하지 않은 경우 openshift-monitoring
프로젝트에서 cluster-monitoring-config
구성 맵을 구성하여 비활성화할 수 있습니다.
사전 요구 사항
-
cluster-admin
클러스터 역할의 사용자로 클러스터에 액세스할 수 있습니다. -
cluster-monitoring-config
구성 맵을 생성했습니다. -
OpenShift CLI(
oc
)가 설치되어 있습니다.
프로세스
openshift-monitoring
프로젝트에서cluster-monitoring-config
구성 맵을 편집합니다.oc -n openshift-monitoring edit configmap cluster-monitoring-config
$ oc -n openshift-monitoring edit configmap cluster-monitoring-config
Copy to Clipboard Copied! Toggle word wrap Toggle overflow data/config.yaml
아래의alertmanagerMain
구성 요소에 대해enabled: false
를 추가합니다.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 파일을 저장하여 변경 사항을 적용합니다. 변경 사항을 적용하면 Alertmanager 인스턴스가 자동으로 비활성화됩니다.