Skip to content

Commit

Permalink
Fix. Operator tests, included ephemeral-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed May 17, 2023
1 parent 2d16352 commit eea2f97
Showing 1 changed file with 21 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ defmodule DeploymentTest do
%{"containerPort" => 9001, "name" => "proxy-http"}
],
"resources" => %{
"requests" => %{"memory" => "80Mi", "cpu" => "100m"}
"requests" => %{
"cpu" => "100m",
"ephemeral-storage" => "1M",
"memory" => "80Mi"
}
}
}
],
Expand Down Expand Up @@ -200,7 +204,11 @@ defmodule DeploymentTest do
%{"containerPort" => 9001, "name" => "proxy-http"}
],
"resources" => %{
"requests" => %{"memory" => "80Mi", "cpu" => "100m"}
"requests" => %{
"cpu" => "100m",
"ephemeral-storage" => "1M",
"memory" => "80Mi"
}
},
"volumeMounts" => [
%{"mountPath" => "/home/example", "name" => "volume-name"}
Expand Down Expand Up @@ -321,7 +329,11 @@ defmodule DeploymentTest do
"timeoutSeconds" => 5
},
"resources" => %{
"requests" => %{"memory" => "80Mi", "cpu" => "50m"}
"requests" => %{
"cpu" => "50m",
"ephemeral-storage" => "1M",
"memory" => "80Mi"
}
}
},
%{
Expand All @@ -345,7 +357,11 @@ defmodule DeploymentTest do
"image" => "eigr/spawn-test:latest",
"name" => "actor-host-function",
"resources" => %{
"requests" => %{"memory" => "80Mi", "cpu" => "100m"}
"requests" => %{
"cpu" => "100m",
"ephemeral-storage" => "1M",
"memory" => "80Mi"
}
}
}
],
Expand Down Expand Up @@ -413,7 +429,7 @@ defmodule DeploymentTest do
"image" => "eigr/spawn-test:latest",
"name" => "actor-host-function",
"resources" => %{
"requests" => %{"memory" => "80Mi", "cpu" => "100m"}
"requests" => %{"memory" => "80Mi", "ephemeral-storage" => "1M", "cpu" => "100m"}
},
"ports" => [
%{"containerPort" => 8090, "name" => "http"},
Expand Down

0 comments on commit eea2f97

Please sign in to comment.