summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/charts/multicloud-vio/templates
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-08-03 07:31:22 +0000
committerHuabing Zhao <zhaohuabing@gmail.com>2018-08-03 07:31:38 +0000
commit69eec44c775060de6fc84220dd5a90c81c211725 (patch)
tree6c24c6baa2bb62cbc6de0755a550fa026e353209 /kubernetes/multicloud/charts/multicloud-vio/templates
parent408a87d4f67b554bf18cd05ca816ae486567a651 (diff)
Fix multicloud deployment contianerPort issue
It's a tricky workaroud for a possilbe Go template bug Issue-ID: MULTICLOUD-298 Change-Id: I11fe13d6531f9e159a450db8fbf2842a970b86d9 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-vio/templates')
-rw-r--r--kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
index 110d7aab46..6ef2e582b3 100644
--- a/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
+++ b/kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml
@@ -65,6 +65,8 @@ spec:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
- containerPort: {{ .Values.service.internalPort }}
+ # disable liveness probe when breakpoints set in debugger
+ # so K8s doesn't restart unresponsive container
{{- if eq .Values.liveness.enabled true }}
livenessProbe:
httpGet:
@@ -77,7 +79,6 @@ spec:
successThreshold: {{ .Values.liveness.successThreshold }}
failureThreshold: {{ .Values.liveness.failureThreshold }}
{{ end -}}
-
# side car containers
- image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}