aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kubernetes/common/nginx/values.yaml4
-rw-r--r--kubernetes/robot/templates/deployment.yaml6
-rwxr-xr-xkubernetes/so/components/so-bpmn-infra/values.yaml6
-rw-r--r--kubernetes/so/components/so-cnfm-lcm/values.yaml8
-rwxr-xr-xkubernetes/so/components/so-nssmf-adapter/values.yaml6
-rw-r--r--kubernetes/uui/components/uui-server/resources/config/application.properties3
-rw-r--r--kubernetes/uui/components/uui-server/templates/deployment.yaml19
-rw-r--r--kubernetes/uui/components/uui-server/values.yaml19
8 files changed, 47 insertions, 24 deletions
diff --git a/kubernetes/common/nginx/values.yaml b/kubernetes/common/nginx/values.yaml
index bb26ecebf2..49e4e4c450 100644
--- a/kubernetes/common/nginx/values.yaml
+++ b/kubernetes/common/nginx/values.yaml
@@ -136,7 +136,7 @@ extraEnvVarsSecret: ""
replicaCount: 1
## @param revisionHistoryLimit The number of old history to retain to allow rollback
##
-revisionHistoryLimit: 10
+revisionHistoryLimit: 1
## @param updateStrategy.type NGINX deployment strategy type
## @param updateStrategy.rollingUpdate NGINX deployment rolling update configuration parameters
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
@@ -241,7 +241,7 @@ topologySpreadConstraints: []
tls:
## @param tls.enabled Enable TLS transport
##
- enabled: true
+ enabled: false
## @param tls.autoGenerated Auto-generate self-signed certificates
##
autoGenerated: true
diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml
index 4736d6d00a..cd556e4b32 100644
--- a/kubernetes/robot/templates/deployment.yaml
+++ b/kubernetes/robot/templates/deployment.yaml
@@ -75,6 +75,12 @@ spec:
- name: robot-logs
mountPath: /share/logs
resources: {{ include "common.resources" . | nindent 10 }}
+ env:
+ - name: KAFKA_PASSWORD
+ valueFrom:
+ secretKeyRef:
+ name: {{ .Values.strimziKafkaUsername }}
+ key: password
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
diff --git a/kubernetes/so/components/so-bpmn-infra/values.yaml b/kubernetes/so/components/so-bpmn-infra/values.yaml
index d2c5fa2b47..044426a234 100755
--- a/kubernetes/so/components/so-bpmn-infra/values.yaml
+++ b/kubernetes/so/components/so-bpmn-infra/values.yaml
@@ -165,14 +165,14 @@ flavor: large
resources:
small:
limits:
- cpu: "1"
+ cpu: "2"
memory: "3Gi"
requests:
- cpu: "0.5"
+ cpu: "1"
memory: "3Gi"
large:
limits:
- cpu: "2"
+ cpu: "3"
memory: "6Gi"
requests:
cpu: "1"
diff --git a/kubernetes/so/components/so-cnfm-lcm/values.yaml b/kubernetes/so/components/so-cnfm-lcm/values.yaml
index add8ad439d..2bebed6425 100644
--- a/kubernetes/so/components/so-cnfm-lcm/values.yaml
+++ b/kubernetes/so/components/so-cnfm-lcm/values.yaml
@@ -104,17 +104,17 @@ flavor: small
resources:
small:
limits:
- cpu: "3000m"
+ cpu: "4"
memory: "4Gi"
requests:
- cpu: "500m"
+ cpu: "2"
memory: "1Gi"
large:
limits:
- cpu: "4000m"
+ cpu: "5"
memory: "8Gi"
requests:
- cpu: "1000m"
+ cpu: "2"
memory: "2Gi"
unlimited: {}
diff --git a/kubernetes/so/components/so-nssmf-adapter/values.yaml b/kubernetes/so/components/so-nssmf-adapter/values.yaml
index 09d652e4eb..c5bef0ce18 100755
--- a/kubernetes/so/components/so-nssmf-adapter/values.yaml
+++ b/kubernetes/so/components/so-nssmf-adapter/values.yaml
@@ -131,14 +131,14 @@ flavor: small
resources:
small:
limits:
- cpu: "1"
+ cpu: "2"
memory: "2Gi"
requests:
- cpu: "0.5"
+ cpu: "1"
memory: "2Gi"
large:
limits:
- cpu: "2"
+ cpu: "3"
memory: "3Gi"
requests:
cpu: "1"
diff --git a/kubernetes/uui/components/uui-server/resources/config/application.properties b/kubernetes/uui/components/uui-server/resources/config/application.properties
index 3b966f902b..a86cea7ff3 100644
--- a/kubernetes/uui/components/uui-server/resources/config/application.properties
+++ b/kubernetes/uui/components/uui-server/resources/config/application.properties
@@ -15,7 +15,7 @@
##
## General App Properties
spring.application.name=uui-server
-server.servlet.contextPath=/api/usecaseui-server/v1
+server.servlet.contextPath={{ .Values.uuiServer.basePath }}
server.port=8082
spring.http.multipart.max-file-size=128MB
spring.http.multipart.max-request-size=128MB
@@ -56,6 +56,7 @@ management.tracing.sampling.probability={{ default .Values.global.tracing.sampli
management.zipkin.tracing.endpoint={{ default .Values.global.tracing.collector.baseUrl .Values.tracing.collector.baseUrl }}/api/v2/spans
uui-server.client.aai.baseUrl={{ .Values.uuiServer.client.aai.baseUrl }}
+uui-server.client.aai.apiVersion={{ .Values.uuiServer.client.aai.apiVersion }}
uui-server.client.aai.username={{ .Values.uuiServer.client.aai.username }}
uui-server.client.aai.password={{ .Values.uuiServer.client.aai.password }}
uui-server.client.so.baseUrl={{ .Values.uuiServer.client.so.baseUrl }}
diff --git a/kubernetes/uui/components/uui-server/templates/deployment.yaml b/kubernetes/uui/components/uui-server/templates/deployment.yaml
index 6956970bbb..0d48648f1f 100644
--- a/kubernetes/uui/components/uui-server/templates/deployment.yaml
+++ b/kubernetes/uui/components/uui-server/templates/deployment.yaml
@@ -83,19 +83,28 @@ spec:
ports: {{ include "common.containerPorts" . | nindent 10 }}
# disable liveness probe when breakpoints set in debugger
# so K8s doesn't restart unresponsive container
+ {{- if eq .Values.startup.enabled true }}
+ startupProbe:
+ httpGet:
+ port: {{ index .Values.service.ports 0 "port" }}
+ path: {{ .Values.uuiServer.basePath }}{{ .Values.startup.path }}
+ failureThreshold: {{ .Values.startup.failureThreshold }}
+ periodSeconds: {{ .Values.startup.periodSeconds }}
+ {{- end }}
{{- if eq .Values.liveness.enabled true }}
livenessProbe:
- tcpSocket:
+ httpGet:
port: {{ index .Values.service.ports 0 "port" }}
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
+ path: {{ .Values.uuiServer.basePath }}{{ .Values.liveness.path }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
+ failureThreshold: {{ .Values.liveness.failureThreshold }}
{{- end }}
- resources: {{ include "common.resources" . | nindent 12 }}
readinessProbe:
- tcpSocket:
+ httpGet:
port: {{ index .Values.service.ports 0 "port" }}
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
+ path: {{ .Values.uuiServer.basePath }}{{ .Values.readiness.path }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+ resources: {{ include "common.resources" . | nindent 12 }}
env:
- name: MSB_ADDR
value: {{tpl .Values.msbaddr .}}
diff --git a/kubernetes/uui/components/uui-server/values.yaml b/kubernetes/uui/components/uui-server/values.yaml
index 3a9aee888a..182dcfeea7 100644
--- a/kubernetes/uui/components/uui-server/values.yaml
+++ b/kubernetes/uui/components/uui-server/values.yaml
@@ -52,7 +52,7 @@ flavor: small
# application image
repository: nexus3.onap.org:10001
-image: onap/usecase-ui-server:15.0.2
+image: onap/usecase-ui-server:15.0.3
pullPolicy: Always
revisionHistoryLimit: 1
@@ -95,15 +95,20 @@ nodeSelector: {}
affinity: {}
# probe configuration parameters
+startup:
+ enabled: true
+ path: /actuator/health
+ periodSeconds: 1
+ failureThreshold: 60
+
liveness:
- initialDelaySeconds: 120
- periodSeconds: 10
- # necessary to disable liveness probe when setting breakpoints
- # in debugger so K8s doesn't restart unresponsive container
+ # disable this for remote debugging
enabled: true
+ path: /actuator/health
+ periodSeconds: 10
readiness:
- initialDelaySeconds: 60
+ path: /actuator/health/readiness
periodSeconds: 10
service:
@@ -186,11 +191,13 @@ wait_for_job_container:
# "helm.sh/hook-weight": "1"
uuiServer:
+ basePath: /api/usecaseui-server/v1
client:
aai:
baseUrl: http://aai.onap
username: AAI
password: AAI
+ apiVersion: v29
so:
baseUrl: http://so.onap:8080
username: InfraPortalClient