ManagedClusterAzureMonitorProfileKubeStateMetricsArgs

data class ManagedClusterAzureMonitorProfileKubeStateMetricsArgs(val metricAnnotationsAllowList: Output<String>? = null, val metricLabelsAllowlist: Output<String>? = null) : ConvertibleToJava<ManagedClusterAzureMonitorProfileKubeStateMetricsArgs>

Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.

Constructors

constructor(metricAnnotationsAllowList: Output<String>? = null, metricLabelsAllowlist: Output<String>? = null)

Properties

Link copied to clipboard
val metricAnnotationsAllowList: Output<String>? = null

Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=kubernetes.io/team,...,pods=kubernetes.io/team,...'). By default the metric contains only resource name and namespace labels.

Link copied to clipboard
val metricLabelsAllowlist: Output<String>? = null

Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=k8s-label-1,k8s-label-n,...,pods=app,...'). By default the metric contains only resource name and namespace labels.

Functions

Link copied to clipboard
open override fun toJava(): ManagedClusterAzureMonitorProfileKubeStateMetricsArgs