8a28e892f20c8e0abd2031f1507069ed91c50df0
[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.2.1
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 # Demo configuration
39 # Nexus demo artifact version.  Maps to GLOBAL_INJECTED_ARTIFACTS_VERSION
40 demoArtifactsVersion: "1.2.0-SNAPSHOT"
41 # Openstack medium sized flavour name.  Maps GLOBAL_INJECTED_VM_FLAVOR
42 openStackFlavourMedium: "m1.medium"
43 # Openstack keystone URL.  Maps to GLOBAL_INJECTED_KEYSTONE
44 openStackKeyStoneUrl: "http://1.2.3.4:5000"
45 # UUID of the Openstack network that can assign floating ips.  Maps to GLOBAL_INJECTED_PUBLIC_NET_ID
46 openStackPublicNetId: "e8f51958045716781ffc"
47 # password for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_PASSWORD
48 openStackPassword: "tenantPassword"
49 # Openstack region.  Maps to GLOBAL_INJECTED_REGION
50 openStackRegion: "RegionOne"
51 # Openstack tenant UUID where VNFs will be spawned. Maps to GLOBAL_INJECTED_OPENSTACK_TENANT_ID
52 openStackTenantId: "47899782ed714295b1151681fdfd51f5"
53 # username for Openstack tenant where VNFs will be spawned.  Maps to GLOBAL_INJECTED_OPENSTACK_USERNAME
54 openStackUserName: "tenantUsername"
55 # Openstack glance image name for Ubuntu 14.  Maps to GLOBAL_INJECTED_UBUNTU_1404_IMAGE
56 ubuntu14Image: "Ubuntu_14_trusty"
57 # Openstack glance image name for Ubuntu 16.  Maps to GLOBAL_INJECTED_UBUNTU_1604_IMAGE
58 ubuntu16Image: "Ubuntu_16_xenial"
59 # GLOBAL_INJECTED_SCRIPT_VERSION.  Maps to GLOBAL_INJECTED_SCRIPT_VERSION
60 scriptVersion: "1.2.0-SNAPSHOT"
61 # Openstack network to which VNFs will bind their primary (first) interface.  Maps to GLOBAL_INJECTED_NETWORK
62 openStackPrivateNetId: "e8f51956-00dd-4425-af36-045716781ffc"
63
64 # SDNC Preload configuration
65 # Openstack subnet UUID for the network defined by openStackPrivateNetId.  Maps to onap_private_subnet_id
66 openStackPrivateSubnetId: "e8f51956-00dd-4425-af36-045716781ffc"
67 # CIDR notation for the Openstack private network where VNFs will be spawned.  Maps to onap_private_net_cidr
68 openStackPrivateNetCidr: "10.0.0.0/8"
69 # The first 2 octets of the private Openstack subnet where VNFs will be spawned.
70 # Needed because sdnc preload templates hardcodes things like this 10.0.${ecompnet}.X
71 openStackOamNetworkCidrPrefix: "10.0"
72 # Override with Pub Key for access to VNF
73 vnfPubKey: "FILL_IN_WITH_PUB_KEY"
74 # Override with DCAE VES Collector external IP
75 dcaeCollectorIp: "FILL_IN_WITH_DCAE_VES_COLLECTOR_IP"
76
77 # default number of instances
78 replicaCount: 1
79
80 nodeSelector: {}
81
82 affinity: {}
83
84 # probe configuration parameters
85 liveness:
86   initialDelaySeconds: 10
87   periodSeconds: 10
88   # necessary to disable liveness probe when setting breakpoints
89   # in debugger so K8s doesn't restart unresponsive container
90   enabled: true
91
92 readiness:
93   initialDelaySeconds: 10
94   periodSeconds: 10
95
96
97 service:
98   name: robot
99   type: NodePort
100   portName: httpd
101   externalPort: 88
102   internalPort: 88
103   nodePort: "09"
104
105
106 ingress:
107   enabled: false
108
109
110 resources: {}
111   # We usually recommend not to specify default resources and to leave this as a conscious
112   # choice for the user. This also increases chances charts run on environments with little
113   # resources, such as Minikube. If you do want to specify resources, uncomment the following
114   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
115   #
116   # Example:
117   # Configure resource requests and limits
118   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
119   # Minimum memory for development is 2 CPU cores and 4GB memory
120   # Minimum memory for production is 4 CPU cores and 8GB memory
121 #resources:
122 #  limits:
123 #    cpu: 2
124 #    memory: 4Gi
125 #  requests:
126 #    cpu: 2
127 #    memory: 4Gi
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