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 |
Gary Wu | e2449eb | 2018-11-07 09:29:24 -0800 | [diff] [blame] | 34 | image: onap/appc-image:1.4.0 |
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: |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 42 | ansibleServiceName: appc-ansible-server |
| 43 | ansiblePort: 8000 |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 44 | mariadbRootPassword: secretpassword |
| 45 | userName: my-user |
| 46 | userPassword: my-password |
| 47 | mysqlDatabase: my-database |
| 48 | mariadbGaleraSVCName: appc-dbhost |
| 49 | mariadbGaleraContName: appc-db |
Aaron Hay | a11a92a | 2018-10-29 14:17:02 -0400 | [diff] [blame] | 50 | enableAAF: true |
| 51 | enableClustering: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 52 | configDir: /opt/onap/appc/data/properties |
| 53 | dmaapTopic: SUCCESS |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 54 | logstashServiceName: log-ls |
| 55 | logstashPort: 5044 |
Aaron Hay | 850bec0 | 2018-11-03 06:43:29 -0400 | [diff] [blame] | 56 | odlPassword: demo123456! |
Aaron Hay | ef1a0ec | 2018-04-30 01:25:41 -0400 | [diff] [blame] | 57 | openStackType: OpenStackProvider |
| 58 | openStackName: OpenStack |
| 59 | openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html |
| 60 | openStackServiceTenantName: default |
| 61 | openStackDomain: default |
| 62 | openStackUserName: admin |
| 63 | openStackEncryptedPassword: admin |
Aaron Hay | 850bec0 | 2018-11-03 06:43:29 -0400 | [diff] [blame] | 64 | odlUser: appc@appc.onap.org |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 65 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 66 | appc-ansible-server: |
| 67 | service: |
| 68 | name: appc-ansible-server |
| 69 | internalPort: 8000 |
| 70 | config: |
| 71 | mysqlServiceName: appc-dbhost |
| 72 | |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 73 | mariadb-galera: |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 74 | nameOverride: appc-db |
| 75 | service: |
| 76 | name: appc-dbhost |
Mike Elliott | 4a9f435 | 2018-09-13 09:47:13 -0400 | [diff] [blame] | 77 | portName: appc-dbhost |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 78 | nfsprovisionerPrefix: appc |
| 79 | sdnctlPrefix: appc |
| 80 | persistence: |
| 81 | mountSubPath: appc/data |
| 82 | enabled: true |
| 83 | disableNfsProvisioner: true |
| 84 | |
| 85 | dgbuilder: |
| 86 | nameOverride: appc-dgbuilder |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 87 | config: |
| 88 | dbPodName: appc-db |
| 89 | dbServiceName: appc-dbhost |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 90 | service: |
| 91 | name: appc-dgbuilder |
mayankg2703 | 41a6614 | 2018-06-06 07:53:35 +0000 | [diff] [blame] | 92 | |
| 93 | #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3. |
Patrick Brady | 1a62b66 | 2018-05-30 10:56:46 -0700 | [diff] [blame] | 94 | appc-cdt: |
mayankg2703 | 41a6614 | 2018-06-06 07:53:35 +0000 | [diff] [blame] | 95 | nodePort3: 11 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 96 | # default number of instances |
Roger Maitland | 6a06997 | 2018-05-09 18:23:58 -0400 | [diff] [blame] | 97 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 98 | |
| 99 | nodeSelector: {} |
| 100 | |
| 101 | affinity: {} |
| 102 | |
| 103 | # probe configuration parameters |
| 104 | liveness: |
| 105 | initialDelaySeconds: 10 |
| 106 | periodSeconds: 10 |
| 107 | # necessary to disable liveness probe when setting breakpoints |
| 108 | # in debugger so K8s doesn't restart unresponsive container |
| 109 | enabled: true |
| 110 | |
| 111 | readiness: |
| 112 | initialDelaySeconds: 10 |
| 113 | periodSeconds: 10 |
| 114 | |
| 115 | service: |
| 116 | type: NodePort |
| 117 | name: appc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 118 | portName: appc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 119 | #targetPort |
| 120 | internalPort: 8181 |
| 121 | #port |
| 122 | externalPort: 8282 |
| 123 | nodePort: 30 |
| 124 | |
| 125 | externalPort2: 1830 |
| 126 | nodePort2: 31 |
| 127 | clusterPort: 2550 |
| 128 | |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 129 | internalPort3: 9191 |
| 130 | externalPort3: 9090 |
Mike Elliott | fc816f6 | 2018-05-30 16:30:46 -0400 | [diff] [blame] | 131 | nodePort3: 11 |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 132 | |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 133 | ## Persist data to a persitent volume |
| 134 | persistence: |
| 135 | enabled: true |
| 136 | |
| 137 | ## A manually managed Persistent Volume and Claim |
| 138 | ## Requires persistence.enabled: true |
| 139 | ## If defined, PVC must be created manually before volume will be bound |
| 140 | # existingClaim: |
| 141 | volumeReclaimPolicy: Retain |
| 142 | |
| 143 | ## database data Persistent Volume Storage Class |
| 144 | ## If defined, storageClassName: <storageClass> |
| 145 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 146 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 147 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 148 | ## GKE, AWS & OpenStack) |
| 149 | accessMode: ReadWriteOnce |
| 150 | size: 1Gi |
| 151 | mountPath: /dockerdata-nfs |
| 152 | mountSubPath: appc/mdsal |
| 153 | mdsalPath: /opt/opendaylight/current/daexim |
| 154 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 155 | ingress: |
| 156 | enabled: false |
| 157 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 158 | # Configure resource requests and limits |
| 159 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 160 | resources: |
| 161 | small: |
| 162 | limits: |
| 163 | cpu: 2 |
| 164 | memory: 4Gi |
| 165 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 166 | cpu: 1 |
| 167 | memory: 2Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 168 | large: |
| 169 | limits: |
| 170 | cpu: 4 |
| 171 | memory: 8Gi |
| 172 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 173 | cpu: 2 |
| 174 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 175 | unlimited: {} |