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
/
sdnc
/
components
/
sdnc-ansible-server
/
values.yaml
diff --git
a/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
b/kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
index
080ae9c
..
4a48b64
100644
(file)
--- a/
kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
+++ b/
kubernetes/sdnc/components/sdnc-ansible-server/values.yaml
@@
-17,11
+17,6
@@
#################################################################
global:
nodePortPrefix: 302
#################################################################
global:
nodePortPrefix: 302
- readinessImage: onap/oom/readiness:3.0.1
- loggingRepository: docker.elastic.co
- loggingImage: beats/filebeat:5.5.0
- # envsusbt
- envsubstImage: dibi/envsubst
mariadbGalera:
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
mariadbGalera:
#This flag allows SO to instantiate its own mariadb-galera cluster
#If shared instance is used, this chart assumes that DB already exists
@@
-54,8
+49,7
@@
secrets:
# Application configuration defaults.
#################################################################
# application image
# Application configuration defaults.
#################################################################
# application image
-repository: nexus3.onap.org:10001
-image: onap/sdnc-ansible-server-image:2.0.4
+image: onap/sdnc-ansible-server-image:2.5.5
pullPolicy: Always
# flag to enable debugging - application support required
pullPolicy: Always
# flag to enable debugging - application support required
@@
-107,13
+101,18
@@
readiness:
service:
type: ClusterIP
name: sdnc-ansible-server
service:
type: ClusterIP
name: sdnc-ansible-server
- portName: sdnc-ansible-server
internalPort: 8000
internalPort: 8000
- externalPort: 8000
+ ports:
+ - name: http
+ port: 8000
ingress:
enabled: false
ingress:
enabled: false
+serviceMesh:
+ authorizationPolicy:
+ authorizedPrincipals: []
+
#Resource Limit flavor -By default using small
flavor: small
#Resource Limit flavor -By default using small
flavor: small
@@
-122,16
+121,22
@@
flavor: small
resources:
small:
limits:
resources:
small:
limits:
- cpu:
1
- memory:
1
Gi
+ cpu:
999
+ memory:
0.5
Gi
requests:
cpu: 0.5
requests:
cpu: 0.5
- memory:
500M
i
+ memory:
0.5G
i
large:
limits:
large:
limits:
- cpu:
2
- memory:
2
Gi
+ cpu:
999
+ memory:
1
Gi
requests:
cpu: 1
memory: 1Gi
unlimited: {}
requests:
cpu: 1
memory: 1Gi
unlimited: {}
+
+#Pods Service Account
+serviceAccount:
+ nameOverride: sdnc-ansible-server
+ roles:
+ - read