Panfactum LogoPanfactum
Infrastructure ModulesDirect ModulesKuberneteskube_logging
kube_logging
Alpha
Direct
Source Code Link

Logging

This module deploys Loki for collecting and querying log data

Providers

The following providers are needed by this module:

  • aws (5.39.1)

  • helm (2.12.1)

  • kubectl (2.0.4)

  • kubernetes (2.27.0)

  • random (3.6.0)

  • time (0.10.0)

  • vault (3.25.0)

Required Inputs

The following input variables are required:

eks_cluster_name

Description: The name of the EKS cluster.

Type: string

Optional Inputs

The following input variables are optional (have default values):

aws_iam_ip_allow_list

Description: A list of IPs that can use the service account token to authenticate with AWS API

Type: list(string)

Default: []

enhanced_ha_enabled

Description: Whether to add extra high-availability scheduling constraints at the trade-off of increased cost

Type: bool

Default: true

log_level

Description: The log level for the Loki pods

Type: string

Default: "warn"

log_retention_period_hours

Description: Number of hours that logs should be retained

Type: number

Default: 336

loki_chart_version

Description: The version of the grafana/loki helm chart to deploy

Type: string

Default: "6.6.2"

loki_storage_class_name

Description: The storage class to use for local loki storage

Type: string

Default: "ebs-standard"

monitoring_enabled

Description: Whether to add active monitoring to the deployed systems

Type: bool

Default: false

panfactum_scheduler_enabled

Description: Whether to use the Panfactum pod scheduler with enhanced bin-packing

Type: bool

Default: true

pull_through_cache_enabled

Description: Whether to use the ECR pull through cache for the deployed images

Type: bool

Default: true

vpa_enabled

Description: Whether the VPA resources should be enabled

Type: bool

Default: true

Outputs

The following outputs are exported:

namespace

Description: n/a

Usage

No notes