Skip to content

About

NOFire AI Edge client

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

112 Commits

Folders and files

Repository files navigation

NOFire Edge Helm Chart

A Helm chart for deploying NOFire Edge - Kubernetes Resource Graph & Causal Analysis monitoring client.

Quick Start

Add Helm Repository

helm repo add nofire https://nofireai.github.io/edge-helm-chart
helm repo update

Install

helm install nofire-edge nofire/nofire-edge \
  --set config.publisher.apiKey=YOUR_API_KEY \
  -n nofire-system --create-namespace

Important:

  • Replace YOUR_API_KEY with your actual API key from the NOFire dashboard
  • The graph URL defaults to https://my.nofire.ai/api/edge
  • ServiceMonitor is disabled by default (enable with --set monitoring.serviceMonitor.enabled=true if using Prometheus Operator)

Key Configuration Values

Parameter Description Default Required
config.publisher.apiKey API key for authentication "" Yes
config.publisher.graph.url NOFire API endpoint https://my.nofire.ai/api/edge No
service.clusterIP Static ClusterIP (recommended) "" No
monitoring.serviceMonitor.enabled Enable Prometheus ServiceMonitor false No
strategy Deployment rollout strategy (RollingUpdate, maxSurge: 1, maxUnavailable: 0 keeps the old pod serving until the new pod is Ready) RollingUpdate (1/0) No
progressDeadlineSeconds Rollout stall deadline in seconds before Progressing=False 600 No
edgeProxy.strategy Rollout strategy for edge-proxy when edgeProxy.enabled is true (maxSurge: 1, maxUnavailable: 0) RollingUpdate (1/0) No
edgeProxy.progressDeadlineSeconds Rollout stall deadline in seconds for edge-proxy 600 No
godebug GODEBUG for the edge and edge-proxy containers. The default turns off MPTCP listeners (CVE-2026-98432). "" omits it; a GODEBUG entry in env overrides it on edge. multipathtcp=0 No

Edge Proxy (On-Prem Connections)

To proxy requests from Brain to on-prem/internal backends, enable edgeProxy and configure onPremConnections.

Prerequisites:

  • Create the nofire-credentials secret (used for Brain authentication):
kubectl create secret generic nofire-credentials --from-literal=api-key=YOUR_KEY -n nofire-system

Supported connection types: prometheus, victoriametrics, victorialogs, victoriatraces, loki, tempo, grafana, alertmanager, elasticsearch, open_search, custom_http, honeycomb, postgres and mongodb_atlas. For any other type the Edge proxy logs failed to create connector and skips the entry.

victoriametrics needs Edge v3.11.0 or later. To switch an existing prometheus entry to victoriametrics, keep its key. NOFire updates the existing connection to the new type, and its pipelines stay attached.

victorialogs and victoriatraces need Edge v3.12.0 or later. An older image logs failed to create connector and skips the entry. victoriatraces takes no accountId or projectId: Edge refuses an entry that sets one. For a multitenant VictoriaLogs, set accountId and projectId. The agent sends them as the AccountID and ProjectID headers. An unquoted 0 is left out of the config, and VictoriaLogs then reads tenant 0, its default.

Example:

edgeProxy:
  enabled: true
  stream:
    serverAddress: "brain-host:443"

onPremConnections:
  prod-postgres:
    type: postgres
    name: "Production Postgres"
    secretName: postgres-creds
    dbHost: "postgres.default.svc.cluster.local"
    dbPort: 5432
    dbName: "app"
    dbSSLMode: "require"

  internal-api:
    type: custom_http
    name: "Internal API"
    secretName: internal-api-creds
    url: "https://api.internal.example.com"

  prod-vm:
    type: victoriametrics
    name: "Production VictoriaMetrics"
    secretName: victoriametrics-creds   # holds a token key (bearer auth)
    # Cluster version: vmselect with the tenant in the path (tenant 0 here).
    # Single-node version: the server itself, e.g. http://victoria-metrics:8428
    url: "http://vmselect.monitoring:8481/select/0/prometheus"

  prod-vl:
    type: victorialogs
    name: "Production VictoriaLogs"
    secretName: victorialogs-creds   # optional, holds a token key
    url: "http://victorialogs:9428"
    accountId: "0"                   # optional, multitenant VictoriaLogs
    projectId: "0"

  prod-vt:
    type: victoriatraces
    name: "Production VictoriaTraces"
    url: "http://victoriatraces:10428"

Notes:

  • secretName is optional, but recommended. The secret is mounted under edgeProxy.secretsPath and used for credentials (token/username/password).
  • For postgres, the chart renders DB fields (dbHost, dbPort, dbName, dbSSLMode) instead of url.

Advanced Installation with Static IP

For production deployments, it's recommended to use a static ClusterIP:

# Initial install to get ClusterIP
helm install nofire-edge nofire/nofire-edge \
  --set config.publisher.apiKey=YOUR_API_KEY \
  -n nofire-system --create-namespace

# Get the assigned ClusterIP
kubectl get service nofire-edge -n nofire-system

# Reinstall with static IP
helm uninstall nofire-edge -n nofire-system
helm install nofire-edge nofire/nofire-edge \
  --set config.publisher.apiKey=YOUR_API_KEY \
  --set service.clusterIP=<CLUSTER_IP_FROM_ABOVE> \
  -n nofire-system --create-namespace

Using a Values File

Create a values.yaml file:

config:
  publisher:
    apiKey: "your-api-key-here"
    graph:
      url: "https://my.nofire.ai/api/edge"  # Optional, this is the default

service:
  clusterIP: "10.96.145.200"  # Optional: Use static IP

monitoring:
  serviceMonitor:
    enabled: false  # Set to true if Prometheus Operator is installed

Install with values file:

helm install nofire-edge nofire/nofire-edge -f values.yaml -n nofire-system --create-namespace

Troubleshooting

ServiceMonitor CRD Not Found (if enabled)

Error: no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

Solution: ServiceMonitor requires Prometheus Operator. Either install Prometheus Operator or keep ServiceMonitor disabled (default).

Configuration Issues

Check the pod logs for errors:

kubectl logs -l app=nofire-edge -n nofire-system

Verify Installation

# Check pod status
kubectl get pods -n nofire-system

# Check service
kubectl get svc nofire-edge -n nofire-system

# View logs
kubectl logs -f deployment/nofire-edge -n nofire-system

Full Documentation

Complete installation guide, DNSTap configuration, and advanced settings:

Support

For issues and questions:

About

NOFire AI Edge client

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages