diff --git a/charts/alaz/Chart.yaml b/charts/alaz/Chart.yaml index f3a6e22..15c308a 100644 --- a/charts/alaz/Chart.yaml +++ b/charts/alaz/Chart.yaml @@ -17,7 +17,7 @@ icon: https://d2uj9largygsoq.cloudfront.net/docker/ddosify-square-icon-db.svg # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.7.4 +version: 0.8.0 redhatVersion: 0.5.0 @@ -25,7 +25,7 @@ redhatVersion: 0.5.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.7.3" +appVersion: "v0.8.0" kubeVersion: ">=1.16.0-0" diff --git a/charts/alaz/README.md b/charts/alaz/README.md index 18807d7..eb8a6fc 100644 --- a/charts/alaz/README.md +++ b/charts/alaz/README.md @@ -42,7 +42,8 @@ The following table lists the configurable parameters of the Alaz chart and thei | `containerPort` | Container port for debugging and profiling Alaz | int | `8181` | | `podAnnotations` | Annotations to add to the pod | object | `{}` | | `metricsEnabled` | Enable prometheus node exporter metrics (cpu, memory, network, disk, etc.) | bool | `true` | -| `serviceMapEnabled` | Enable service map for K8s network traffic using eBPF | bool | `true` | -| `distTracingEnabled` | Enable distributed tracing using eBPF | bool | `true` | +| `tracingEnabled` | Enable tracing (service map and distributed tracing) using eBPF | bool | `true` | +| `logsEnabled` | Enable logging | bool | `false` | +| `excludedNamespaces` | Namespaces to exclude from monitoring with regex format. For example: `"^anteon.*"` to exclude all namespaces starting with "anteon" | string | `""` | You can override these default values by creating a `values.yaml` file and specifying your own values or using the `--set` flag during installation. diff --git a/charts/alaz/templates/daemonset.yaml b/charts/alaz/templates/daemonset.yaml index d02c9aa..7bc9092 100644 --- a/charts/alaz/templates/daemonset.yaml +++ b/charts/alaz/templates/daemonset.yaml @@ -21,16 +21,18 @@ spec: hostPID: true containers: - env: + - name: TRACING_ENABLED + value: "{{ .Values.tracingEnabled }}" - name: METRICS_ENABLED value: "{{ .Values.metricsEnabled }}" - - name: SERVICE_MAP_ENABLED - value: "{{ .Values.serviceMapEnabled }}" - - name: DIST_TRACING_ENABLED - value: "{{ .Values.distTracingEnabled }}" + - name: LOGS_ENABLED + value: "{{ .Values.logsEnabled }}" - name: BACKEND_HOST value: {{ .Values.backendHost }} - name: LOG_LEVEL value: "{{ .Values.logLevel }}" + - name: EXCLUDE_NAMESPACES + value: "{{ .Values.excludedNamespaces }}" - name: MONITORING_ID value: {{ .Values.monitoringID }} - name: NODE_NAME diff --git a/charts/alaz/values.yaml b/charts/alaz/values.yaml index afa3f97..175a241 100644 --- a/charts/alaz/values.yaml +++ b/charts/alaz/values.yaml @@ -12,7 +12,7 @@ resources: cpu: 500m memory: 400Mi -image: ddosify/alaz:v0.7.3 +image: ddosify/alaz:v0.8.0 imagePullPolicy: IfNotPresent containerPort: 8181 podAnnotations: {} @@ -20,8 +20,13 @@ podAnnotations: {} # enable prometheus node exporter metrics (cpu, memory, network, disk, etc.) metricsEnabled: true -# enable eBPF for k8s network data to create a service map -serviceMapEnabled: true +# enable tracing (service map and distributed tracing) using eBPF +tracingEnabled: true -# enable distributed tracing using eBPF -distTracingEnabled: true +# enable logs +logsEnabled: false + +# exclude namespaces from tracing, metrics and logs. +# Regex pattern to exclude namespaces. +# Example: "^anteon.*" +excludedNamespaces: ""