Improve e2e speed execution time
This commit is contained in:
parent
9dbfc11f01
commit
c4f78ef11d
4 changed files with 16 additions and 24 deletions
|
|
@ -280,10 +280,11 @@ func (f *Framework) NewGRPCBinDeployment() {
|
|||
func newDeployment(name, namespace, image string, port int32, replicas int32, command []string,
|
||||
volumeMounts []corev1.VolumeMount, volumes []corev1.Volume) *appsv1.Deployment {
|
||||
probe := &corev1.Probe{
|
||||
InitialDelaySeconds: 1,
|
||||
InitialDelaySeconds: 2,
|
||||
PeriodSeconds: 1,
|
||||
SuccessThreshold: 1,
|
||||
TimeoutSeconds: 1,
|
||||
TimeoutSeconds: 2,
|
||||
FailureThreshold: 6,
|
||||
Handler: corev1.Handler{
|
||||
HTTPGet: &corev1.HTTPGetAction{
|
||||
Port: intstr.FromString("http"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue