Skip to content

Commit

Permalink
Increase default Nomad storage
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jan 17, 2024
1 parent 8d7cd47 commit 7434388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **api-helper** Instrument path futures
- **Infra** CNI ports not being removed from the `nat` iptable, therefore occasionally causing failed connections
- **Infra** Disable `nativeLB` for Traefik tunnel
- **Infra** Update default Nomad storage to 64Gi

## [23.2.0-rc.1] - 2023-12-01

Expand Down
4 changes: 3 additions & 1 deletion infra/tf/k8s_infra/nomad.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ locals {
EOT
}
nomad_checksum_configmap = sha256(jsonencode(local.nomad_server_configmap_data))

# Recommendations: https://developer.hashicorp.com/nomad/docs/install/production/requirements#resources-ram-cpu-etc
service_nomad = lookup(var.services, "nomad", {
count = 1
resources = {
Expand Down Expand Up @@ -366,7 +368,7 @@ resource "kubernetes_stateful_set" "nomad_server" {
access_modes = ["ReadWriteOnce"]
resources {
requests = {
storage = "1Gi"
storage = "64Gi"
}
}
storage_class_name = var.k8s_storage_class
Expand Down

0 comments on commit 7434388

Please sign in to comment.