Skip to content

Commit

Permalink
resourcegen: add startup probe to service mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
davidweisse committed Jun 14, 2024
1 parent 331d7ed commit fdf3062
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/kuberesource/parts.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,12 @@ func ServiceMeshProxy() *applycorev1.ContainerApplyConfiguration {
WithPrivileged(true).
AddCapabilities("NET_ADMIN").
SecurityContextApplyConfiguration,
).
WithStartupProbe(Probe().
WithInitialDelaySeconds(1).
WithPeriodSeconds(5).
WithFailureThreshold(5).
WithTCPSocket(TCPSocketAction().
WithPort(intstr.FromInt(15006))),
)
}

0 comments on commit fdf3062

Please sign in to comment.