Skip to content
Snippets Groups Projects

Prepare k8s deployment

Merged Ghost User requested to merge prepare-k8s-deployment into master
4 files
+ 10
3
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
2
@@ -311,7 +311,7 @@ func createDeployment(environment, hash string) *appv1.Deployment {
@@ -311,7 +311,7 @@ func createDeployment(environment, hash string) *appv1.Deployment {
Port: intstr.IntOrString{IntVal: 8080},
Port: intstr.IntOrString{IntVal: 8080},
},
},
},
},
InitialDelaySeconds: 20,
InitialDelaySeconds: 5,
PeriodSeconds: 2,
PeriodSeconds: 2,
},
},
ReadinessProbe: &corev1.Probe{
ReadinessProbe: &corev1.Probe{
@@ -321,7 +321,7 @@ func createDeployment(environment, hash string) *appv1.Deployment {
@@ -321,7 +321,7 @@ func createDeployment(environment, hash string) *appv1.Deployment {
Port: intstr.IntOrString{IntVal: 8080},
Port: intstr.IntOrString{IntVal: 8080},
},
},
},
},
InitialDelaySeconds: 120,
InitialDelaySeconds: 10,
PeriodSeconds: 2,
PeriodSeconds: 2,
},
},
ImagePullPolicy: "Always",
ImagePullPolicy: "Always",
Loading