Merge "Add Resource Limits for APP-C"
[oom.git] / kubernetes / robot / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
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: # global defaults
19   nodePortPrefix: 302
20   ubuntuInitRepository: registry.hub.docker.com
21   persistence: {}
22
23 # application image
24 repository: nexus3.onap.org:10001
25 image: onap/testsuite:1.3.1-STAGING-latest
26 pullPolicy: Always
27
28 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 #################################################################
34 # Application configuration defaults.
35 #################################################################
36 config:
37
38 # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
39   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
40
41 # Demo configuration
42 # Nexus demo artifact version.  Maps to GLOBAL_INJECTED_ARTIFACTS_VERSION
43 demoArtifactsVersion: "1.2.0-SNAPSHOT"
44 # Openstack medium sized flavour name.  Maps GLOBAL_INJECTED_VM_FLAVOR
45 openStackFlavourMedium: "m1.medium"
46 # Openstack keystone URL.  Maps to GLOBAL_INJECTED_KEYSTONE
47 openStackKeyStoneUrl: "http://1.2.3.4:5000"
48 # UUID of the Openstack network that can assign floating ips.  Maps to GLOBAL_INJECTED_PUBLIC_NET_ID
49 openStackPublicNetId: "e8f51958045716781ffc"
50 # password for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD
51 openStackPassword: "tenantPassword"
52 # Openstack region.  Maps to GLOBAL_INJECTED_REGION
53 openStackRegion: "RegionOne"
54 # Openstack tenant UUID where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_TENANT_ID
55 openStackTenantId: "47899782ed714295b1151681fdfd51f5"
56 # username for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME
57 openStackUserName: "tenantUsername"
58 # Openstack glance image name for Ubuntu 14.  Maps to GLOBAL_INJECTED_UBUNTU_1404_IMAGE
59 ubuntu14Image: "Ubuntu_14_trusty"
60 # Openstack glance image name for Ubuntu 16.  Maps to GLOBAL_INJECTED_UBUNTU_1604_IMAGE
61 ubuntu16Image: "Ubuntu_16_xenial"
62 # GLOBAL_INJECTED_SCRIPT_VERSION.  Maps to GLOBAL_INJECTED_SCRIPT_VERSION
63 scriptVersion: "1.2.0-SNAPSHOT"
64 # Openstack network to which VNFs will bind their primary (first) interface.  Maps to GLOBAL_INJECTED_NETWORK
65 openStackPrivateNetId: "e8f51956-00dd-4425-af36-045716781ffc"
66
67 # SDNC Preload configuration
68 # Openstack subnet UUID for the network defined by openStackPrivateNetId.  Maps to onap_private_subnet_id
69 openStackPrivateSubnetId: "e8f51956-00dd-4425-af36-045716781ffc"
70 # CIDR notation for the Openstack private network where VNFs will be spawned.  Maps to onap_private_net_cidr
71 openStackPrivateNetCidr: "10.0.0.0/8"
72 # The first 2 octets of the private Openstack subnet where VNFs will be spawned.
73 # Needed because sdnc preload templates hardcodes things like this 10.0.${ecompnet}.X
74 openStackOamNetworkCidrPrefix: "10.0"
75 # Override with Pub Key for access to VNF
76 vnfPubKey: "FILL_IN_WITH_PUB_KEY"
77 # Override with DCAE VES Collector external IP
78 dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP"
79
80 # default number of instances
81 replicaCount: 1
82
83 nodeSelector: {}
84
85 affinity: {}
86
87 # Resource Limit flavor -By Default using small 
88 flavor: small
89 # Segregation for Different environment (Small and Large)
90 resources:
91   small:
92     limits:
93       cpu: 2000m
94       memory: 4Gi
95     requests:
96       cpu: 500m
97       memory: 1Gi
98   large:
99     limits:
100       cpu: 4000m
101       memory: 8Gi
102     requests:
103       cpu: 1000m
104       memory: 2Gi
105
106 # probe configuration parameters
107 liveness:
108   initialDelaySeconds: 10
109   periodSeconds: 10
110   # necessary to disable liveness probe when setting breakpoints
111   # in debugger so K8s doesn't restart unresponsive container
112   enabled: true
113
114 readiness:
115   initialDelaySeconds: 10
116   periodSeconds: 10
117
118 service:
119   name: robot
120   type: NodePort
121   portName: httpd
122   externalPort: 88
123   internalPort: 88
124   nodePort: "09"
125
126 ingress:
127   enabled: false
128
129 ## Persist data to a persitent volume
130 persistence:
131   enabled: true
132
133   ## A manually managed Persistent Volume and Claim
134   ## Requires persistence.enabled: true
135   ## If defined, PVC must be created manually before volume will be bound
136   # existingClaim:
137   volumeReclaimPolicy: Retain
138
139   ## database data Persistent Volume Storage Class
140   ## If defined, storageClassName: <storageClass>
141   ## If set to "-", storageClassName: "", which disables dynamic provisioning
142   ## If undefined (the default) or set to null, no storageClassName spec is
143   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
144   ##   GKE, AWS & OpenStack)
145   ##
146   # storageClass: "-"
147   accessMode: ReadWriteMany
148   size: 2Gi
149   mountPath: /dockerdata-nfs
150   mountSubPath: robot/logs