Skip to content

Implement RegistrationServer — kubelet plugin registration gRPC service #6

@gauravgahlot

Description

@gauravgahlot

Equivalent to Go's registrationserver.go. Implements the two RPCs that kubelet calls when
it discovers a new plugin socket: GetInfo returns the driver name, DRA endpoint path, and
supported API versions; NotifyRegistrationStatus stores the registration outcome and returns
an error if registration failed. For testability, both handlers should support runtime error
injection via atomic pointers, matching Go's setGetInfoError and setNotifyRegistrationStatusError.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions