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 3d8cd02 commit 5013b4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k8s-readwrite.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_readwrite" {
resource "kubernetes_deployment_v1" "apiary_hms_readwrite" {
count = var.hms_instance_type == "k8s" ? 1 : 0
metadata {
name = "${local.hms_alias}-readwrite"
Expand Down Expand Up @@ -258,11 +258,11 @@ resource "kubernetes_deployment" "apiary_hms_readwrite" {
}

resources {
limits {
limits = {
cpu = local.k8s_rw_cpu_limit
memory = "${var.hms_rw_heapsize}Mi"
}
requests {
requests = {
cpu = local.k8s_rw_cpu
memory = "${var.hms_rw_heapsize}Mi"
}
Expand Down

0 comments on commit 5013b4c

Please sign in to comment.