-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathmain.yaml
More file actions
52 lines (50 loc) · 2.86 KB
/
Copy pathmain.yaml
File metadata and controls
52 lines (50 loc) · 2.86 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
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
---
# Automatically generated by aar-doc. DO NOT EDIT MANUALLY.
# Sets the registry endpoint used to build the default Node Exporter image reference.
node_exporter_registry_endpoint: "{{ lookup('env', 'NODE_EXPORTER_REGISTRY_ENDPOINT') or 'docker.io/prom' }}"
# Sets the Node Exporter image name used in the default image reference.
node_exporter_image_name: node-exporter
# Sets the Node Exporter image tag used in the default image reference.
node_exporter_image_tag: latest
# Sets the full Node Exporter image reference.
node_exporter_image: "{{ node_exporter_registry_endpoint }}/{{ node_exporter_image_name }}:{{ node_exporter_image_tag }}"
# Sets the container name used for the Node Exporter runtime.
node_exporter_container_name: node-exporter
# Sets the remote Node Exporter configuration directory.
node_exporter_remote_config_dir: '{{ remote_deploy_dir }}/node-exporter/config'
# Sets the configuration mount point inside the Node Exporter container.
node_exporter_container_config_dir: /var/config
# Sets the rendered Node Exporter web configuration filename.
node_exporter_web_config_file: web-config.yaml
# Enables the TLS web configuration and certificate paths when true.
node_exporter_use_tls: false
# Sets the Node Exporter TLS private key filename.
node_exporter_tls_private_key_file: server.key
# Sets the Node Exporter TLS certificate filename.
node_exporter_tls_cert_file: server.crt
# Enables the Kubernetes backend or cleanup path when true.
node_exporter_use_k8s: false
# Enables the container backend.
node_exporter_use_container: '{{ (not node_exporter_use_k8s) and (not node_exporter_use_openshift) }}'
# Sets the Kubernetes object name used for Node Exporter resources, including the Service, optional NodePort Service, and DaemonSet.
node_exporter_k8s_resource_name: '{{ inventory_hostname }}'
# Value for the Kubernetes C(app.kubernetes.io/part-of) label applied to Node Exporter resources.
node_exporter_k8s_part_of: monitoring
# Sets how long to wait for the Node Exporter DaemonSet rollout.
node_exporter_k8s_wait_timeout: 120
# Set to C(true) to create a LoadBalancer Service entry that exposes the metrics port externally.
# When undefined or C(false), the metrics port is not included in the LoadBalancer Service.
node_exporter_k8s_loadbalancer_expose_metrics_port: false
# UID the Node Exporter container runs as.
node_exporter_k8s_run_as_user: 0
# Selects the OpenShift deployment branch.
node_exporter_use_openshift: false
# Sets the bind-mount propagation flags for the host root filesystem volume (C(/:/host:<flags>)).
# On Linux the default is C(rslave,ro), required for Docker bind-mount propagation.
# On macOS, Docker Desktop with VirtioFS does not support C(rslave), so C(ro) is used instead.
node_exporter_root_fs_flags: "{{ 'ro' if ansible_facts.system == 'Darwin' else 'rslave,ro' }}"