diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-08-21 16:10:58 +0800 |
---|---|---|
committer | Yuanhong Deng <dengyuanhong@chinamobile.com> | 2020-08-25 02:09:24 +0000 |
commit | 62038bf0c687794692af685992d8241d922799b6 (patch) | |
tree | 051d4c5eef8f3e4da674800829ebc5212b54c717 /kubernetes/vfc/charts/vfc-redis/templates | |
parent | 62d2c70954fd0902ad554356cd7675732b89ab0c (diff) |
[VFC]Remove the process of mysql in vfc-redis
Two main process in vfc-redis: redis + mysql
Issue-ID: VFC-1727
Change-Id: Ied784a4ff8270d23f3609a7942dbfb8d81e74084
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'kubernetes/vfc/charts/vfc-redis/templates')
-rw-r--r-- | kubernetes/vfc/charts/vfc-redis/templates/deployment.yaml | 1 | ||||
-rw-r--r-- | kubernetes/vfc/charts/vfc-redis/templates/service.yaml | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/kubernetes/vfc/charts/vfc-redis/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-redis/templates/deployment.yaml index 0ed9622d99..9eee5c7f81 100644 --- a/kubernetes/vfc/charts/vfc-redis/templates/deployment.yaml +++ b/kubernetes/vfc/charts/vfc-redis/templates/deployment.yaml @@ -39,7 +39,6 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} ports: - containerPort: {{ .Values.service.internalPort }} - - containerPort: {{ .Values.service.internalPort2 }} # disable liveness probe when breakpoints set in debugger # so K8s doesn't restart unresponsive container {{ if .Values.liveness.enabled }} diff --git a/kubernetes/vfc/charts/vfc-redis/templates/service.yaml b/kubernetes/vfc/charts/vfc-redis/templates/service.yaml index 5f73ac18ff..07c7a91840 100644 --- a/kubernetes/vfc/charts/vfc-redis/templates/service.yaml +++ b/kubernetes/vfc/charts/vfc-redis/templates/service.yaml @@ -30,19 +30,10 @@ spec: targetPort: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - name: {{ .Values.service.portName }}2 - {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - name: {{ .Values.service.portName }}2 - {{- end}} selector: app: {{ include "common.name" . }} |