toshrajbhardwaj | 84d73b1 | 2018-08-06 07:35:14 +0000 | [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 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for resources. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | f2b4966 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 22 | |
| 23 | |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
Jimmy Forsyth | ef10698 | 2018-06-05 16:17:14 -0400 | [diff] [blame] | 26 | image: onap/aai-resources:1.2.2 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | restartPolicy: Always |
| 29 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 30 | # default number of instances |
| 31 | replicaCount: 1 |
| 32 | |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 33 | # Configuration for the resources deployment |
| 34 | config: |
| 35 | userId: 1000 |
| 36 | groupId: 1000 |
| 37 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 38 | nodeSelector: {} |
| 39 | |
| 40 | affinity: {} |
| 41 | |
| 42 | # probe configuration parameters |
| 43 | liveness: |
| 44 | initialDelaySeconds: 60 |
| 45 | periodSeconds: 60 |
| 46 | # necessary to disable liveness probe when setting breakpoints |
| 47 | # in debugger so K8s doesn't restart unresponsive container |
| 48 | enabled: false |
| 49 | |
| 50 | readiness: |
| 51 | initialDelaySeconds: 60 |
| 52 | periodSeconds: 10 |
| 53 | |
| 54 | |
| 55 | service: |
| 56 | type: ClusterIP |
BorislavG | 20dcf41 | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 57 | portName: aai-resources-8447 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 58 | internalPort: 8447 |
BorislavG | 20dcf41 | 2018-05-13 17:11:01 +0000 | [diff] [blame] | 59 | portName2: aai-resources-5005 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 60 | internalPort2: 5005 |
| 61 | |
| 62 | |
| 63 | ingress: |
| 64 | enabled: false |
| 65 | |
| 66 | resources: {} |
| 67 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 68 | # choice for the user. This also increases chances charts run on environments with little |
| 69 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 70 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 71 | # |
| 72 | # Example: |
| 73 | # Configure resource requests and limits |
| 74 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 75 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 76 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 77 | #resources: |
| 78 | # limits: |
| 79 | # cpu: 2 |
| 80 | # memory: 4Gi |
| 81 | # requests: |
| 82 | # cpu: 2 |
| 83 | # memory: 4Gi |