Skip to content

Instantly share code, notes, and snippets.

@linjungz
Created December 29, 2021 16:31
Show Gist options
  • Save linjungz/74c9efc67c623a8c445342e58d237b09 to your computer and use it in GitHub Desktop.
Save linjungz/74c9efc67c623a8c445342e58d237b09 to your computer and use it in GitHub Desktop.
Helm chart values for Prometheus Server installed in EKS
## The following is a set of default values for prometheus server helm chart which enable remoteWrite to AMP
## For the rest of prometheus helm chart values see: https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml
##
## 通过以下参数安装Prometheus Server在EKS中,并将指标采集并上报至AMP
serviceAccounts:
server:
name: "amp-iamproxy-ingest-service-account"
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::294254988299:role/amp-iamproxy-ingest-role"
server:
persistentVolume:
enabled: false
remoteWrite:
- url: https://aps-workspaces.ap-southeast-1.amazonaws.com/workspaces/ws-083262e5-a989-4fc2-8978-28173babb3e6/api/v1/remote_write
sigv4:
region: ap-southeast-1
queue_config:
max_samples_per_send: 1000
max_shards: 200
capacity: 2500
alertmanager:
enabled: false
@linjungz
Copy link
Author

通过以下Helm命令安装Prometheus Server:
helm install prometheus prometheus-community/prometheus -n prometheus -f my_prometheus_values.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment