Network Observer Configuration Reference

The following configuration options are for the Skupper Network Observer which enables the network console.

External access

Ingress

PathTypeDefaultDescription
ingress.enabledboolfalseEnable Kubernetes Ingress resource
ingress.classNamestring""IngressClass name (e.g., nginx, traefik)
ingress.annotationsmap{}Annotations for Ingress resource
ingress.hostsarray[]Host configurations
ingress.hosts[].hoststring-Hostname
ingress.hosts[].pathsarray-Path configurations
ingress.hosts[].paths[].pathstring-URL path
ingress.hosts[].paths[].pathTypestring-Prefix, Exact, or ImplementationSpecific
ingress.tlsarray[]TLS configurations
ingress.tls[].secretNamestring-TLS certificate Secret name
ingress.tls[].hostsarray-Hostnames for this certificate

Notes:

  • Backend always uses HTTPS (re-encryption required)
  • Controller must support TLS backend

Route (OpenShift)

PathTypeDefaultDescription
route.enabledboolfalseEnable OpenShift Route resource
route.hoststring""Explicit hostname
route.subdomainstring""Subdomain for automatic FQDN
route.annotationsmap{}Route annotations
route.labelsmap{}Route labels

Notes:

  • Automatically uses reencrypt TLS termination
  • Use host OR subdomain, not both
  • OpenShift only

Authentication

PathTypeDefaultDescription
auth.strategystring"basic"Authentication strategy: basic, openshift, none

Basic Authentication

PathTypeDefaultDescription
auth.basic.createbooltrueAuto-generate htpasswd Secret with random password
auth.basic.secretNamestring""Existing htpasswd Secret name (requires htpasswd key)

Generated credentials:

  • Username: skupper
  • Password: Random 16-character string (stored in Secret)

OpenShift OAuth

PathTypeDefaultDescription
auth.openshift.createCookieSecretbooltrueAuto-generate session cookie secret
auth.openshift.cookieSecretNamestring""Existing cookie Secret name
auth.openshift.serviceAccount.createbooltrueCreate ServiceAccount for OAuth
auth.openshift.serviceAccount.nameOverridestring""Custom ServiceAccount name

Requirements:

  • OpenShift cluster
  • RBAC permissions for delegated authentication

TLS Certificates

PathTypeDefaultDescription
tls.skupperIssuedbooltrueUse Skupper controller CA (default)
tls.openshiftIssuedboolfalseUse OpenShift Service CA
tls.secretNamestring""Existing TLS Secret name

Priority: secretName > openshiftIssued > skupperIssued

Methods:

  • Skupper-issued: Auto-provisioned by controller, uses same CA as inter-site links
  • OpenShift Service CA: Platform-issued, automatic rotation
  • External: Manual management, Secret type kubernetes.io/tls

Router Connection

PathTypeDefaultDescription
router.endpointstring"amqps://skupper-router-local"AMQP endpoint URL
router.certificate.createbooltrueAuto-create client certificate
router.certificate.nameOverridestring""Custom certificate name

Notes:

  • Endpoint must use amqps:// scheme
  • Client certificate provisioned by Skupper controller
  • Certificate mounted at /etc/messaging/

Network Observer Tuning

PathTypeDefaultDescription
extraArgsarray[]Command-line flags for observer container

Available flags:

FlagTypeDefaultDescription
-enable-consolebooltrueEnable web console UI
-flow-record-ttlduration15mFlow record retention time
-cors-allow-allboolfalseAllow all CORS origins (dev only)
-vanflow-logging-profilestringsilentVanflow logging: silent, minimal, moderate, all

Example:

extraArgs:
  - -flow-record-ttl=1h
  - -vanflow-logging-profile=minimal

Prometheus Configuration

The Prometheus container supports custom configuration and tuning options.

Configuration File

PathTypeDefaultDescription
prometheus.configstringembeddedComplete prometheus.yml content

Default scrape config:

scrape_configs:
  - job_name: 'network-observer'
    static_configs:
      - targets: ['localhost:8080']

Command-Line Flags

PathTypeDefaultDescription
prometheus.extraArgsarray[]Additional Prometheus flags

Common flags:

  • --storage.tsdb.retention.time=<duration>
  • --storage.tsdb.retention.size=<bytes>
  • --query.max-samples=<int>

Example:

prometheus:
  extraArgs:
    - --storage.tsdb.retention.time=15d
    - --storage.tsdb.retention.size=10GB

Extra Volumes and Mounts

PathTypeDefaultDescription
prometheus.extraVolumesarray[]Additional volumes (Kubernetes volume spec)
prometheus.extraVolumeMountsarray[]Volume mount points (Kubernetes volumeMount spec)

Example:

prometheus:
  extraVolumes:
    - name: extra-config
      configMap:
        name: prometheus-rules
  extraVolumeMounts:
    - name: extra-config
      mountPath: /etc/prometheus/rules

Data Persistence

By default, Prometheus uses ephemeral storage (emptyDir). For persistent time-series data, enable a PersistentVolumeClaim.

Persistence Options

PathTypeDefaultDescription
prometheus.persistence.enabledboolfalseEnable persistent storage
prometheus.persistence.storageClassstring""StorageClass name (empty = default)
prometheus.persistence.sizestring8GiPVC size
prometheus.persistence.accessModesarray["ReadWriteOnce"]PVC access modes

Behavior:

  • Disabled: Uses emptyDir (ephemeral)
  • Enabled: Creates PVC, uses Recreate deployment strategy

Prerequisites

  • A StorageClass that can provision PersistentVolumes, or a default StorageClass configured in your cluster

Procedure

  1. Configure persistence in your values file:

    prometheus:
      persistence:
        enabled: true
        storageClass: ""   # Use default StorageClass
        size: 8Gi
        accessModes:
          - ReadWriteOnce
  2. Install or upgrade the chart with your values:

    helm upgrade --install skupper-network-observer oci://quay.io/skupper/helm/network-observer --version {{skupper_cli_version}} -f values.yaml
  3. Verify the PersistentVolumeClaim is bound:

    kubectl get pvc

    Example output:

    NAME                                    STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
    skupper-network-observer-prometheus-0   Bound    pvc-a1b2c3d4-e5f6-7890-abcd-ef1234567890   8Gi        RWO            standard       2m

Important: When persistence is enabled, the Deployment uses a Recreate update strategy to ensure the single read-write volume can attach cleanly during pod updates.

Container Resources

Resource requests and limits can be configured for each container in the Pod.

Network Observer Container

PathTypeDefaultDescription
containerResources.networkObserver.requests.cpustring-CPU request
containerResources.networkObserver.requests.memorystring-Memory request
containerResources.networkObserver.limits.cpustring-CPU limit
containerResources.networkObserver.limits.memorystring-Memory limit

Prometheus Container

PathTypeDefaultDescription
containerResources.prometheus.requests.cpustring-CPU request
containerResources.prometheus.requests.memorystring-Memory request
containerResources.prometheus.limits.cpustring-CPU limit
containerResources.prometheus.limits.memorystring-Memory limit

Proxy Container

PathTypeDefaultDescription
containerResources.proxy.requests.cpustring-CPU request
containerResources.proxy.requests.memorystring-Memory request
containerResources.proxy.limits.cpustring-CPU limit
containerResources.proxy.limits.memorystring-Memory limit

Example:

containerResources:
  networkObserver:
    requests:
      cpu: 200m
      memory: 512Mi
    limits:
      cpu: 1000m
      memory: 1Gi
  prometheus:
    requests:
      cpu: 500m
      memory: 1Gi
    limits:
      cpu: 2000m
      memory: 4Gi
  proxy:
    requests:
      cpu: 50m
      memory: 64Mi
    limits:
      cpu: 200m
      memory: 256Mi

Container Images

Network Observer Image

PathTypeDefaultDescription
image.repositorystringquay.io/skupper/network-observerImage repository
image.tagstringchart appVersionImage tag
image.pullPolicystringAlwaysPull policy

Prometheus Image

PathTypeDefaultDescription
prometheus.repositorystringquay.io/prometheus/prometheusImage repository
prometheus.tagstringv3.11.3Image tag
prometheus.pullPolicystringIfNotPresentPull policy

NGINX Proxy Image

Used when auth.strategy is basic or none:

PathTypeDefaultDescription
nginx.repositorystringmirror.gcr.io/nginxinc/nginx-unprivilegedImage repository
nginx.tagstring1.31.0-alpineImage tag
nginx.pullPolicystringIfNotPresentPull policy
nginx.commandarray[]Override default command

OpenShift OAuth Proxy Image

Used when auth.strategy is openshift:

PathTypeDefaultDescription
openshiftOauthProxy.repositorystringquay.io/openshift/origin-oauth-proxyImage repository
openshiftOauthProxy.tagstring4.22.0Image tag
openshiftOauthProxy.pullPolicystringIfNotPresentPull policy

Labels and Annotations

PathTypeDefaultDescription
commonLabelsmap{}Labels on all resources
commonAnnotationsmap{}Annotations on all resources
podLabelsmap{}Labels on Pod resources only
podAnnotationsmap{}Annotations on Pod resources only

Standard labels (always present):

  • app.kubernetes.io/name: network-observer
  • app.kubernetes.io/instance: <name>
  • app.kubernetes.io/version: <version>
  • app.kubernetes.io/managed-by: Helm or network-observer-operator

Example:

commonLabels:
  environment: production
  team: platform-engineering
  cost-center: "12345"
 
commonAnnotations:
  owner: "platform-team@company.com"
  docs: "https://wiki.company.com/network-observer"
 
podLabels:
  app.kubernetes.io/tier: monitoring
 
podAnnotations:
  prometheus.io/scrape: "false"

Service

PathTypeDefaultDescription
service.typestringClusterIPService type: ClusterIP, LoadBalancer, NodePort
service.portint443External port

Notes:

  • targetPort always https (8443)
  • Metrics service always ClusterIP on port 9000

Security

Pod Security Context

PathTypeDefaultDescription
podSecurityContext.seccompProfile.typestringRuntimeDefaultSeccomp profile

Container Security Contexts

Available for: securityContext, prometheus.securityContext, nginx.securityContext, openshiftOauthProxy.securityContext

PathTypeDefaultDescription
.allowPrivilegeEscalationboolfalseAllow privilege escalation
.capabilities.droparray["ALL"]Capabilities to drop

Advanced Options

Name Overrides

PathTypeDefaultDescription
nameOverridestring""Override chart name
fullnameOverridestring""Override full resource name

Skip Management Labels

PathTypeDefaultDescription
skipManagementLabelsboolfalseSkip Skupper management labels

Metrics Endpoint

The Network Observer serves Prometheus metrics on a dedicated HTTP listener, separate from the main API endpoint.

Listener Configuration:

  • Address: :9000 (container-wide)
  • Path: /metrics
  • Protocol: HTTP (no TLS/auth)

Service:

  • Name: <name>-metrics
  • Type: ClusterIP
  • Port: 9000 → 9000

Security: Cluster-internal only. Do not expose publicly.

Metrics Service

The chart creates a second ClusterIP Service named <release-name>-metrics that targets the metrics listener on port 9000.

PropertyValue
Listener address:9000
Service name<release-name>-metrics
Service port9000
Metrics path/metrics

Scraping Metrics

Configure your Prometheus instance or monitoring operator to scrape the metrics endpoint.

ServiceMonitor example (Prometheus Operator):

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: skupper-network-observer
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: network-observer
  endpoints:
    - port: metrics
      path: /metrics

Static scrape configuration:

scrape_configs:
  - job_name: 'network-observer'
    static_configs:
      - targets: ['skupper-network-observer-metrics.default.svc:9000']

Security note: The metrics Service is ClusterIP by default and does not include the TLS proxy or authentication that protects the main console endpoint. Do not expose this Service publicly without additional access controls if your metrics contain sensitive data.

Validation and Troubleshooting

Verify Services

Check that both Services are created:

kubectl get svc -l app.kubernetes.io/name=network-observer

Example output:

NAME                              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
skupper-network-observer          ClusterIP   10.96.123.45    <none>        443/TCP    5m
skupper-network-observer-metrics  ClusterIP   10.96.123.46    <none>        9000/TCP   5m

Test Metrics Endpoint

From a pod in the same namespace:

kubectl run -it --rm curl --image=curlimages/curl --restart=Never -- curl -sS http://skupper-network-observer-metrics:9000/metrics

Example output:

# HELP skupper_network_observer_info Network Observer build information
# TYPE skupper_network_observer_info gauge
skupper_network_observer_info{version="2.2.0"} 1
...

Check Observer Logs

Look for the metrics listener startup message:

kubectl logs deployment/skupper-network-observer -c network-observer

Example output:

2025/03/15 10:23:45 Starting metrics server on :9000
2025/03/15 10:23:45 Starting API server on 127.0.0.1:8080

Verify Prometheus Configuration

If the embedded Prometheus shows no data, check the ConfigMap:

kubectl get configmap skupper-network-observer-prometheus-config -o yaml

Ensure the prometheus.yml content is valid and the scrape target matches the observer’s API listener (localhost:8080).

PersistentVolumeClaim Issues

If the pod remains in Pending state with persistence enabled:

kubectl describe pvc skupper-network-observer-prometheus-0

Look for events indicating StorageClass issues, volume provisioning failures, or capacity constraints.