NetworkPolicy Mistake
Find the Mistake Easy
Question
Find the mistake in this NetworkPolicy:
Code
spec:
podSelector: {}
ingress:
- from: []
Explanation
An empty from list ([]) means allow from all sources. To deny all ingress, use from: [] with an empty ingress list, or omit ingress entirely for default deny.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.