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 cpu limits
[oom.git]
/
kubernetes
/
aai
/
components
/
aai-sparky-be
/
values.yaml
diff --git
a/kubernetes/aai/components/aai-sparky-be/values.yaml
b/kubernetes/aai/components/aai-sparky-be/values.yaml
index
0673dee
..
8cfd2c6
100644
(file)
--- a/
kubernetes/aai/components/aai-sparky-be/values.yaml
+++ b/
kubernetes/aai/components/aai-sparky-be/values.yaml
@@
-53,11
+53,6
@@
config:
portalOnapEnabled: true
#
portalOnapEnabled: true
#
-# override chart name (sparky-be) to share a common namespace
-# suffix with parent chart (aai)
-nsSuffix: aai
-
-
# default number of instances
replicaCount: 1
# default number of instances
replicaCount: 1
@@
-84,11
+79,12
@@
readiness:
service:
type: NodePort
service:
type: NodePort
- portName: http
- externalPort: 8000
- internalPort: 8000
- internalPlainPort: 9517
- nodePort: 20
+ internalPort: 9517
+ ports:
+ - name: http
+ port: 8000
+ internal_port: 9517
+ nodePort: 20
ingress:
enabled: false
ingress:
enabled: false
@@
-99,19
+95,28
@@
ingress:
config:
ssl: "redirect"
config:
ssl: "redirect"
+serviceMesh:
+ authorizationPolicy:
+ authorizedPrincipals:
+ - serviceAccount: istio-ingress
+ namespace: istio-ingress
+
+podAnnotations:
+ sidecar.istio.io/rewriteAppHTTPProbers: "false"
+
# Configure resource requests and limits
# ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
small:
limits:
# Configure resource requests and limits
# ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
small:
limits:
- cpu:
2
+ cpu:
0.5
memory: 4Gi
requests:
cpu: 0.25
memory: 1Gi
large:
limits:
memory: 4Gi
requests:
cpu: 0.25
memory: 1Gi
large:
limits:
- cpu:
4
+ cpu:
1
memory: 8Gi
requests:
cpu: 0.5
memory: 8Gi
requests:
cpu: 0.5