30 lines
966 B
Markdown
30 lines
966 B
Markdown
# Grafana Alloy - 쿠버네티스
|
|
|
|
Grafana Alloy의 설정(컴포넌트) 파일을 다루는 방법을 소개합니다. 크게 helm values에 작성하는 방법(v1), configmap을 별도로 만들어 사용하는 방법(v2)이 있습니다.
|
|
자세한 내용은 [블로그](https://blog.pricelees.me/ghost/#/editor/post/68415ad3fe55710001890b69) 에서 확인하실 수 있습니다.
|
|
|
|
### 설치
|
|
**Helm 저장소 등록**
|
|
|
|
```bash
|
|
helm repo add grafana https://grafana.github.io/helm-charts
|
|
helm repo update
|
|
```
|
|
|
|
**네임스페이스 생성**
|
|
```bash
|
|
kubectl create namespace <NAMESPACE>
|
|
```
|
|
|
|
**Alloy Install**
|
|
```bash
|
|
helm install --namespace <NAMESPACE> <RELEASE_NAME> grafana/alloy
|
|
|
|
# 또는 네임스페이스 생성까지 한 번에 진행
|
|
helm install <RELEASE_NAME> grafana/alloy --namespace=<NAMESPACE> --create-namespace
|
|
|
|
# 별도로 정의한 values를 사용하는 경우
|
|
helm install <RELEASE_NAME> grafana/alloy -f <VALUE_FILE_PATH> -n <NAMESPACE>
|
|
```
|
|
|