Cheedge Leenotes-renovation.hashnode.dev·Jan 10, 2025Typo caused difference in NetworkPolicy yaml fileCheck following two networkpolicy yaml file, np1.yaml and np2.yaml: # np1.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: np namespace: space1 spec: podSelector: {} policyTypes: - Egress egress: - to: - nam...Kubernetes NetworkingKubernetes
Cheedge Leenotes-renovation.hashnode.dev·Jan 10, 2025CKA Quick Check Points -- NetworkQuick recap for network. Details can click the title link or check the official doc. SVC 1. create # target port: listening port inside container # port: service internal port # NodePort: expose external port kubectl expose deployment nginx --name n...CKA Quick Check PointsKubernetes
Cheedge Leenotes-renovation.hashnode.dev·Jan 3, 2025CKA Recap -- Ingress & NetworkPolicyIngress ingress to make external to access: domain_name:port/path Field: rules.ingressClassName path -> path backend.service.name -> service port -> service port host -> domain name apiVersion: networking.k8s.io/v1 kind: Ingress metadata: ...Kubernetes CKA RecapKubernetes
Rahul Vadakkiniyilrahulvadakkiniyil.hashnode.dev·Oct 7, 2024Day 26 of 40daysofkubernetes : Kubernetes Network PoliciesKubernetes, being a powerful orchestration tool, provides a way to manage and enforce rules for network traffic within a cluster through Network Policies. In this blog, we'll explore what a Network Policy is, why it's essential, and how to create a K...32 reads#40daysofkubernetes
Shivam Gautamshivamgautam.hashnode.dev·Aug 14, 2024Kubernetes Network Policies: Day 26 of 40daysofkubernetesIntroduction By default, pods in Kubernetes are non-isolated, meaning they can freely communicate with any other pod within the cluster. For example, a frontend pod can interact with both the backend and database pods, the backend pod can communicat...40daysofkubernetesKubernetes
Gaurav Kumarkubernetes-by-gaurav.hashnode.dev·Jun 26, 2024NetworkPolicy in Kubernetes with exampleIntroduction In Kubernetes we can deploy as many as pods which is for different application or have specific usage, by default in Kubernetes cluster all pods can communicate to each other but If we want some specific pods to not be communicated by ot...Kubernetes
Saiyam PathakforKubesimplifyblog.kubesimplify.com·Mar 23, 2024Why are network policies in Kubernetes so hard to understand?In Kubernetes, the concept of network policies allows you to control the traffic flow within a cluster. Essentially, by creating policies, you determine which pods can access others, streamlining the process of restricting traffic between different a...442 readsnetworkpolicy