Skip to content

Commit

Permalink
[ws-manager] Adjust probe InitialDelaySeconds value
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and roboquat committed Aug 13, 2021
1 parent a0baa60 commit 4cfa7e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions components/ws-manager/pkg/manager/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,11 @@ func (m *Manager) createWorkspaceContainer(startContext *startWorkspaceContext)
// We make the readiness probe more difficult to fail than the liveness probe.
// This way, if the workspace really has a problem it will be shut down by Kubernetes rather than end up in
// some undefined state.
FailureThreshold: 600,
PeriodSeconds: 1,
SuccessThreshold: 1,
TimeoutSeconds: 1,
FailureThreshold: 600,
PeriodSeconds: 1,
SuccessThreshold: 1,
TimeoutSeconds: 1,
InitialDelaySeconds: 2,
}
)

Expand Down

0 comments on commit 4cfa7e2

Please sign in to comment.