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

resources {
limits {
limits = {
cpu = local.k8s_ro_cpu_limit
memory = "${var.hms_ro_heapsize}Mi"
}
requests {
requests = {
cpu = local.k8s_ro_cpu
memory = "${var.hms_ro_heapsize}Mi"
}
Expand Down

0 comments on commit 3d8cd02

Please sign in to comment.