dps-bmc-simulator

by CodeScriptum

Helm chartv0.10.1App 0.10.1

DPS BMC Simulator

About this chart

dps-bmc-simulator

DPS BMC Simulator

Pre-Requisites

  • Kubernetes
  • Helm

Surrogate instances

Use dpsBmcSimulator.surrogateMocks.instances to split surrogate hosts across independent BMC and PowerMorph pods. Enabling surrogate mocks requires at least one instance. The chart deploys one admin and metrics Service per instance and one shared CoreDNS server with prefix routing.

dpsBmcSimulator:
  surrogateMocks:
    enabled: true
    instances:
      - name: shard-0
        hostnamePrefix: vr-s00-
        nodes: [vr-s00-0000, vr-s00-0001]

Route instance Services through platform-owned Ingress or Gateway API resources when external access is required.

Values

KeyTypeDefaultDescription
dpsBmcSimulator.affinityobject{}Affinity preset for all components
dpsBmcSimulator.b200Mocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.b200Mocks.enabledbooltrueEnable b200 mocks
dpsBmcSimulator.b200Mocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for b200 mocks
dpsBmcSimulator.b200Mocks.nodeslist["b200-0001","b200-0002"]List of BMC mock hostnames REQUIREMENTS: Must be valid RFC 1123 DNS names (lowercase alphanumeric + hyphens, start/end with alphanumeric, max 63 chars)
dpsBmcSimulator.b200Mocks.portNamestring"https"b200 mocks port name
dpsBmcSimulator.b200Mocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for b200 mocks
dpsBmcSimulator.b200Mocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for b200 mocks
dpsBmcSimulator.b200Mocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.b200Mocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.b200Mocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.b200Mocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.b200Mocks.serviceNamestring"bmc-b200-simulator"b200 mocks service name
dpsBmcSimulator.b300Mocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.b300Mocks.enabledbooltrueEnable b300 mocks
dpsBmcSimulator.b300Mocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for b300 mocks
dpsBmcSimulator.b300Mocks.nodes[0]string"b300-0001"
dpsBmcSimulator.b300Mocks.nodes[1]string"b300-0002"
dpsBmcSimulator.b300Mocks.portNamestring"https"b300 mocks port name
dpsBmcSimulator.b300Mocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for b300 mocks
dpsBmcSimulator.b300Mocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for b300 mocks
dpsBmcSimulator.b300Mocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.b300Mocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.b300Mocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.b300Mocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.b300Mocks.serviceNamestring"bmc-b300-simulator"b300 mocks service name
dpsBmcSimulator.defaultDelaystring"" (no artificial response delay)Default response delay applied to every simulator response (for example, "200ms", "1s").
dpsBmcSimulator.deploymentAnnotationsobject{}Annotations for the all deployed Deployments
dpsBmcSimulator.dnsServer.image.pullPolicystring"IfNotPresent"Image pull policy
dpsBmcSimulator.dnsServer.image.repositorystring"coredns/coredns"CoreDNS image repository
dpsBmcSimulator.dnsServer.image.tagstring"1.14.7"CoreDNS image tag
dpsBmcSimulator.dnsServer.replicasint1Number of DNS server replicas
dpsBmcSimulator.dnsServer.resources.limits.cpustring"500m"
dpsBmcSimulator.dnsServer.resources.limits.memorystring"256Mi"
dpsBmcSimulator.dnsServer.resources.requests.cpustring"50m"
dpsBmcSimulator.dnsServer.resources.requests.memorystring"64Mi"
dpsBmcSimulator.gb200Mocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.gb200Mocks.enabledbooltrueEnable gb200 mocks
dpsBmcSimulator.gb200Mocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for gb200 mocks
dpsBmcSimulator.gb200Mocks.nodes[0]string"gbs0001"
dpsBmcSimulator.gb200Mocks.portNamestring"https"gb200 mocks port name
dpsBmcSimulator.gb200Mocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for gb200 mocks
dpsBmcSimulator.gb200Mocks.responseDelayConfigobject{}Optional route-scoped response delay config for E2E fault injection.
dpsBmcSimulator.gb200Mocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for gb200 mocks
dpsBmcSimulator.gb200Mocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.gb200Mocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.gb200Mocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.gb200Mocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.gb200Mocks.serviceNamestring"bmc-gb200-simulator"gb200 mocks service name
dpsBmcSimulator.gb300Mocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.gb300Mocks.enabledbooltrueEnable gb300 mocks
dpsBmcSimulator.gb300Mocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for gb300 mocks
dpsBmcSimulator.gb300Mocks.nodes[0]string"gb30001"
dpsBmcSimulator.gb300Mocks.portNamestring"https"gb300 mocks port name
dpsBmcSimulator.gb300Mocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for gb300 mocks
dpsBmcSimulator.gb300Mocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for gb300 mocks
dpsBmcSimulator.gb300Mocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.gb300Mocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.gb300Mocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.gb300Mocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.gb300Mocks.serviceNamestring"bmc-gb300-simulator"gb300 mocks service name
dpsBmcSimulator.globalLabelsobject{"app.kubernetes.io/component":"bmc-credentials"}Common labels for the all resources
dpsBmcSimulator.h100Mocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.h100Mocks.enabledbooltrueEnable h100 mocks
dpsBmcSimulator.h100Mocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for h100 mocks
dpsBmcSimulator.h100Mocks.nodeslist["h100-0001","h100-0002"]List of BMC mock hostnames REQUIREMENTS: Must be valid RFC 1123 DNS names (lowercase alphanumeric + hyphens, start/end with alphanumeric, max 63 chars) EXAMPLES: "h100-0001", "h100-dgx-001", "eos0210", "node01" Pattern detection automatically groups hostnames with common prefixes for efficient DNS routing
dpsBmcSimulator.h100Mocks.portNamestring"https"h100 mocks port name
dpsBmcSimulator.h100Mocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for h100 mocks
dpsBmcSimulator.h100Mocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for h100 mocks
dpsBmcSimulator.h100Mocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.h100Mocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.h100Mocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.h100Mocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.h100Mocks.serviceNamestring"bmc-h100-simulator"h100 mocks service name
dpsBmcSimulator.hostnameResolutionstring"svc-per-hostname"Hostname resolution strategy for BMC mocks
dpsBmcSimulator.image.imagePullSecretslist[]Secret with credentials to pull images from a container registry
dpsBmcSimulator.image.pullPolicystring"IfNotPresent"Image pull policy
dpsBmcSimulator.image.repositorystring"nvcr.io/nvidia/dps-bmc-simulator"Image Repository
dpsBmcSimulator.image.tagstring"" (defaults to ".chart.version")Image tag
dpsBmcSimulator.ingress.annotationsobject{}Ingress Annotations
dpsBmcSimulator.ingress.classNamestring""Ingress class name
dpsBmcSimulator.ingress.enabledboolfalseEnable Ingress
dpsBmcSimulator.ingress.hostnamestring"bmc-simulator.dps"Ingress hostname
dpsBmcSimulator.ingress.tlslist[]Ingress TLS configuration
dpsBmcSimulator.lpuMocks.createSecretsbooltrueCreate per-node K8s Secrets for BMC credentials (disable when using a shared secret)
dpsBmcSimulator.lpuMocks.enabledboolfalseEnable LPU mocks. LPU trays limit power by selecting a PowerMode profile rather than by writing absolute watts.
dpsBmcSimulator.lpuMocks.livenessProbeobject{"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":10}Liveness probe configuration for LPU mocks
dpsBmcSimulator.lpuMocks.nodes[0]string"lpu0001"
dpsBmcSimulator.lpuMocks.portNamestring"https"LPU mocks port name
dpsBmcSimulator.lpuMocks.readinessProbeobject{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Readiness probe configuration for LPU mocks
dpsBmcSimulator.lpuMocks.responseDelayConfigobject{}Optional route-scoped response delay config for E2E fault injection.
dpsBmcSimulator.lpuMocks.serviceMonitor.enabledboolfalseEnable ServiceMonitor for LPU mocks
dpsBmcSimulator.lpuMocks.serviceMonitor.intervalstring"30s"ServiceMonitor scrape interval
dpsBmcSimulator.lpuMocks.serviceMonitor.schemestring"https"ServiceMonitor scheme (http or https)
dpsBmcSimulator.lpuMocks.serviceMonitor.scrapeTimeoutstring"10s"ServiceMonitor scrape timeout
dpsBmcSimulator.lpuMocks.serviceMonitor.tlsConfig.insecureSkipVerifybooltrueTLS certificate verification
dpsBmcSimulator.lpuMocks.serviceNamestring"bmc-lpu-simulator"LPU mocks service name
dpsBmcSimulator.maxActiveRequestsint4096Maximum concurrently executing simulator requests. Additional requests wait for capacity.
dpsBmcSimulator.maxConnectionsint0Maximum accepted HTTP connections. Zero disables the connection cap.
dpsBmcSimulator.maxIdleConnectionsint4096Maximum retained idle HTTP keepalive connections before the oldest idle connection is closed.
dpsBmcSimulator.nodeSelectorobject{}nodeSelector for all components
dpsBmcSimulator.podAnnotationsobject{}Annotations for the all deployed pods
dpsBmcSimulator.podLabelsobject{}Labels for the all deployed pods
dpsBmcSimulator.powerSnapshot.intervalstring"5s"Interval between background snapshot refreshes (e.g. "5s", "10s").
dpsBmcSimulator.proxy.auth.bearer.secretKeystring"bmc"
dpsBmcSimulator.proxy.auth.bearer.secretMountPathstring"/home/nvs/secrets/redfish-proxy/auth"Directory where the bearer token credential Secret is mounted.
dpsBmcSimulator.proxy.auth.bearer.secretNamestring"redfish-proxy-auth"Example bearer token credential secret settings for proxy ingress auth.
dpsBmcSimulator.proxy.auth.bearer.tokenstring""Example bearer token value. Rendered into secretKey as token: <value>.
dpsBmcSimulator.proxy.auth.modestring""Proxy ingress auth mode. Set explicitly to none, bearer, or mtls when proxy.enabled is true.
dpsBmcSimulator.proxy.auth.mtls.allowedPrincipalslist[]Accepted mTLS client SPIFFE or URI SAN principals.
dpsBmcSimulator.proxy.backendCredential

Deploy dps-bmc-simulator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dps-bmc-simulator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdps-bmc-simulator is pinned at v0.10.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply