Skip to content

Commit

Permalink
e2e: added readiness probe for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
wirungu committed Mar 19, 2024
1 parent a69dcd7 commit 1dc836b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/internal/kuberesource/sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ func OpenSSL() ([]any, error) {
WithEnv(
NewEnvVar("COORDINATOR_HOST", "coordinator"),
).
WithReadinessProbe(Probe().
WithInitialDelaySeconds(1).
WithPeriodSeconds(5).
WithTCPSocket(TCPSocketAction().
WithPort(intstr.FromInt(443))),
).
WithResources(ResourceRequirements().
WithMemoryLimitAndRequest(50),
),
Expand Down

0 comments on commit 1dc836b

Please sign in to comment.