Skip to content

Conversation

@ipspace
Copy link
Owner

@ipspace ipspace commented Jan 3, 2026

The "kind" plugin implements Kubernetes in Docker (KinD) cluster for containerlab deployments

@ipspace
Copy link
Owner Author

ipspace commented Jan 3, 2026

@wnagele -- the "kind" plugin (documentation included in PR) successfully starts a single-node or multi-node KinD cluster, including attachments to LAN or P2P links.

The configuration of the cluster nodes (IP addresses and static routes) is still missing, but I think I know how I'll handle that. A few more days...

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new "kind" plugin that implements Kubernetes in Docker (KinD) cluster deployments for containerlab. The plugin creates multi-node Kubernetes clusters from a single node definition, automatically expanding it into control-plane and worker nodes with appropriate networking.

Changes:

  • Adds kind plugin with pre_node_transform hook to expand kind device nodes into KinD clusters
  • Adds kind and kind-node daemon definitions with Linux parent configuration
  • Extends clab provider with cp_sh mode for copying and executing scripts in containers
  • Adds comprehensive documentation for the plugin

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
netsim/providers/clab.py Adds cp_sh mode for copying files into containers before executing them
netsim/extra/kind/plugin.py Core plugin logic to expand kind nodes into control-plane and worker nodes with link replication
netsim/extra/kind/defaults.yml Device definitions for kind and kind-node daemons
netsim/daemons/kind/initial.j2 KinD cluster configuration template
docs/plugins/kind.md Plugin documentation with usage examples
docs/plugins.md Adds kind plugin to documentation index
docs/platforms.md Updates platform support tables and adds daemon-related notes

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@ipspace
Copy link
Owner Author

ipspace commented Jan 15, 2026

@wnagele -- This should be it. The cluster comes up and IP addresses and static routes are configured on cluster nodes.

Would love to hear your feedback before merging it. Thank you!

@ipspace ipspace marked this pull request as draft January 17, 2026 08:40
@ipspace
Copy link
Owner Author

ipspace commented Jan 17, 2026

Will change the way "kind" device is defined and tied to the "kind" plugin based on the kind remark by @jbemmel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants