diff options
author | rui hu <hu.rui2@zte.com.cn> | 2018-08-04 02:07:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-04 02:07:11 +0000 |
commit | f2895bdfbff1a7c40dd7c247dcefcc19d43dcde0 (patch) | |
tree | 5c9a0d19699fa4d04053a632229b50548a630c64 | |
parent | 2e1285bba8596f5e3a7a1d79ea79219fc9721030 (diff) | |
parent | 69eec44c775060de6fc84220dd5a90c81c211725 (diff) |
Merge "Fix multicloud deployment contianerPort issue"
-rw-r--r-- | kubernetes/multicloud/charts/multicloud-vio/templates/deployment.yaml | 3 |
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 }} |