Skip to content

Commit

Permalink
e2e: add ReadinessProbe to emoji-web
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Apr 24, 2024
1 parent 2e0972d commit 2b4a2f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/internal/kuberesource/sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ func generateEmojivoto() ([]any, error) {
WithEnv(EnvVar().WithName("EDG_DISABLE_CLIENT_AUTH").WithValue("true")).
WithResources(ResourceRequirements().
WithMemoryLimitAndRequest(50),
).
WithReadinessProbe(applycorev1.Probe().
WithTCPSocket(TCPSocketAction().WithPort(intstr.FromInt(8080))).
WithInitialDelaySeconds(1).
WithPeriodSeconds(5),
),
),
),
Expand Down

0 comments on commit 2b4a2f0

Please sign in to comment.