[VOL-3142] Updated voltha and openolt adapter charts to add tracing related config parameters
Change-Id: Icd9decb424a0975d3de6d387f1fc5938340561d0
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index 670d206..435a3ba 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -14,7 +14,7 @@
---
apiVersion: "v1"
name: "voltha"
-version: "2.5.5"
+version: "2.6.0"
description: "A Helm chart for Voltha based on K8S resources in Voltha project"
keywords:
- "onf"
@@ -33,4 +33,4 @@
# app version applies to multiple components with potentially different
# container image versions
-appVersion: "2.4"
+appVersion: "2.5"
diff --git a/voltha/templates/core-deploy.yaml b/voltha/templates/core-deploy.yaml
index 5b126ea..1fc648f 100644
--- a/voltha/templates/core-deploy.yaml
+++ b/voltha/templates/core-deploy.yaml
@@ -97,6 +97,9 @@
- "--timeout_request={{ tpl .Values.rw_core.timeout_request . }}"
- "--log_level={{ $log_level }}"
- "--probe_address=:8080"
+ - "--trace_enabled={{ .Values.tracing.enabled }}"
+ - "--trace_agent_address={{ .Values.services.tracing_agent.address }}"
+ - "--log_correlation_enabled={{ .Values.log_correlation.enabled }}"
ports:
- containerPort: 50057
name: grpc
diff --git a/voltha/templates/ofagent-deploy.yaml b/voltha/templates/ofagent-deploy.yaml
index d0e5715..7aae6f2 100644
--- a/voltha/templates/ofagent-deploy.yaml
+++ b/voltha/templates/ofagent-deploy.yaml
@@ -87,6 +87,9 @@
- "--kv_store_request_timeout=60s"
- "--log_level={{ $log_level }}"
- "--probe=:8080"
+ - "--trace_enabled={{ .Values.tracing.enabled }}"
+ - "--trace_agent_address={{ .Values.services.tracing_agent.address }}"
+ - "--log_correlation_enabled={{ .Values.log_correlation.enabled }}"
{{- if .Values.securityContext.enabled }}
securityContext:
allowPrivilegeEscalation: false
diff --git a/voltha/values.yaml b/voltha/values.yaml
index bacf496..8305d01 100644
--- a/voltha/values.yaml
+++ b/voltha/values.yaml
@@ -53,6 +53,10 @@
etcd:
address: etcd:2379
+ # Define Tracing Agent connection details
+ tracing_agent:
+ address: jaeger-agent:6831
+
# Define the list of controllers to connect to
controller:
- address: onos-openflow:6653
@@ -61,7 +65,15 @@
profiler:
enabled: false
-# Define the recplica count for everything
+# Configure Log Correlation
+log_correlation:
+ enabled: true
+
+# Configure Tracing
+tracing:
+ enabled: false
+
+# Define the replica count for everything
replicas:
# For R/W cores the templates translate the number of replicas
# into the number of RW core pairs with two pods per pair
@@ -84,11 +96,11 @@
ofagent:
registry: '{{ .Values.defaults.image_registry }}'
repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
- tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.2.1{{- end }}{{- else }}1.2.1{{- end }}'
+ tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.3.0{{- end }}{{- else }}1.3.0{{- end }}'
pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
rw_core:
registry: '{{ .Values.defaults.image_registry }}'
repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
- tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.4.2{{- end }}{{- else }}2.4.2{{- end }}'
+ tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.5.1{{- end }}{{- else }}2.5.1{{- end }}'
pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'