-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shinystatus/0-triage
Description
Description
Initial hackery to see what's involved ... https://github.com/moby/moby/compare/master...robmry:moby:nri-poc?expand=1
At the moment it ...
- Imports containerd/nri/pkg/adaptation
- Starts and runs the adaptation layer.
- Which creates a listening socket for plugins to register with.
- Allows plugins to sync with current container state.
- Makes a call for container-create lifecycle event.
- Picks up and applies "adjustments" of env-vars in response to that event.
- Has the beginnings of an integration test, checking env-var updates by registering the test process as a plugin.
- Experiments with daemon-level config options to enable NRI and set up filesystem locations for the socket, plugins and plugin config.
- Mucks around with logging from the adaptation package, to fit with moby's logging.
Metadata
Metadata
Assignees
Labels
kind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shinyFunctionality or other elements that the project doesn't currently have. Features are new and shinystatus/0-triage