blob: 6c280965f1d865447c55bebafcd2d89e23de6546 [file] [log] [blame]
zhaoyh6530095f2021-11-10 17:16:19 +08001#============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
19global:
20 pullPolicy: Always
21 persistence: {}
kaixiliu3a837082023-06-15 15:54:40 +080022image: onap/usecase-ui-nlp:1.0.5
zhaoyh6530095f2021-11-10 17:16:19 +080023
24uui-nlp:
25 enabled: true
26
27flavor: large
28
29onLinePort: &online_port 33011
30offLinePort: &offline_port 33012
31uploadPort: &upload_port 33013
32
33# service configuration
34service:
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
47liveness:
48 initialDelaySeconds: 300
49 periodSeconds: 30
50 enabled: true
51
52readiness:
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
64persistence:
65 enabled: true
66 accessMode: ReadWriteOnce
67 size: 4Gi
68 mountPath: /dockerdata-nfs
69 mountSubPath: uui-nlp
70 volumeReclaimPolicy: Retain
71
72serviceAccount:
73 nameOverride: uui-nlp
74 roles:
75 - read
76
77securityContext:
78 user_id: 1000
79 group_id: 1000
80
81resources:
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: {}