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
/
msb
/
components
/
msb-iag
/
values.yaml
diff --git
a/kubernetes/msb/components/msb-iag/values.yaml
b/kubernetes/msb/components/msb-iag/values.yaml
index
21f22dd
..
004a1a7
100644
(file)
--- a/
kubernetes/msb/components/msb-iag/values.yaml
+++ b/
kubernetes/msb/components/msb-iag/values.yaml
@@
-52,7
+52,7
@@
certInitializer:
# Application configuration defaults.
#################################################################
# application image
# Application configuration defaults.
#################################################################
# application image
-image: onap/msb/msb_apigateway:1.
3.1
+image: onap/msb/msb_apigateway:1.
6.0
pullPolicy: Always
istioSidecar: true
pullPolicy: Always
istioSidecar: true
@@
-82,19
+82,25
@@
readiness:
service:
type: NodePort
name: msb-iag
service:
type: NodePort
name: msb-iag
- externalPort: 80
- internalPort: 80
- nodePort: 80
- externalPortHttps: 443
- internalPortHttps: 443
- nodePortHttps: 83
+ both_tls_and_plain: true
+ # for liveness and readiness probe only
+ # internalPort:
+ internalPort: 443
+ internalPlainPort: 80
+ ports:
+ - name: msb-iag
+ port: 443
+ plain_port: 80
+ port_protocol: http
+ nodePort: '83'
ingress:
enabled: false
service:
ingress:
enabled: false
service:
- - baseaddr: "msb
iag
"
+ - baseaddr: "msb
-iag-ui
"
name: "msb-iag"
port: 443
name: "msb-iag"
port: 443
+ plain_port: 80
config:
ssl: "redirect"
config:
ssl: "redirect"
@@
-104,18
+110,18
@@
flavor: small
resources:
small:
limits:
resources:
small:
limits:
- cpu:
100m
- memory:
400M
i
+ cpu:
999
+ memory:
0.5G
i
requests:
requests:
- cpu:
50m
- memory:
200M
i
+ cpu:
0.5
+ memory:
0.5G
i
large:
limits:
large:
limits:
- cpu:
200m
- memory:
800M
i
+ cpu:
999
+ memory:
1G
i
requests:
requests:
- cpu: 1
00m
- memory:
400M
i
+ cpu: 1
+ memory:
1G
i
unlimited: {}
#Pods Service Account
unlimited: {}
#Pods Service Account
@@
-123,3
+129,8
@@
serviceAccount:
nameOverride: msb-iag
roles:
- read
nameOverride: msb-iag
roles:
- read
+
+#Logs configuration
+log:
+ path: /var/log/onap
+logConfigMapNamePrefix: '{{ include "common.fullname" . }}'