zhaoyh6 | 530095f | 2021-11-10 17:16:19 +0800 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
| 3 | # Copyright (c) 2021 AT&T. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | # Global values |
| 19 | global: |
| 20 | pullPolicy: Always |
| 21 | persistence: {} |
zhaoyh6 | a3bf78b | 2022-03-23 14:03:04 +0800 | [diff] [blame] | 22 | image: onap/usecase-ui-nlp:1.0.3 |
zhaoyh6 | 530095f | 2021-11-10 17:16:19 +0800 | [diff] [blame] | 23 | |
| 24 | uui-nlp: |
| 25 | enabled: true |
| 26 | |
| 27 | flavor: large |
| 28 | |
| 29 | onLinePort: &online_port 33011 |
| 30 | offLinePort: &offline_port 33012 |
| 31 | uploadPort: &upload_port 33013 |
| 32 | |
| 33 | # service configuration |
| 34 | service: |
| 35 | internalPort: 33013 |
| 36 | type: ClusterIP |
| 37 | name: uui-nlp |
| 38 | ports: |
| 39 | - name: http-online |
| 40 | port: *online_port |
| 41 | - name: http-offline |
| 42 | port: *offline_port |
| 43 | - name: http-upload |
| 44 | port: *upload_port |
| 45 | |
| 46 | |
| 47 | liveness: |
| 48 | initialDelaySeconds: 300 |
| 49 | periodSeconds: 30 |
| 50 | enabled: true |
| 51 | |
| 52 | readiness: |
| 53 | initialDelaySeconds: 300 |
| 54 | periodSeconds: 10 |
| 55 | |
| 56 | # Below parameter should match setting in all clients |
| 57 | # including contrib\tools\registry-initialize.sh |
| 58 | # which does preload |
| 59 | #registryCred: |
| 60 | # username: onapinitializer |
| 61 | # password: demo123456! |
| 62 | |
| 63 | # Parameters for persistent storage |
| 64 | persistence: |
| 65 | enabled: true |
| 66 | accessMode: ReadWriteOnce |
| 67 | size: 4Gi |
| 68 | mountPath: /dockerdata-nfs |
| 69 | mountSubPath: uui-nlp |
| 70 | volumeReclaimPolicy: Retain |
| 71 | |
| 72 | serviceAccount: |
| 73 | nameOverride: uui-nlp |
| 74 | roles: |
| 75 | - read |
| 76 | |
| 77 | securityContext: |
| 78 | user_id: 1000 |
| 79 | group_id: 1000 |
| 80 | |
| 81 | resources: |
| 82 | small: |
| 83 | limits: |
| 84 | cpu: 1 |
| 85 | memory: 1Gi |
| 86 | requests: |
| 87 | cpu: 0.5 |
| 88 | memory: 512Mi |
| 89 | large: |
| 90 | limits: |
| 91 | cpu: 2 |
| 92 | memory: 2Gi |
| 93 | requests: |
| 94 | cpu: 1 |
| 95 | memory: 1Gi |
| 96 | unlimited: {} |