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