Skip to content

Commit

Permalink
feat: update deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Nov 14, 2023
1 parent a168cd3 commit 7a0f86b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions k8s-housekeeper.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the Apache License, Version 2.0 (the "License");
*/

resource "kubernetes_deployment" "apiary_hms_housekeeper" {
resource "kubernetes_deployment_v1" "apiary_hms_housekeeper" {
count = var.hms_instance_type == "k8s" && var.enable_hms_housekeeper ? 1 : 0
metadata {
name = "${local.hms_alias}-housekeeper"
Expand Down Expand Up @@ -157,11 +157,11 @@ resource "kubernetes_deployment" "apiary_hms_housekeeper" {
}

resources {
limits {
limits = {
cpu = 0.5
memory = "2048Mi"
}
requests {
requests = {
cpu = 0.5
memory = "2048Mi"
}
Expand All @@ -173,4 +173,4 @@ resource "kubernetes_deployment" "apiary_hms_housekeeper" {
}
}
}
}
}

0 comments on commit 7a0f86b

Please sign in to comment.