Merge "Update APPC resources for Nitrogen ODL"
[oom.git] / kubernetes / appc / 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:
19   nodePortPrefix: 302
20   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   persistence:
26     mountPath: /dockerdata-nfs
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/appc-image:1.3.0-SNAPSHOT-latest
34 pullPolicy: Always
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 config:
41   dbRootPassword: openECOMP1.0
42   enableClustering: true
43   configDir: /opt/onap/appc/data/properties
44   dmaapTopic: SUCCESS
45   logstashServiceName: log-ls
46   logstashPort: 5044
47   openStackType: OpenStackProvider
48   openStackName: OpenStack
49   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
50   openStackServiceTenantName: default
51   openStackDomain: default
52   openStackUserName: admin
53   openStackEncryptedPassword: admin
54
55 mysql:
56   nameOverride: appc-db
57   service:
58     name: appc-dbhost
59   nfsprovisionerPrefix: appc
60   sdnctlPrefix: appc
61   persistence:
62     mountSubPath: appc/data
63     enabled: true
64   disableNfsProvisioner: true
65
66 dgbuilder:
67   nameOverride: appc-dgbuilder
68   config:
69     dbPodName: appc-db
70     dbServiceName: appc-dbhost
71   service:
72     name: appc-dgbuilder
73
74 # default number of instances
75 replicaCount: 3
76
77 nodeSelector: {}
78
79 affinity: {}
80
81 # probe configuration parameters
82 liveness:
83   initialDelaySeconds: 10
84   periodSeconds: 10
85   # necessary to disable liveness probe when setting breakpoints
86   # in debugger so K8s doesn't restart unresponsive container
87   enabled: true
88
89 readiness:
90   initialDelaySeconds: 10
91   periodSeconds: 10
92
93 service:
94   type: NodePort
95   name: appc
96   portName: appc
97   #targetPort
98   internalPort: 8181
99   #port
100   externalPort: 8282
101   nodePort: 30
102
103   externalPort2: 1830
104   nodePort2: 31
105   clusterPort: 2550
106
107 ## Persist data to a persitent volume
108 persistence:
109   enabled: true
110
111   ## A manually managed Persistent Volume and Claim
112   ## Requires persistence.enabled: true
113   ## If defined, PVC must be created manually before volume will be bound
114   # existingClaim:
115   volumeReclaimPolicy: Retain
116
117   ## database data Persistent Volume Storage Class
118   ## If defined, storageClassName: <storageClass>
119   ## If set to "-", storageClassName: "", which disables dynamic provisioning
120   ## If undefined (the default) or set to null, no storageClassName spec is
121   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
122   ##   GKE, AWS & OpenStack)
123   accessMode: ReadWriteOnce
124   size: 1Gi
125   mountPath: /dockerdata-nfs
126   mountSubPath: appc/mdsal
127   mdsalPath: /opt/opendaylight/current/daexim
128
129 ingress:
130   enabled: false
131
132 resources: {}
133   # We usually recommend not to specify default resources and to leave this as a conscious
134   # choice for the user. This also increases chances charts run on environments with little
135   # resources, such as Minikube. If you do want to specify resources, uncomment the following
136   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
137   #
138   # Example:
139   # Configure resource requests and limits
140   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
141   # Minimum memory for development is 2 CPU cores and 4GB memory
142   # Minimum memory for production is 4 CPU cores and 8GB memory
143 #resources:
144 #  limits:
145 #    cpu: 2
146 #    memory: 4Gi
147 #  requests:
148 #    cpu: 2
149 #    memory: 4Gi