{{- /*
SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
*/ -}}
{{- $lgtm := index .Values "otel-lgtm" }}
NKTP {{ .Chart.Version }} is installed in namespace {{ .Release.Namespace }} as {{ .Release.Name }}.

Send OTLP to the collector on the sender's own node, on 4317 (gRPC) or 4318
(HTTP):

  nktp-daemonset-collector.{{ .Release.Namespace }}.svc

It forwards each signal to its gateway. The gateways accept only NKTP's own
collectors, over mutual TLS.

Watch the pipeline come up:

  kubectl get opentelemetrycollectors -n {{ .Release.Namespace }}
  kubectl get pods -n {{ .Release.Namespace }}

{{ if $lgtm.enabled -}}
The bundled Grafana/LGTM backend is ENABLED. It keeps telemetry in the pod, so
a restart loses it. It is a development backend, not a production one.

  kubectl port-forward -n {{ .Release.Namespace }} svc/lgtm 3000:3000
  # then open http://localhost:3000

Turn it off and point NKTP at your own backend:

  --set otel-lgtm.enabled=false

and override the otlp exporter of each gateway, of the watchdog and of the
watchdog's sidecar. The NKTP documentation's "Set a backend" shows the values
block.
{{- else -}}
The bundled development backend is disabled, so the gateways and the watchdog
export to whatever endpoints your values set. Check that they are reachable:

  kubectl logs -n {{ .Release.Namespace }} -l app.kubernetes.io/name=nktp-gateway-metrics-collector --tail=20
{{- end }}

The DaemonSet reads host paths and needs the namespace to allow privileged
pods. If its pods do not start, check the namespace's Pod Security level first.
