Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
givanovexpe committed Jun 26, 2024
1 parent c4333c5 commit 011a937
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions k8s-housekeeper.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ resource "kubernetes_deployment_v1" "apiary_hms_housekeeper" {
value = var.hms_rw_datanucleus_connection_pooling_type
}

env {
name = "DATANUCLEUS_CONNECTION_POOL_MAX_POOLSIZE"
value = var.hms_housekeeper_db_connection_pool_size
}

dynamic "env" {
for_each = var.hms_housekeeper_additional_environment_variables

Expand Down
10 changes: 8 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -661,17 +661,23 @@ variable "hms_autogather_stats" {
}

variable "hms_ro_db_connection_pool_size" {
description = "Read-only Hive metastore setting for size of the MySQL connection pool. Default is 10."
description = "Read-only Hive metastore setting for max size of the MySQL connection pool. Default is 10."
type = number
default = 10
}

variable "hms_rw_db_connection_pool_size" {
description = "Read-write Hive metastore setting for size of the MySQL connection pool. Default is 10."
description = "Read-write Hive metastore setting for max size of the MySQL connection pool. Default is 10."
type = number
default = 10
}

variable "hms_housekeeper_db_connection_pool_size" {
description = "HMS Housekeeper setting for max size of the MySQL connection pool. Default is 5."
type = number
default = 5
}

variable "db_enable_performance_insights" {
description = "Enable RDS Performance Insights"
type = bool
Expand Down

0 comments on commit 011a937

Please sign in to comment.