Skip to content

Commit 30d6159

Browse files
feat: PAAL-123 increase times for readiness probe checks
1 parent 5418b82 commit 30d6159

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

internal/controller/agent_controller.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ func (r *AgentReconciler) buildOpenAIReadinessProbe(port int32) *corev1.Probe {
842842
Port: intstr.FromInt(int(port)),
843843
},
844844
},
845-
InitialDelaySeconds: 10,
846-
PeriodSeconds: 5,
845+
InitialDelaySeconds: 60,
846+
PeriodSeconds: 10,
847847
TimeoutSeconds: 3,
848848
SuccessThreshold: 1,
849849
FailureThreshold: 3,
@@ -859,8 +859,8 @@ func (r *AgentReconciler) buildA2AReadinessProbe(healthPath string, port int32)
859859
Port: intstr.FromInt(int(port)),
860860
},
861861
},
862-
InitialDelaySeconds: 10,
863-
PeriodSeconds: 5,
862+
InitialDelaySeconds: 60,
863+
PeriodSeconds: 10,
864864
TimeoutSeconds: 3,
865865
SuccessThreshold: 1,
866866
FailureThreshold: 3,

internal/controller/agent_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ var _ = Describe("Agent Controller", func() {
147147
Expect(probe.HTTPGet).NotTo(BeNil())
148148
Expect(probe.HTTPGet.Path).To(Equal("/a2a" + agentCardEndpoint))
149149
Expect(probe.HTTPGet.Port.IntValue()).To(Equal(8000))
150-
Expect(probe.InitialDelaySeconds).To(Equal(int32(10)))
150+
Expect(probe.InitialDelaySeconds).To(Equal(int32(60)))
151151
})
152152

153153
It("should generate TCP probe for OpenAI-only agents", func() {
@@ -163,7 +163,7 @@ var _ = Describe("Agent Controller", func() {
163163
Expect(probe).NotTo(BeNil())
164164
Expect(probe.TCPSocket).NotTo(BeNil())
165165
Expect(probe.TCPSocket.Port.IntValue()).To(Equal(8000))
166-
Expect(probe.InitialDelaySeconds).To(Equal(int32(10)))
166+
Expect(probe.InitialDelaySeconds).To(Equal(int32(60)))
167167
})
168168

169169
It("should prioritize A2A probe over OpenAI when both protocols exist", func() {

0 commit comments

Comments
 (0)