환경구성
EKS 1.28
Prometheus
Prometheus Operater
Bitnami Thanos
작업 내용
1. bitnami helm Chart Install
2. S3 연계를 위한 Secret 생성
3. values.yaml 수정
4. helm insatll
상세 작업 내용
1. bitnami helm Chart Install
2. S3 연계를 위한 Secret 생성
- objstore.yml 파일 생성
- 파일명은 반드시 objstore.yml 이여야 함
수정내용
buket <버킷명>
endpoint <s3.ap-northeast-2.amazonaws.com>
region <ap-northeast-2>
access_key <key>
secret_key <key>
--------------------------------------
type: S3
config:
bucket: ""
endpoint: ""
region: ""
aws_sdk_auth: false
access_key: ""
insecure: false
signature_version2: false
secret_key: ""
session_token: ""
put_user_metadata: {}
http_config:
idle_conn_timeout: 1m30s
response_header_timeout: 2m
insecure_skip_verify: false
tls_handshake_timeout: 10s
expect_continue_timeout: 1s
max_idle_conns: 100
max_idle_conns_per_host: 100
max_conns_per_host: 0
tls_config:
ca_file: ""
cert_file: ""
key_file: ""
server_name: ""
insecure_skip_verify: false
disable_compression: false
trace:
enable: false
list_objects_version: ""
bucket_lookup_type: auto
part_size: 67108864
sse_config:
type: ""
kms_key_id: ""
kms_encryption_context: {}
encryption_key: ""
sts_endpoint: ""
prefix: ""
--------------------------------------
- Secret 생성
kubectl create secret generic objstore-secret-thanos --from-file=objstore.yml
3. values.yaml 수정
89 번째 줄 existingObjstoreSecret 항목을 수정 <아래 사진 참고>

4. helm isntall
helm install thanos -f values.yaml ./
※참고자료
Prometheus Install : https://tistory-cloud.tistory.com/59
Prometheus Operater : https://tistory-cloud.tistory.com/60
Prometheus Thanos 연동 : https://tistory-cloud.tistory.com/61
'Grafana, Keycloak' 카테고리의 다른 글
| Grafana Alarm Lambda (0) | 2023.12.15 |
|---|---|
| Grafana / Prometheus / Thanos 개요 (0) | 2023.11.13 |
| Prometheus 에서 Thanos 사용을 위한 kube-prometheus-stack 설치 (0) | 2023.11.12 |
| Prometheus Install (0) | 2023.11.11 |
| Grafana 보안 취약점 TLS 알고리즘 조치(AWS EKS) (0) | 2023.09.29 |