Open SimonBaeumer opened 1 year ago
This is a great idea, thanks @SimonBaeumer! Sadly I don't have time to take this on but would welcome any PRs.
@SimonBaeumer how about kube-capacity --node-labels 'node-role.kubernetes.io/worker,!node-role.kubernetes.io/infra'
?
Currently it is possible to filter node labels with
--node-labels
. In reality some nodes have two labels likenode-role.kubernetes.io/worker
andnode-role.kubernetes.io/infra
. To exclude a node with a second label I would like to propose a feature to exclude labels with--exclude-node-labels
.