Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 1 | # Copyright (c) 2018 Intel Corporation. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Bin Yang | df4fc03 | 2022-03-22 16:08:22 +0800 | [diff] [blame] | 25 | image: onap/multicloud/openstack-pike:1.5.7 |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 28 | # application configuration |
| 29 | config: |
| 30 | msbgateway: msb-iag |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 31 | msbPort: 80 |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 32 | aai: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 33 | aaiPort: 80 |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 34 | schemaVersion: v13 |
| 35 | username: AAI |
| 36 | password: AAI |
| 37 | |
| 38 | # default number of instances |
| 39 | replicaCount: 1 |
| 40 | |
| 41 | nodeSelector: {} |
| 42 | |
| 43 | affinity: {} |
| 44 | |
| 45 | # probe configuration parameters |
| 46 | liveness: |
| 47 | initialDelaySeconds: 30 |
| 48 | periodSeconds: 10 |
| 49 | timeoutSeconds: 10 |
| 50 | successThreshold: 1 |
| 51 | failureThreshold: 5 |
| 52 | enabled: true |
| 53 | |
| 54 | service: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 55 | type: NodePort |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 56 | internalPort: 9007 |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 57 | ports: |
| 58 | - name: http |
| 59 | port: 9007 |
| 60 | nodePort: '96' |
| 61 | annotations: |
| 62 | msb.onap.org/service-info: | |
| 63 | {{ if .Values.global.msbEnabled -}}[ |
| 64 | { |
| 65 | "serviceName": "multicloud-pike", |
| 66 | "version": "v0", |
| 67 | "url": "/api/multicloud-pike/v0", |
| 68 | "protocol": "REST", |
| 69 | "port": "{{ .Values.service.internalPort }}", |
| 70 | "enable_ssl": false, |
| 71 | "visualRange": "1" |
| 72 | }, |
| 73 | { |
| 74 | "serviceName": "multicloud-pike", |
| 75 | "version": "v1", |
| 76 | "url": "/api/multicloud-pike/v1", |
| 77 | "protocol": "REST", |
| 78 | "port": "{{ .Values.service.internalPort }}", |
| 79 | "enable_ssl": false, |
| 80 | "visualRange": "1" |
| 81 | } |
| 82 | ]{{ end }} |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 83 | |
| 84 | ingress: |
| 85 | enabled: false |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 86 | service: |
| 87 | - baseaddr: 'multicloud-pike-api' |
| 88 | name: 'multicloud-pike' |
| 89 | port: 9007 |
Huang Haibin | 5978c46 | 2018-09-28 10:24:46 +0800 | [diff] [blame] | 90 | |
| 91 | # Resource Limit flavor -By Default using small |
| 92 | flavor: small |
| 93 | # Segregation for Different environment (Small and Large) |
| 94 | resources: |
| 95 | small: |
| 96 | limits: |
| 97 | cpu: 1 |
| 98 | memory: 4Gi |
| 99 | requests: |
| 100 | cpu: 10m |
| 101 | memory: 1Gi |
| 102 | large: |
| 103 | limits: |
| 104 | cpu: 2 |
| 105 | memory: 8Gi |
| 106 | requests: |
| 107 | cpu: 20m |
| 108 | memory: 2Gi |
| 109 | unlimited: {} |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 110 | |
Bin Yang | df4fc03 | 2022-03-22 16:08:22 +0800 | [diff] [blame] | 111 | # memcached image resource |
| 112 | memcached: memcached:alpine3.15 |
| 113 | |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 114 | #Pods Service Account |
| 115 | serviceAccount: |
| 116 | nameOverride: multicloud-pike |
| 117 | roles: |
| 118 | - read |
Maciej Wereski | 989c91c | 2021-11-17 16:45:14 +0100 | [diff] [blame] | 119 | |
| 120 | #Log configuration |
| 121 | log: |
| 122 | path: /var/log/onap |
| 123 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |