-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigmap.yaml
More file actions
83 lines (83 loc) · 3.92 KB
/
Copy pathconfigmap.yaml
File metadata and controls
83 lines (83 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
apiVersion : v1
kind : ConfigMap
metadata :
name : densifyconf
data :
config.yaml : |
forwarder:
densify:
url:
scheme: https
host: <instance>.densify.com
port: 443
username: <Densify user>
# password: <plaintext Densify password, or:>
# encrypted_password: <encrypted Densify password>
endpoint: /api/v2/
# the entire retry section is optional, if omitted then the default values below are used
# retry:
# wait_min: 1s
# wait_max: 30s
# max_attempts: 4
# policy: default # valid values: default (same as exponential), exponential, jitter
# proxy:
# url:
# scheme: https
# host: proxy.company.com
# port: 443
# username: <proxy user>
# password: <plaintext proxy password, or:>
# encrypted_password: <encrypted proxy password>
# auth: <Basic (default)|NTLM>
# server: <proxy server, required for NTLM>
# domain: <proxy domain, required for NTLM>
# prefix: <zip file prefix>
prometheus:
url:
scheme: <http (default)|https>
host: <Prometheus hostname>
port: <Prometheus port|9090 (default)>
username: <Prometheus basic auth username / name of file containing this info>
password: <Prometheus basic auth password / name of file containing this info>
# bearer_token: /var/run/secrets/kubernetes.io/serviceaccount/token # required by some observability platforms; the value can be the token or name of file containing it
# ca_cert: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
# sigv4: # required for Amazon Managed Prometheus (see https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-query-APIs.html)
# region: <AWS region, mandatory>
# # if running on AWS / EKS under a service account with the appropriate IAM roles, all other sigv4 attributes can be left empty
# (see https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-ingest-metrics.html#AMP-quick-new-Prometheus-IRSA)
# access_key: <AWS access key>
# secret_key: <AWS secret key>
# profile: <AWS profile>
# role_arn: <AWS role ARN>
# the entire retry section is optional, if omitted then the default values below are used
# retry:
# wait_min: 1s
# wait_max: 30s
# max_attempts: 4
# policy: default # valid values: default (same as exponential), exponential, jitter
collection:
# the include section is optional, if omitted or empty then all entity types are included
# include:
# cluster: true
# container: true
# node: true
# nodegroup: true
# quota: true
# interval: <days|hours (default)|minutes>
# interval_size: 1
# history: 1
# offset: 0
# sample_rate: 5
# node_group_list: label_karpenter_sh_nodepool,label_cloud_google_com_gke_nodepool,label_eks_amazonaws_com_nodegroup,label_agentpool,label_pool_name,label_alpha_eksctl_io_nodegroup_name,label_kops_k8s_io_instancegroup
clusters:
- name: <cluster-1 name>
identifiers: # identifiers is a map of Prometheus labels (name and value) to uniquely identify the cluster; if omitted, only one cluster can be present in the list
<label name>: <label value>
# ... (more labels)
- name: <cluster-2 name>
identifiers: # identifiers is a map of Prometheus labels (name and value) to uniquely identify the cluster; if omitted, only one cluster can be present in the list
<label name>: <label value>
# ... (more labels)
# ... (more clusters)
#
# debug: <true|false (default)>