diff --git a/devops/azure/chart/templates/deployment.yaml b/devops/azure/chart/templates/deployment.yaml index 6dd2f3fef7cd0f31b5468a6b0571c335437d1e5d..24dad2db944c19c9ef5e298814cd61f20be36644 100644 --- a/devops/azure/chart/templates/deployment.yaml +++ b/devops/azure/chart/templates/deployment.yaml @@ -60,11 +60,6 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" ports: - containerPort: 8080 - # This preStop hook has been added as a temporary workaround to minimize downtime during deployments until this limitation is addressed at the AGIC level - lifecycle: - preStop: - exec: - command: ["sleep", "15"] envFrom: - configMapRef: name: {{ .Values.configMap.name }}{{ $nameSuffix }} @@ -107,4 +102,4 @@ spec: path: {{ include "os-wellbore-ddms.prefix" . }}/healthz port: 8080 {{ toYaml .Values.probes.readiness | nindent 10 }} - terminationGracePeriodSeconds: 45 +