Readme 및 기본 설치 방법 작성

This commit is contained in:
이상진 2025-06-05 19:22:05 +09:00
parent 24d6154640
commit e7fb506118

29
README.md Normal file
View File

@ -0,0 +1,29 @@
# Grafana Alloy - 쿠버네티스
Grafana Alloy의 설정(컴포넌트) 파일을 다루는 방법을 소개합니다. 크게 helm values에 작성하는 방법(v1), configmap을 별도로 만들어 사용하는 방법(v2)이 있습니다.
### 설치
**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>
```