Thanks to visit codestin.com
Credit goes to github.com

Skip to content

NRI: Prototype/PoC #51346

@robmry

Description

@robmry

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 shinystatus/0-triage

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions