Рет қаралды 3,746
In this video, I have explained the Network policy for the Kubernetes. This is one of the most important security feature of Kubernetes and in CKS exam too, this questions carries weightage of around 9-12%.
Topics covered in this video:
00:00 - Introduction
00:10 - What we will cover
00:32 - Certifications
00:52 - Learning Path
01:32 - Network Security
02:52 - Traffic types
03:16 - Policies
05:14 - Network Policy
Kubernetes assets that control the traffic between pods. Kubernetes network policy lets developers secure access to and from their applications. This is how we can restrict a user's access.
➤ How Does Network Policy Work?
There are unlimited situations where you need to permit or deny traffic from specific or different sources. This is utilized in Kubernetes to indicate how gatherings of pods are permitted to speak with one another and with outside endpoints.
➤ Network Policy In Pods
All Pods in Kubernetes communicate with each other which are present in the cluster. By default all Pods are non-isolated however Pods become isolated by having a Kubernetes Network Policy in Kubernetes.
Default Network Policies In Kubernetes
➥Default deny all ingress traffic
➥Default permit all ingress traffic
➥Default deny all Egress traffic
➥Default permit all Egress traffic
➥Default deny all Ingress and all Egress traffic
#KubernetesNetworkPolicy #KubernetesCluster #K8S