summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/components/multicloud-fcaps
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2022-03-22 16:08:22 +0800
committerLukasz Rajewski <lukasz.rajewski@orange.com>2022-04-07 06:15:41 +0000
commitdf4fc03d8540b4c1ee10b440b4f7d5b20d8e2685 (patch)
tree2d95add76358879eb4b5556eb4d84fcb287dd607 /kubernetes/multicloud/components/multicloud-fcaps
parent80ecc51e71a0734fff065f4f823144755acd0a3b (diff)
[MULTICLOUD] Changes for Jakarta release
Rebase and remove packages which has GPLv3 dependency issue Update log to redirect to stdout Issue-ID: MULTICLOUD-1224 Issue-ID: MULTICLOUD-1450 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: Id850bbe9cd51a4bce6eb0fe0cfc8274b04acf41e
Diffstat (limited to 'kubernetes/multicloud/components/multicloud-fcaps')
-rw-r--r--kubernetes/multicloud/components/multicloud-fcaps/resources/config/log/log.yml12
-rw-r--r--kubernetes/multicloud/components/multicloud-fcaps/templates/deployment.yaml3
-rw-r--r--kubernetes/multicloud/components/multicloud-fcaps/values.yaml5
3 files changed, 15 insertions, 5 deletions
diff --git a/kubernetes/multicloud/components/multicloud-fcaps/resources/config/log/log.yml b/kubernetes/multicloud/components/multicloud-fcaps/resources/config/log/log.yml
index fe2eb68a3e..889dabeb73 100644
--- a/kubernetes/multicloud/components/multicloud-fcaps/resources/config/log/log.yml
+++ b/kubernetes/multicloud/components/multicloud-fcaps/resources/config/log/log.yml
@@ -18,20 +18,24 @@ disable_existing_loggers: False
loggers:
fcaps:
- handlers: [fcaps_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
newton_base:
- handlers: [fcaps_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
common:
- handlers: [fcaps_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
handlers:
- fcaps_handler:
+ console_handler:
+ level: "DEBUG"
+ class: "logging.StreamHandler"
+ formatter: "standard"
+ file_handler:
level: "DEBUG"
class: "logging.handlers.RotatingFileHandler"
filename: "/var/log/onap/multicloud/openstack/fcaps/fcaps.log"
diff --git a/kubernetes/multicloud/components/multicloud-fcaps/templates/deployment.yaml b/kubernetes/multicloud/components/multicloud-fcaps/templates/deployment.yaml
index fc46a65052..f71255bc5f 100644
--- a/kubernetes/multicloud/components/multicloud-fcaps/templates/deployment.yaml
+++ b/kubernetes/multicloud/components/multicloud-fcaps/templates/deployment.yaml
@@ -90,6 +90,9 @@ spec:
- image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.rabbitmq }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: rabbit-mq
+ - image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.memcached }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ name: memcached
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: fcaps-log
diff --git a/kubernetes/multicloud/components/multicloud-fcaps/values.yaml b/kubernetes/multicloud/components/multicloud-fcaps/values.yaml
index b664498eb8..21be9d38cb 100644
--- a/kubernetes/multicloud/components/multicloud-fcaps/values.yaml
+++ b/kubernetes/multicloud/components/multicloud-fcaps/values.yaml
@@ -22,7 +22,7 @@ global:
# Application configuration defaults.
#################################################################
# application image
-image: onap/multicloud/openstack-fcaps:1.5.6
+image: onap/multicloud/openstack-fcaps:1.5.7
pullPolicy: Always
#Istio sidecar injection policy
@@ -90,6 +90,9 @@ resources:
# rabbit-mq image resource
rabbitmq: rabbitmq:alpine
+# memcached image resource
+memcached: memcached:alpine3.15
+
#Pods Service Account
serviceAccount:
nameOverride: multicloud-fcaps