Deploy ZAPP Listeners
Categories:
Deploy ZAPP Listener instances after the ZAPP Aggregator is running.
For the current Redfish listener deployment, enable only the redfish listener entry and set zapp.aggregatorHost to the ZAPP Aggregator gRPC service.
Redfish listener values
Helm replaces list values as a whole. If your values file redefines zapp.listeners, include the complete Redfish listener entry, including config.pipeline.
zapp:
enabled: true
image:
repository: nvcr.io/nvidia/zapp
tag: ""
pullPolicy: IfNotPresent
aggregatorHost: "zapp-aggregator.<namespace>.svc.cluster.local:9991"
metricsPort: 8888
manifestUI: true
listeners:
- name: redfish
enabled: true
replicas: 1
metricsPort: 8011
config:
pipeline: |
metricsPort: 8011
envPlugins:
sensorPipeline:
maxRedfishConnections: 1
redfishDevices:
- endpoint: ${secrets.redfish_endpoint}
username: ${secrets.redfish_username}
password: ${secrets.redfish_password}
version: 1.11.0
manifest:
path: /data/redfish-sensor-manifest.yaml
forceReload: false
components:
listener:
type: udpListener
network: udp
address: :9091
targets:
- target: payloadProcessor
cap: 1000
leaky: true
payloadProcessor:
type: payloadProcessor
timeseries:
targets:
- target: aggregator
default:
targets:
- target: aggregator
aggregator:
type: aggregatorStreamer
Important fields:
zapp.aggregatorHostis required when a listener is enabledzapp.listeners[].enabledcontrols which listener entries renderzapp.listeners[].replicascontrols the listener StatefulSet replica countzapp.metricsPortis the default listener metrics and manifest portzapp.listeners[].metricsPortoverrides the default for one listenerzapp.manifestUIcontrols whether/manifestand/manifest.jsonare served
The chart creates one StatefulSet and one headless Service for each enabled listener entry.
Redfish credentials
The chart can create a Secret from values, or reference an existing Secret. For production deployments, prefer existingSecret and manage the Secret outside the values file.
Add the secrets block to the same complete redfish listener entry. Do not redefine zapp.listeners with only the secret fields.
# Add under the complete zapp.listeners[] entry where name: redfish.
secrets:
- name: redfish-credentials
existingSecret: ""
mountPath: /secrets/redfish
data:
redfish_endpoint: "https://bmc.example.com"
redfish_username: ""
redfish_password: ""
The listener starts with one --secrets-file argument per secret entry. The generated or existing Secret is mounted at <mountPath>/<name>.
Install ZAPP Listeners
Create a values file for the Redfish listener, then install the listener chart.
helm upgrade --install zapp <path-to-zapp-chart> \
--namespace <namespace> \
--values redfish-listener-values.yaml \
--set-string zapp.aggregatorHost=zapp-aggregator.<namespace>.svc.cluster.local:9991
If you deployed the ZAPP Aggregator with a different release name or override, set zapp.aggregatorHost to the ZAPP Aggregator gRPC service name and port that your chart renders.
Verify ZAPP Listeners
Check the listener pod:
kubectl get pods --namespace <namespace>
Port-forward the Redfish listener manifest service:
kubectl --namespace <namespace> port-forward svc/zapp-listener-redfish 8011:8011
Open the listener manifest page:
http://localhost:8011/manifest
Continue with Monitor the Redfish listener for runtime validation and monitoring.