Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | readinessRepository: oomk8s |
| 21 | readinessImage: readiness-check:2.0.0 |
| 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 28 | flavor: small |
| 29 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 30 | # application image |
| 31 | repository: nexus3.onap.org:10001 |
Taka Cho | 3b5cc53 | 2019-05-08 15:32:14 -0400 | [diff] [blame] | 32 | image: onap/ccsdk-ansible-server-image:0.4.2 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # application configuration |
| 39 | config: |
Taka Cho | 7275985 | 2019-06-26 13:51:46 -0400 | [diff] [blame] | 40 | ansibleUid: 100 |
| 41 | ansibleGid: 101 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 42 | appcChartName: appc |
| 43 | mysqlServiceName: appc-dbhost |
Aaron Hay | 0fc9076 | 2019-03-20 19:48:42 -0400 | [diff] [blame] | 44 | configDir: /opt/onap/ccsdk |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 45 | |
| 46 | # default number of instances |
| 47 | replicaCount: 1 |
| 48 | |
| 49 | nodeSelector: {} |
| 50 | |
| 51 | affinity: {} |
| 52 | |
| 53 | # probe configuration parameters |
| 54 | liveness: |
| 55 | initialDelaySeconds: 180 |
| 56 | periodSeconds: 10 |
| 57 | # necessary to disable liveness probe when setting breakpoints |
| 58 | # in debugger so K8s doesn't restart unresponsive container |
| 59 | enabled: true |
| 60 | |
| 61 | readiness: |
| 62 | initialDelaySeconds: 60 |
| 63 | periodSeconds: 10 |
| 64 | |
| 65 | service: |
| 66 | type: ClusterIP |
| 67 | name: appc-ansible-server |
| 68 | portName: appc-ansible-server |
| 69 | internalPort: 8000 |
| 70 | externalPort: 8000 |
Aaron Hay | 0fc9076 | 2019-03-20 19:48:42 -0400 | [diff] [blame] | 71 | nfsprovisionerPrefix: appc |
| 72 | disableNfsProvisioner: true |
| 73 | |
| 74 | ## Persist data to a persitent volume |
| 75 | persistence: |
| 76 | enabled: true |
| 77 | |
| 78 | ## A manually managed Persistent Volume and Claim |
| 79 | ## Requires persistence.enabled: true |
| 80 | ## If defined, PVC must be created manually before volume will be bound |
| 81 | # existingClaim: |
| 82 | volumeReclaimPolicy: Retain |
| 83 | |
| 84 | ## database data Persistent Volume Storage Class |
| 85 | ## If defined, storageClassName: <storageClass> |
| 86 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 87 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 88 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 89 | ## GKE, AWS & OpenStack) |
| 90 | accessMode: ReadWriteMany |
| 91 | size: 1Gi |
| 92 | mountPath: /dockerdata-nfs |
| 93 | mountSubPath: appc/ansible |
Taka Cho | 7275985 | 2019-06-26 13:51:46 -0400 | [diff] [blame] | 94 | playbookPath: /home/ansible |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 95 | |
| 96 | ingress: |
| 97 | enabled: false |
| 98 | |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 99 | resources: |
| 100 | small: |
| 101 | limits: |
| 102 | cpu: 1 |
| 103 | memory: 1Gi |
| 104 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 105 | cpu: 0.5 |
| 106 | memory: 0.5Mi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 107 | large: |
| 108 | limits: |
| 109 | cpu: 2 |
| 110 | memory: 2Gi |
| 111 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 112 | cpu: 1 |
| 113 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 114 | unlimited: {} |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 115 | |
| 116 | |