Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[OOM] Fixing k8s resources and limits
[oom.git]
/
kubernetes
/
policy
/
components
/
policy-api
/
values.yaml
diff --git
a/kubernetes/policy/components/policy-api/values.yaml
b/kubernetes/policy/components/policy-api/values.yaml
index
2ec88ee
..
c9ee8eb
100755
(executable)
--- a/
kubernetes/policy/components/policy-api/values.yaml
+++ b/
kubernetes/policy/components/policy-api/values.yaml
@@
-24,6
+24,8
@@
global:
nodePortPrefix: 304
persistence: {}
global:
nodePortPrefix: 304
persistence: {}
+ postgres:
+ localCluster: false
#################################################################
# Secrets metaconfig
#################################################################
# Secrets metaconfig
@@
-46,7
+48,7
@@
secrets:
# Application configuration defaults.
#################################################################
# application image
# Application configuration defaults.
#################################################################
# application image
-image: onap/policy-api:2.8.
1
+image: onap/policy-api:2.8.
2
pullPolicy: Always
# flag to enable debugging - application support required
pullPolicy: Always
# flag to enable debugging - application support required
@@
-58,7
+60,9
@@
db:
password: policy_user
service:
name: policy-mariadb
password: policy_user
service:
name: policy-mariadb
+ pgName: policy-pg-primary
internalPort: 3306
internalPort: 3306
+ internalPgPort: 5432
restServer:
user: policyadmin
restServer:
user: policyadmin
@@
-95,25
+99,29
@@
service:
- name: http
port: 6969
- name: http
port: 6969
-
ingress:
enabled: false
ingress:
enabled: false
+serviceMesh:
+ authorizationPolicy:
+ authorizedPrincipals:
+ - serviceAccount: policy-pap-read
+
flavor: small
resources:
small:
limits:
flavor: small
resources:
small:
limits:
- cpu:
1
- memory:
4
Gi
+ cpu:
999
+ memory:
1
Gi
requests:
requests:
- cpu:
100m
+ cpu:
0.5
memory: 1Gi
large:
limits:
memory: 1Gi
large:
limits:
- cpu:
2
- memory:
8
Gi
+ cpu:
999
+ memory:
2
Gi
requests:
requests:
- cpu:
200m
+ cpu:
1
memory: 2Gi
unlimited: {}
memory: 2Gi
unlimited: {}