You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,13 +143,13 @@ No modules.
143
143
| <aname="input_is_vpc_cluster"></a> [is\_vpc\_cluster](#input\_is\_vpc\_cluster)| Specify true if the target cluster is a VPC cluster, false if it is a classic cluster. |`bool`|`true`| no |
144
144
| <aname="input_kernal_module_image_repository"></a> [kernal\_module\_image\_repository](#input\_kernal\_module\_image\_repository)| The image repository to pull the agent kernal module initContainer image from. |`string`|`"agent-kmodule"`| no |
145
145
| <aname="input_kernel_module_image_tag_digest"></a> [kernel\_module\_image\_tag\_digest](#input\_kernel\_module\_image\_tag\_digest)| The image tag or digest to use for the agent kernel module used by the initContainer. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`|`string`|`"14.2.0@sha256:3be3966e2bef75364f55d248156a568a222afaba3067f43c5c642c46b690cca9"`| no |
146
-
| <aname="input_max_surge"></a> [max\_surge](#input\_max\_surge)| The number of pods that can be created above the desired amount of daemonset pods during an update. By default, the `max_surge` is set to null. The variable accepts absolute number or percentage value(e.g., '1' or '10%'). |`string`|`null`| no |
146
+
| <aname="input_max_surge"></a> [max\_surge](#input\_max\_surge)| The number of pods that can be created above the desired amount of daemonset pods during an update. If `max_surge` is set to null, the `max_surge` setting is ignored.. The variable accepts absolute number or percentage value(e.g., '1' or '10%'). |`string`|`null`| no |
147
147
| <aname="input_max_unavailable"></a> [max\_unavailable](#input\_max\_unavailable)| The maximum number of pods that can be unavailable during a DaemonSet rolling update. Accepts absolute number or percentage (e.g., '1' or '10%'). |`string`|`"1"`| no |
148
148
| <aname="input_metrics_filter"></a> [metrics\_filter](#input\_metrics\_filter)| To filter custom metrics you can specify which metrics to include and exclude. For more info, see https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_inc_exc_metrics| <pre>list(object({<br/> include = optional(string)<br/> exclude = optional(string)<br/> }))</pre> |`[]`| no |
149
149
| <aname="input_name"></a> [name](#input\_name)| The name to give the agent helm release. |`string`|`"sysdig-agent"`| no |
150
150
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Namespace to deploy the agent to. |`string`|`"ibm-observe"`| no |
151
-
| <aname="input_priority_class_name"></a> [priority\_class\_name](#input\_priority\_class\_name)| The priority class name for the PriorityClasses assigned to the monitoring agent daemonset. |`string`|`null`| no |
152
-
| <aname="input_priority_class_value"></a> [priority\_class\_value](#input\_priority\_class\_value)| The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions. |`number`|`10`| no |
151
+
| <aname="input_priority_class_name"></a> [priority\_class\_name](#input\_priority\_class\_name)| The priority class name for the PriorityClasses assigned to the monitoring agent daemonset. If no value is passed, priority class is not used. |`string`|`null`| no |
152
+
| <aname="input_priority_class_value"></a> [priority\_class\_value](#input\_priority\_class\_value)| The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions. The value only applies if a value was passed for `priority_class_name`|`number`|`10`| no |
153
153
| <aname="input_prometheus_config"></a> [prometheus\_config](#input\_prometheus\_config)| Prometheus configuration for the agent. If you want to enable Prometheus configuration provide the prometheus.yaml file content in `hcl` format. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-monitoring-agent/blob/main/solutions/fully-configurable/DA-types.md#prometheus_config). |`map(any)`|`{}`| no |
154
154
| <aname="input_tolerations"></a> [tolerations](#input\_tolerations)| List of tolerations to apply to the agent. | <pre>list(object({<br/> key = optional(string)<br/> operator = optional(string)<br/> value = optional(string)<br/> effect = optional(string)<br/> tolerationSeconds = optional(number)<br/> }))</pre> | <pre>[<br/> {<br/> "operator": "Exists"<br/> },<br/> {<br/> "effect": "NoSchedule",<br/> "key": "node-role.kubernetes.io/master",<br/> "operator": "Exists"<br/> }<br/>]</pre> | no |
155
155
| <aname="input_use_private_endpoint"></a> [use\_private\_endpoint](#input\_use\_private\_endpoint)| Whether send data over a private endpoint or not. To use a private endpoint, you must enable virtual routing and forwarding (VRF) for your account. See https://cloud.ibm.com/docs/account?topic=account-vrf-service-endpoint.|`bool`|`true`| no |
description="The number of pods that can be created above the desired amount of daemonset pods during an update. By default, the `max_surge` is set to null. The variable accepts absolute number or percentage value(e.g., '1' or '10%')."
257
+
description="The number of pods that can be created above the desired amount of daemonset pods during an update. If `max_surge` is set to null, the `max_surge` setting is ignored.. The variable accepts absolute number or percentage value(e.g., '1' or '10%')."
258
258
default=null
259
259
}
260
260
261
261
variable"priority_class_name" {
262
262
type=string
263
-
description="The priority class name for the PriorityClasses assigned to the monitoring agent daemonset."
263
+
description="The priority class name for the PriorityClasses assigned to the monitoring agent daemonset. If no value is passed, priority class is not used."
264
264
default=null
265
265
}
266
266
267
267
variable"priority_class_value" {
268
268
type=number
269
-
description="The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions."
270
-
default=10
271
269
nullable=false
270
+
description="The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions. The value only applies if a value was passed for `priority_class_name`"
error_message="max_unavailable must be a positive integer (e.g., '1') or a percentage (e.g., '10%')"
256
+
error_message="max_unavailable must be a positive integer (e.g., '1') or a percentage (e.g., '10%')."
257
257
}
258
258
}
259
259
260
260
variable"max_surge" {
261
261
type=string
262
-
description="The number of pods that can be created above the desired amount of daemonset pods during an update. By default, the `max_surge` is set to null. The variable accepts absolute number or percentage value(e.g., '1' or '10%')."
262
+
description="The number of pods that can be created above the desired amount of daemonset pods during an update. If `max_surge` is set to null, the `max_surge` setting is ignored.. The variable accepts absolute number or percentage value(e.g., '1' or '10%')."
263
263
default=null
264
264
validation {
265
265
condition=(
@@ -272,14 +272,14 @@ variable "max_surge" {
272
272
273
273
variable"priority_class_name" {
274
274
type=string
275
-
description="The priority class name for the PriorityClasses assigned to the monitoring agent daemonset."
275
+
description="The priority class name for the PriorityClasses assigned to the monitoring agent daemonset. If no value is passed, priority class is not used."
276
276
default=null
277
277
}
278
278
279
279
variable"priority_class_value" {
280
280
type=number
281
281
nullable=false
282
-
description="The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions."
282
+
description="The numerical priority assigned to PriorityClass, which determines the importance of monitoring agent daemonset pod within the cluster for both scheduling and eviction decisions. The value only applies if a value was passed for `priority_class_name`"
0 commit comments