Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior for kinD nodes when using the --node-selector option #2106

Open
simcod opened this issue Jun 24, 2024 · 2 comments
Open

Comments

@simcod
Copy link

simcod commented Jun 24, 2024

To reproduce this issue, the following codebase can be used.
The creation of the kinD clusters can be used in combination with the --node-selector option:

sudo containerlab deploy --topo topo.yaml --node-filter k01

However, destruction is not possible:

sudo containerlab destroy --topo topo.yaml --node-filter k01
# Output
INFO[0000] no containerlab containers found

The expected behaviour would be that containerlab only destroys the node k01.

The following commands are working as expected for the node srl01:

sudo containerlab deploy --topo topo.yaml --node-filter srl01

sudo containerlab destroy --topo topo.yaml --node-filter srl01
@hellt
Copy link
Member

hellt commented Jun 24, 2024

Yes, node filters feature has some issues, and I presume mostly with nodes deployed outside of containerlab (like kind nodes).

@simcod
Copy link
Author

simcod commented Jun 25, 2024

@hellt Thanks for your quick reply.

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

No branches or pull requests

2 participants