Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupControllers ¶
func SetupRelayController ¶
func SetupRelayController(mgr ctrl.Manager, namespace, routerURL string, enableRelay bool, artifact RelayArtifactConfig) error
SetupRelayController registers the InferenceRelay reconciler. It is feature-gated and only activated when enableRelay is true.
Types ¶
type RelayArtifactConfig ¶
type RelayArtifactConfig struct {
// URLs are the base mirror URLs (cloud-init appends "/<binary>"). At least
// one is required; multiple provide cross-cloud resilience.
URLs []string
// SHA256Arm64 is the hex SHA-256 of the arm64 relay-proxy binary.
SHA256Arm64 string
// SHA256Amd64 is the hex SHA-256 of the amd64 relay-proxy binary.
SHA256Amd64 string
}
RelayArtifactConfig holds the relay-proxy binary distribution settings the controller embeds into each relay VM's cloud-init. All fields are required when the relay controller is enabled: a VM without a download path produces a structurally provisioned but non-functional relay (systemd unit references a binary that never arrives).
Click to show internal directories.
Click to hide internal directories.