deployments

package
v0.2.1-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevicePluginDaemonset

func DevicePluginDaemonset() *apps.DaemonSet

func DynamicResourceAllocationClusterRole

func DynamicResourceAllocationClusterRole() *rbac.ClusterRole

func DynamicResourceAllocationClusterRoleBinding

func DynamicResourceAllocationClusterRoleBinding() *rbac.ClusterRoleBinding

func DynamicResourceAllocationDaemonset

func DynamicResourceAllocationDaemonset() *apps.DaemonSet

func DynamicResourceAllocationDeviceClass

func DynamicResourceAllocationDeviceClass() *resv1.DeviceClass

func DynamicResourceAllocationMonitorClaimTemplate

func DynamicResourceAllocationMonitorClaimTemplate() *resv1.ResourceClaimTemplate

func DynamicResourceAllocationServiceAccount

func DynamicResourceAllocationServiceAccount() *core.ServiceAccount

func DynamicResourceAllocationValidatingAdmissionPolicy

func DynamicResourceAllocationValidatingAdmissionPolicy() *adreg.ValidatingAdmissionPolicy

func DynamicResourceAllocationValidatingAdmissionPolicyBinding

func DynamicResourceAllocationValidatingAdmissionPolicyBinding() *adreg.ValidatingAdmissionPolicyBinding

func NFDNodeFeatureRulesGpu

func NFDNodeFeatureRulesGpu() *nfdcrd.NodeFeatureRule

func PrometheusServiceMonitor

func PrometheusServiceMonitor() *prometheusv1.ServiceMonitor

func XpuManagerDaemonset

func XpuManagerDaemonset() *apps.DaemonSet

func XpuManagerFWUpdateJob

func XpuManagerFWUpdateJob() *batch.Job

func XpuManagerService

func XpuManagerService() *core.Service

Types

type IntelXPUInfoExporter

type IntelXPUInfoExporter struct {
	Endpoint string `json:"endpoint,omitempty"`
}

IntelXPUInfoExporter exports health status over a unix domain socket.

type IntelXPUReceiver

type IntelXPUReceiver struct {
	LogLevel           string                 `json:"log_level"`
	CollectionInterval string                 `json:"collection_interval"`
	InitialDelay       string                 `json:"initial_delay"`
	Timeout            int                    `json:"timeout"`
	SamplingInterval   string                 `json:"sampling_interval"`
	Metrics            map[string]interface{} `json:"metrics,omitempty"`
}

IntelXPUReceiver is the configuration for the intelxpu receiver.

type IntelXPUStatusProcessor

type IntelXPUStatusProcessor struct {
	Rules []StatusRule `json:"rules"`
}

IntelXPUStatusProcessor is the configuration for the intelxpustatus processor.

type KeyValues

type KeyValues struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

KeyValues is a key with a list of matching values used for metric filtering.

type OTelConfig

type OTelConfig struct {
	Receivers  OTelReceivers          `json:"receivers"`
	Processors OTelProcessors         `json:"processors"`
	Exporters  OTelExporters          `json:"exporters"`
	Extensions map[string]interface{} `json:"extensions"`
	Service    OTelService            `json:"service"`
}

OTelConfig represents the OpenTelemetry Collector configuration for XPU Manager.

func XpuManagerOTelConfig

func XpuManagerOTelConfig() *OTelConfig

type OTelExporters

type OTelExporters struct {
	IntelXPUInfo IntelXPUInfoExporter `json:"intelxpuinfo"`
	Prometheus   PrometheusExporter   `json:"prometheus"`
}

OTelExporters holds exporter configurations.

type OTelLogs

type OTelLogs struct {
	Level             string `json:"level"`
	DisableStacktrace bool   `json:"disable_stacktrace"`
}

OTelLogs configures log level and stack traces for the collector itself.

type OTelPipelines

type OTelPipelines struct {
	Metrics PipelineMetrics `json:"metrics"`
}

OTelPipelines defines the data pipelines in the collector.

type OTelProcessors

type OTelProcessors struct {
	IntelXPUStatus IntelXPUStatusProcessor `json:"intelxpustatus"`
}

OTelProcessors holds processor configurations.

type OTelReceivers

type OTelReceivers struct {
	IntelXPU IntelXPUReceiver `json:"intelxpu"`
}

OTelReceivers holds receiver configurations.

type OTelService

type OTelService struct {
	Telemetry OTelTelemetry `json:"telemetry"`
	Pipelines OTelPipelines `json:"pipelines"`
}

OTelService is the top-level service configuration block.

type OTelTelemetry

type OTelTelemetry struct {
	Logs OTelLogs `json:"logs"`
}

OTelTelemetry configures the collector's own telemetry output.

type PipelineMetrics

type PipelineMetrics struct {
	Receivers  []string `json:"receivers"`
	Processors []string `json:"processors"`
	Exporters  []string `json:"exporters"`
}

PipelineMetrics lists the components forming the metrics pipeline.

type PrometheusExporter

type PrometheusExporter struct {
	Endpoint string `json:"endpoint"`
}

PrometheusExporter exposes metrics on a Prometheus-compatible HTTP endpoint.

type StateCondition

type StateCondition struct {
	Value float64 `json:"value"`
}

StateCondition is a threshold condition for a health state.

type StatusRule

type StatusRule struct {
	Name               string            `json:"name"`
	SourceMetric       string            `json:"source_metric"`
	ParentMetric       string            `json:"parent_metric"`
	ParentRefAttribute string            `json:"parent_ref_attribute"`
	ParentFilters      []KeyValues       `json:"parent_filters"`
	ComponentFilters   []KeyValues       `json:"component_filters"`
	CopyAttributes     []string          `json:"copy_attributes"`
	AddAttributes      map[string]string `json:"add_attributes"`
	States             []StatusState     `json:"states"`
}

StatusRule defines a single health evaluation rule.

type StatusState

type StatusState struct {
	StateName  string           `json:"state_name"`
	Conditions []StateCondition `json:"conditions,omitempty"`
}

StatusState defines a named health state, optionally gated by conditions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL