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
/
cds
/
components
/
cds-ui
/
values.yaml
diff --git
a/kubernetes/cds/components/cds-ui/values.yaml
b/kubernetes/cds/components/cds-ui/values.yaml
index
1c7f628
..
cd7c64e
100644
(file)
--- a/
kubernetes/cds/components/cds-ui/values.yaml
+++ b/
kubernetes/cds/components/cds-ui/values.yaml
@@
-23,7
+23,7
@@
subChartsOnly:
enabled: true
# application image
enabled: true
# application image
-image: onap/ccsdk-cds-ui-server:1.
0.3
+image: onap/ccsdk-cds-ui-server:1.
5.1
pullPolicy: Always
# application configuration
pullPolicy: Always
# application configuration
@@
-73,19
+73,22
@@
readiness:
service:
type: NodePort
service:
type: NodePort
- portName: cds-ui
name: cds-ui
name: cds-ui
- nodePort: 97
internalPort: 3000
internalPort: 3000
+ ports:
+ - name: http
+ port: 3000
+ nodePort: 97
+ useNodePortExt: true
ingress:
enabled: false
service:
ingress:
enabled: false
service:
- - baseaddr: "cdsui"
+ - baseaddr: "cds
-
ui"
name: "cds-ui"
port: 3000
name: "cds-ui"
port: 3000
- config:
- ssl: "redirect"
+
config:
+
ssl: "redirect"
# Resource Limit flavor -By Default using small
flavor: small
# Resource Limit flavor -By Default using small
flavor: small
@@
-93,16
+96,22
@@
flavor: small
resources:
small:
limits:
resources:
small:
limits:
- cpu:
1
- memory:
1
Gi
+ cpu:
999
+ memory:
0.2
Gi
requests:
requests:
- cpu:
10m
- memory:
100M
i
+ cpu:
0.5
+ memory:
0.2G
i
large:
limits:
large:
limits:
- cpu:
2
- memory: 2Gi
+ cpu:
999
+ memory:
0.
2Gi
requests:
requests:
- cpu:
200m
- memory:
200M
i
+ cpu:
1
+ memory:
0.2G
i
unlimited: {}
unlimited: {}
+
+#Pods Service Account
+serviceAccount:
+ nameOverride: cds-ui
+ roles:
+ - read