Loading tutorials
kubectl, and read basic label syntax. It covers how a NetworkPolicy chooses which pods it governs and which pods it talks about.2 min readkubectl, know what a Pod and a Namespace are, and understand how labels and selectors match objects. It covers how network policies target other namespaces, which is done through namespace labels.2 min readkubectl. It explains which component actually enforces a NetworkPolicy. A policy that nothing enforces has no effect.2 min readkubectl, know what pods, labels, and namespaces are, and are comfortable with ports and CIDR notation. It also assumes your cluster runs a network plugin that enforces policies. Without one, the objects below are accepted by the API server but2 min readkubectl. It also assumes your cluster runs a network plugin that enforces NetworkPolicy. Without one, the objects are accepted but have no effect.2 min readpolicyTypes work, how pod isolation works, and how to read a NetworkPolicy manifest. It also assumes you are comfortable with labels, namespaces, and CIDR notation.2 min readkubectl, and understand that a NetworkPolicy isolates the pods it selects. Here you will learn how a rule names the other side of a connection, called the peer.2 min readpodSelector and namespaceSelector peers, and that your network plugin enforces policies. The subject is one YAML detail: whether two selectors sit in the same list item or in separate ones. That detail decides whether a rule is narr2 min readports field of a NetworkPolicy rule. It assumes you can read ingress and egress rules, know that a policy isolates the pods it selects, and know TCP, UDP and port numbers.2 min readkubectl. It covers what happens when several policies select the same pod.2 min readnamespaceSelector and podSelector combine. It covers one specific failure: a default-deny egress policy that breaks name resolution.2 min readkubectl, know how labels and namespaces work, and have already written an ingress policy such as allow-frontend-to-backend. It also assumes your cluster's network plugin enforces NetworkPolicy.2 min readdemo namespace.2 min readNetworkPolicy API cannot express and where plugin-specific policies fill the gap.2 min read