Skip to content

Implement KubeletPluginBuilder — configuration, start, and stop lifecycle #8

@gauravgahlot

Description

@gauravgahlot

Equivalent to Go's options struct, Helper struct, and Start function. This is the main
entry point for library users. The builder should accept all the configuration knobs the Go
library exposes: driver name, kube client, node name, node UID, registrar directory, plugin
data directory, socket names, rolling update UID, serialization toggle, flock directory, and
individual toggles for the DRA and registration services. The start method validates required
fields, enforces mutual exclusion between rolling update UID and an explicit registrar socket
name, applies defaults, starts both gRPC servers, and returns a KubeletPlugin handle. stop
cancels all background tasks and waits for them to finish.

References

Metadata

Metadata

Assignees

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