Skip to content

Commit

Permalink
More aggressive thresholds for liveness and readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir committed Nov 28, 2023
1 parent 9d6ddc0 commit 045cffc
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
"env" => @default_actor_host_function_env,
"ports" => proxy_actor_host_function_ports,
"livenessProbe" => %{
"failureThreshold" => 10,
"httpGet" => %{
"path" => "/health/liveness",
"port" => proxy_http_port,
"scheme" => "HTTP"
},
"initialDelaySeconds" => 5,
"periodSeconds" => 60,
"failureThreshold" => 3,
"initialDelaySeconds" => 10,
"periodSeconds" => 10,
"successThreshold" => 1,
"timeoutSeconds" => 30
},
Expand All @@ -269,6 +269,7 @@ defmodule SpawnOperator.K8s.Proxy.Deployment do
"port" => proxy_http_port,
"scheme" => "HTTP"
},
"failureThreshold" => 1,
"initialDelaySeconds" => 5,
"periodSeconds" => 5,
"successThreshold" => 1,
Expand Down

0 comments on commit 045cffc

Please sign in to comment.