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
/
so
/
components
/
so-oof-adapter
/
values.yaml
diff --git
a/kubernetes/so/components/so-oof-adapter/values.yaml
b/kubernetes/so/components/so-oof-adapter/values.yaml
index
6bddf29
..
7c5ab23
100755
(executable)
--- a/
kubernetes/so/components/so-oof-adapter/values.yaml
+++ b/
kubernetes/so/components/so-oof-adapter/values.yaml
@@
-18,19
+18,8
@@
global:
nodePortPrefix: 302
nodePortPrefixExt: 304
global:
nodePortPrefix: 302
nodePortPrefixExt: 304
- repository: nexus3.onap.org:10001
- readinessRepository: oomk8s
- readinessImage: readiness-check:2.0.2
- aafAgentImage: onap/aaf/aaf_agent:2.1.20
- envsubstImage: dibi/envsubst
persistence:
mountPath: /dockerdata-nfs
persistence:
mountPath: /dockerdata-nfs
- security:
- aaf:
- enabled: false
- aaf:
- auth:
- header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
mariadbGalera:
serviceName: mariadb-galera
servicePort: '3306'
mariadbGalera:
serviceName: mariadb-galera
servicePort: '3306'
@@
-76,8
+65,7
@@
secrets:
#################################################################
# Application configuration defaults.
#################################################################
#################################################################
# Application configuration defaults.
#################################################################
-repository: nexus3.onap.org:10001
-image: onap/so/so-oof-adapter:1.7.4
+image: onap/so/so-oof-adapter:1.8.3
pullPolicy: Always
mso:
pullPolicy: Always
mso:
@@
-90,26
+78,22
@@
replicaCount: 1
containerPort: &containerPort 8090
minReadySeconds: 10
containerPort: *containerPort
containerPort: &containerPort 8090
minReadySeconds: 10
containerPort: *containerPort
-logPath: ./logs/oof/
+logPath: ./logs/oof
-adapter
/
app: so-oof-adapter
service:
app: so-oof-adapter
service:
-
type: ClusterIP
-
ports:
- - name: api
-
port: *containerPort
+ type: ClusterIP
+ ports:
+ - name: http
+ port: *containerPort
updateStrategy:
updateStrategy:
- type: RollingUpdate
- maxUnavailable: 1
- maxSurge: 1
-
+ type: RollingUpdate
+ maxUnavailable: 1
+ maxSurge: 1
+#################################################################
+# soHelpers part
+#################################################################
soHelpers:
soHelpers:
- nameOverride: so-oof-adapter-cert-init
- certInitializer:
- nameOverride: so-oof-adapter-cert-init
- credsPath: /opt/app/osaaf/local
- cadi:
- apiEnforcement: org.onap.so.oofadapterPerm
containerPort: *containerPort
# Resource Limit flavor -By Default using small
containerPort: *containerPort
# Resource Limit flavor -By Default using small
@@
-118,30
+102,46
@@
flavor: small
resources:
small:
limits:
resources:
small:
limits:
- memory:
4
Gi
- cpu:
2000m
+ memory:
1
Gi
+ cpu:
999
requests:
memory: 1Gi
requests:
memory: 1Gi
- cpu:
500m
+ cpu:
0.5
large:
limits:
large:
limits:
- memory:
8
Gi
- cpu:
4000m
+ memory:
2
Gi
+ cpu:
999
requests:
memory: 2Gi
requests:
memory: 2Gi
- cpu: 1
000m
+ cpu: 1
unlimited: {}
livenessProbe:
unlimited: {}
livenessProbe:
-
path: /manage/health
-
port: *containerPort
-
scheme: HTTP
-
initialDelaySeconds: 600
-
periodSeconds: 60
-
timeoutSeconds: 10
-
successThreshold: 1
-
failureThreshold: 3
+ path: /manage/health
+ port: *containerPort
+ scheme: HTTP
+ initialDelaySeconds: 600
+ periodSeconds: 60
+ timeoutSeconds: 10
+ successThreshold: 1
+ failureThreshold: 3
ingress:
enabled: false
ingress:
enabled: false
+serviceMesh:
+ authorizationPolicy:
+ authorizedPrincipals:
+ - serviceAccount: so-bpmn-infra-read
+ - serviceAccount: so-read
nodeSelector: {}
tolerations: []
affinity: {}
nodeSelector: {}
tolerations: []
affinity: {}
+
+#Pods Service Account
+serviceAccount:
+ nameOverride: so-oof-adapter
+ roles:
+ - read
+
+#Log configuration
+log:
+ path: /var/log/onap
+logConfigMapNamePrefix: '{{ include "common.fullname" . }}'