Skip to content

Commit c002bd8

Browse files
committed
Change Toleration
1 parent c85dd88 commit c002bd8

File tree

1 file changed

+6
-6
lines changed
  • terraform/dotnet/eks/windows

1 file changed

+6
-6
lines changed

terraform/dotnet/eks/windows/main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ resource "kubernetes_deployment" "dotnet_app_deployment" {
106106
spec {
107107
service_account_name = var.service_account_aws_access
108108
toleration {
109-
key = "os"
109+
key = "windows"
110110
operator = "Equal"
111-
value = "windows"
111+
value = "true"
112112
effect = "NoSchedule"
113113
}
114114
node_selector = {
@@ -190,9 +190,9 @@ resource "kubernetes_deployment" "dotnet_r_app_deployment" {
190190
}
191191
service_account_name = var.service_account_aws_access
192192
toleration {
193-
key = "os"
193+
key = "windows"
194194
operator = "Equal"
195-
value = "windows"
195+
value = "true"
196196
effect = "NoSchedule"
197197
}
198198
container {
@@ -252,9 +252,9 @@ resource "kubernetes_deployment" "traffic_generator" {
252252
}
253253
spec {
254254
toleration {
255-
key = "os"
255+
key = "windows"
256256
operator = "Equal"
257-
value = "windows"
257+
value = "true"
258258
effect = "NoSchedule"
259259
}
260260
node_selector = {

0 commit comments

Comments
 (0)