Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 25 | persistence: |
| 26 | mountPath: /dockerdata-nfs |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Application configuration defaults. |
| 30 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 31 | flavor: small |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 32 | # application image |
| 33 | repository: nexus3.onap.org:10001 |
Taka Cho | 056785c | 2019-09-13 12:02:53 -0400 | [diff] [blame^] | 34 | image: onap/appc-image:1.6.3 |
kerenj | 6ca15a7 | 2017-08-23 12:05:23 +0000 | [diff] [blame] | 35 | pullPolicy: Always |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 36 | |
| 37 | # flag to enable debugging - application support required |
| 38 | debugEnabled: false |
| 39 | |
| 40 | # application configuration |
| 41 | config: |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 42 | odlUid: 100 |
| 43 | odlGid: 101 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 44 | ansibleServiceName: appc-ansible-server |
| 45 | ansiblePort: 8000 |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 46 | mariadbRootPassword: secretpassword |
| 47 | userName: my-user |
| 48 | userPassword: my-password |
| 49 | mysqlDatabase: my-database |
| 50 | mariadbGaleraSVCName: appc-dbhost |
| 51 | mariadbGaleraContName: appc-db |
Aaron Hay | a11a92a | 2018-10-29 14:17:02 -0400 | [diff] [blame] | 52 | enableAAF: true |
| 53 | enableClustering: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 54 | configDir: /opt/onap/appc/data/properties |
| 55 | dmaapTopic: SUCCESS |
Aaron Hay | afb0a09 | 2018-11-19 17:52:59 -0500 | [diff] [blame] | 56 | dmaapTopicEnv: AUTO |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 57 | logstashServiceName: log-ls |
| 58 | logstashPort: 5044 |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 59 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Aaron Hay | ef1a0ec | 2018-04-30 01:25:41 -0400 | [diff] [blame] | 60 | openStackType: OpenStackProvider |
| 61 | openStackName: OpenStack |
| 62 | openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html |
| 63 | openStackServiceTenantName: default |
| 64 | openStackDomain: default |
| 65 | openStackUserName: admin |
Joss Armstrong | 32e9002 | 2018-12-17 13:16:57 +0000 | [diff] [blame] | 66 | openStackEncryptedPassword: enc:LDEbHEAvTF1R |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 67 | odlUser: admin |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 68 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 69 | appc-ansible-server: |
| 70 | service: |
| 71 | name: appc-ansible-server |
| 72 | internalPort: 8000 |
| 73 | config: |
| 74 | mysqlServiceName: appc-dbhost |
| 75 | |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 76 | mariadb-galera: |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 77 | nameOverride: appc-db |
| 78 | service: |
| 79 | name: appc-dbhost |
Mike Elliott | 4a9f435 | 2018-09-13 09:47:13 -0400 | [diff] [blame] | 80 | portName: appc-dbhost |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 81 | nfsprovisionerPrefix: appc |
| 82 | sdnctlPrefix: appc |
| 83 | persistence: |
| 84 | mountSubPath: appc/data |
| 85 | enabled: true |
| 86 | disableNfsProvisioner: true |
| 87 | |
| 88 | dgbuilder: |
| 89 | nameOverride: appc-dgbuilder |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 90 | config: |
| 91 | dbPodName: appc-db |
| 92 | dbServiceName: appc-dbhost |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 93 | service: |
| 94 | name: appc-dgbuilder |
mayankg2703 | 41a6614 | 2018-06-06 07:53:35 +0000 | [diff] [blame] | 95 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 96 | #passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4. |
Patrick Brady | 1a62b66 | 2018-05-30 10:56:46 -0700 | [diff] [blame] | 97 | appc-cdt: |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 98 | nodePort4: 11 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 99 | # default number of instances |
Roger Maitland | 6a06997 | 2018-05-09 18:23:58 -0400 | [diff] [blame] | 100 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 101 | |
| 102 | nodeSelector: {} |
| 103 | |
| 104 | affinity: {} |
| 105 | |
| 106 | # probe configuration parameters |
| 107 | liveness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 108 | initialDelaySeconds: 300 |
| 109 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 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: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 115 | initialDelaySeconds: 300 |
| 116 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 117 | |
| 118 | service: |
| 119 | type: NodePort |
| 120 | name: appc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 121 | portName: appc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 122 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 123 | internalPort: 8181 |
| 124 | externalPort: 8282 |
| 125 | nodePort: "08" |
| 126 | |
| 127 | internalPort2: 8443 |
| 128 | externalPort2: 8443 |
| 129 | nodePort2: 30 |
| 130 | |
| 131 | externalPort3: 1830 |
| 132 | nodePort3: 31 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 133 | clusterPort: 2550 |
| 134 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 135 | internalPort4: 9191 |
| 136 | externalPort4: 9090 |
| 137 | nodePort4: 11 |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 138 | |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 139 | ## Persist data to a persitent volume |
| 140 | persistence: |
| 141 | enabled: true |
| 142 | |
| 143 | ## A manually managed Persistent Volume and Claim |
| 144 | ## Requires persistence.enabled: true |
| 145 | ## If defined, PVC must be created manually before volume will be bound |
| 146 | # existingClaim: |
| 147 | volumeReclaimPolicy: Retain |
| 148 | |
| 149 | ## database data Persistent Volume Storage Class |
| 150 | ## If defined, storageClassName: <storageClass> |
| 151 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 152 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 153 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 154 | ## GKE, AWS & OpenStack) |
| 155 | accessMode: ReadWriteOnce |
| 156 | size: 1Gi |
| 157 | mountPath: /dockerdata-nfs |
| 158 | mountSubPath: appc/mdsal |
| 159 | mdsalPath: /opt/opendaylight/current/daexim |
| 160 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 161 | ingress: |
| 162 | enabled: false |
| 163 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 164 | # Configure resource requests and limits |
| 165 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 166 | resources: |
| 167 | small: |
| 168 | limits: |
| 169 | cpu: 2 |
| 170 | memory: 4Gi |
| 171 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 172 | cpu: 1 |
| 173 | memory: 2Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 174 | large: |
| 175 | limits: |
| 176 | cpu: 4 |
| 177 | memory: 8Gi |
| 178 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 179 | cpu: 2 |
| 180 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 181 | unlimited: {} |