repository: 'file://components/aai-schema-service'
condition: aai-schema-service.enabled
- name: aai-sparky-be
- version: ~15.x-0
+ version: ~16.x-0
repository: 'file://components/aai-sparky-be'
condition: aai-sparky-be.enabled
- name: aai-traversal
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
{{ include "common.containerSecurityContext" . | indent 8 | trim }}
- command:
- - sh
- args:
- - -c
- - |
- echo "*** actual launch of AAI Sparky BE"
- /opt/app/sparky/bin/start.sh
volumeMounts:
- mountPath: {{ .Values.log.path }}
name: logs
- mountPath: /opt/app/sparky/config/logging/logback.xml
name: config
subPath: logback.xml
+ - mountPath: /tmp
+ name: tmp-volume
ports:
{{- if .Values.debug.enabled }}
- containerPort: {{ .Values.debug.port }}
{{- end }}
{{- end }}
{{- if .Values.profiling.enabled }}
- - name: JVM_ARGS
+ - name: PRE_JVM_ARGS
value: '{{ join " " .Values.profiling.args }}'
{{- end }}
{{- if .Values.debug.enabled }}
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+ startupProbe:
+ tcpSocket:
+ port: {{ .Values.service.internalPort }}
+ failureThreshold: {{ .Values.startup.failureThreshold }}
+ periodSeconds: {{ .Values.startup.periodSeconds }}
resources: {{ include "common.resources" . | nindent 10 }}
{{- if .Values.nodeSelector }}
nodeSelector:
- name: modeldir
emptyDir:
sizeLimit: {{ .Values.volumes.modeldirSizeLimit }}
+ - name: tmp-volume
+ emptyDir:
+ sizeLimit: {{ .Values.volumes.tmpSizeLimit }}
restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }}
{{- include "common.imagePullSecrets" . | nindent 6 }}
serviceName: aai-search-data
# application image
-image: onap/sparky-be:2.0.5
+image: onap/sparky-be:2.0.7
pullPolicy: Always
restartPolicy: Always
flavor: small
dockerhubRepository: registry.hub.docker.com
-ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
+
# application configuration
config:
elasticsearchHttpPort: 9200
replicaCount: 1
# number of ReplicaSets that should be retained for the Deployment
-revisionHistoryLimit: 2
+revisionHistoryLimit: 1
updateStrategy:
type: RollingUpdate
initialDelaySeconds: 10
periodSeconds: 10
+startup:
+ failureThreshold: 90
+ periodSeconds: 1
+
service:
type: NodePort
internalPort: 9517
small:
limits:
cpu: "500m"
- memory: "4Gi"
+ memory: "2Gi"
requests:
cpu: "250m"
memory: "1Gi"
large:
limits:
cpu: "1"
- memory: "8Gi"
+ memory: "4Gi"
requests:
cpu: "500m"
memory: "2Gi"
volumes:
logSizeLimit: 64Mi
modeldirSizeLimit: 64Mi
+ tmpSizeLimit: 64Mi
securityContext:
user_id: 1000