summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/components/multicloud-pike
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-pike
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-pike')
-rw-r--r--kubernetes/multicloud/components/multicloud-pike/resources/config/log/log.yml12
-rw-r--r--kubernetes/multicloud/components/multicloud-pike/templates/deployment.yaml3
-rw-r--r--kubernetes/multicloud/components/multicloud-pike/values.yaml5
3 files changed, 15 insertions, 5 deletions
diff --git a/kubernetes/multicloud/components/multicloud-pike/resources/config/log/log.yml b/kubernetes/multicloud/components/multicloud-pike/resources/config/log/log.yml
index e740dccce3..9c82852f79 100644
--- a/kubernetes/multicloud/components/multicloud-pike/resources/config/log/log.yml
+++ b/kubernetes/multicloud/components/multicloud-pike/resources/config/log/log.yml
@@ -18,20 +18,24 @@ disable_existing_loggers: False
loggers:
pike:
- handlers: [pike_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
newton_base:
- handlers: [pike_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
common:
- handlers: [pike_handler]
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
handlers:
- pike_handler:
+ console_handler:
+ level: "DEBUG"
+ class: "logging.StreamHandler"
+ formatter: "standard"
+ file_handler:
level: "DEBUG"
class: "logging.handlers.RotatingFileHandler"
filename: "/var/log/onap/multicloud/openstack/pike/pike.log"
diff --git a/kubernetes/multicloud/components/multicloud-pike/templates/deployment.yaml b/kubernetes/multicloud/components/multicloud-pike/templates/deployment.yaml
index ebebaace3c..a802cb1466 100644
--- a/kubernetes/multicloud/components/multicloud-pike/templates/deployment.yaml
+++ b/kubernetes/multicloud/components/multicloud-pike/templates/deployment.yaml
@@ -89,6 +89,9 @@ spec:
{{ end }}
# side car containers
{{ include "common.log.sidecar" . | nindent 5 }}
+ - 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: pike-log
diff --git a/kubernetes/multicloud/components/multicloud-pike/values.yaml b/kubernetes/multicloud/components/multicloud-pike/values.yaml
index 45c73099dd..7b606a5492 100644
--- a/kubernetes/multicloud/components/multicloud-pike/values.yaml
+++ b/kubernetes/multicloud/components/multicloud-pike/values.yaml
@@ -22,7 +22,7 @@ global:
# Application configuration defaults.
#################################################################
# application image
-image: onap/multicloud/openstack-pike:1.5.6
+image: onap/multicloud/openstack-pike:1.5.7
pullPolicy: Always
#Istio sidecar injection policy
@@ -87,6 +87,9 @@ resources:
memory: 2Gi
unlimited: {}
+# memcached image resource
+memcached: memcached:alpine3.15
+
#Pods Service Account
serviceAccount:
nameOverride: multicloud-pike