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-command-executor
/
values.yaml
diff --git
a/kubernetes/cds/components/cds-command-executor/values.yaml
b/kubernetes/cds/components/cds-command-executor/values.yaml
index
0f7b556
..
bea0d09
100755
(executable)
--- a/
kubernetes/cds/components/cds-command-executor/values.yaml
+++ b/
kubernetes/cds/components/cds-command-executor/values.yaml
@@
-32,7
+32,7
@@
global:
# Application configuration defaults.
#################################################################
# application image
# Application configuration defaults.
#################################################################
# application image
-image: onap/ccsdk-commandexecutor:1.
2.0
+image: onap/ccsdk-commandexecutor:1.
5.1
pullPolicy: Always
# application configuration
pullPolicy: Always
# application configuration
@@
-62,17
+62,16
@@
readiness:
service:
type: ClusterIP
service:
type: ClusterIP
- grpc:
- portName: command-executor-grpc
- internalPort: 50051
- externalPort: 50051
- metrics:
- portName: command-executor-metrics
- internalPort: 10005
- externalPort: 10005
+ name: cds-command-executor
+ internalPort: 50051
+ ports:
+ - name: grpc
+ port: 50051
+ - name: &metricsPortname tcp-metrics
+ port: &metricsPort 10005
persistence:
persistence:
- enabled:
tru
e
+ enabled:
fals
e
mountSubPath: cds/blueprints/deploy
deployedBlueprint: /opt/app/onap/blueprints/deploy
mountSubPath: cds/blueprints/deploy
deployedBlueprint: /opt/app/onap/blueprints/deploy
@@
-82,18
+81,18
@@
ingress:
resources:
small:
limits:
resources:
small:
limits:
- cpu:
2
- memory:
4
Gi
+ cpu:
999
+ memory:
0.2
Gi
requests:
requests:
- cpu:
1
- memory:
1
Gi
+ cpu:
0.5
+ memory:
0.2
Gi
large:
limits:
large:
limits:
- cpu:
4
- memory:
8
Gi
+ cpu:
999
+ memory:
0.4
Gi
requests:
requests:
- cpu:
2
- memory: 4Gi
+ cpu:
1
+ memory:
0.
4Gi
unlimited: {}
#Pods Service Account
unlimited: {}
#Pods Service Account
@@
-105,7
+104,8
@@
serviceAccount:
metrics:
serviceMonitor:
enabled: false
metrics:
serviceMonitor:
enabled: false
- port: command-executor-metrics
+ port: *metricsPortname
+ internalPort: *metricsPort
path: /actuator/prometheus
basicAuth:
enabled: false
path: /actuator/prometheus
basicAuth:
enabled: false