KubeLinter

KubeLinter

Community Analyzer

NetworkPolicy without associated deployments KUBELIN-W1006

Anti-pattern
Major

Indicates when networkpolicies do not have any associated deployments.

Remediation

Confirm that your networkPolicy's podselector correctly matches the labels on one of your deployments.