Kubernetes CKAD Exam - Setup Egress Network Policy

  Рет қаралды 2,074

My Cloud Tutorials

My Cloud Tutorials

2 жыл бұрын

In this video, we will explore Kubernetes NetworkPolicy.
Sample Exam Question:
In the default namespace, we have created 2 deployments frontend and backend. Both deployments are exposed using ClusterIP Services.
Create a NetworkPolicy named fe-netpol to restrict outgoing TCP connections from frontend deployment and only allow those going to backend deployment.
Note: Make sure the Policy allows outgoing traffic on TCP/UDP ports 53 for DNS resolution.
In our case, we will setup deployment, services from scratch on a local 3 node Kubernetes cluster that I setup using KubeAdm. Then we will test the services are working. We will also test that frontend pod is able to connect to backend-service and outside world (like curl google.com)
After we apply Egress Network Policy, the frontend pods should still be able to connect to backend service, but can not curl google.com. Our NetworkPolicy successfully restricted the outbound connections from the POD.
#kubernetes #cka #ckad

Пікірлер: 6
@BVetriwin7308
@BVetriwin7308 2 жыл бұрын
Great explanation bro thank you, expecting more videos from you
@MyCloudTutorials
@MyCloudTutorials 2 жыл бұрын
Glad you like it! Thanks so much for suggesting the topic!
@asifmohammed523
@asifmohammed523 2 жыл бұрын
Thanks for this video...need more videos like this👍
@MyCloudTutorials
@MyCloudTutorials 2 жыл бұрын
Glad you like it! Please subscribe and share. I am planning to make more videos on Kubernetes, AWS and GCP.
@dinakarjanga6710
@dinakarjanga6710 Жыл бұрын
Hi....I really like your way of explanation...thank you. Could you please post a video on Node Affinity/Anti Affinity and Pod Affinity/Anti Affinity. Those topics are really so confusing. Thanks in Advance.
@Angelas20
@Angelas20 2 жыл бұрын
Not getting this ports section in documentation.
CKA CKAD Practice Question - Kubernetes Secrets
17:39
My Cloud Tutorials
Рет қаралды 1,3 М.
Network Policies in kubernetes
34:42
Deekshith SN
Рет қаралды 12 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 57 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 34 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Kubernetes CKAD exam - Persistent Volume, Claims and Pods
14:44
My Cloud Tutorials
Рет қаралды 945
Kubernetes Network Policies Explained
19:02
DevOps Toolkit
Рет қаралды 12 М.
Amazon VPC And Networking - Hands-On Demo
32:08
My Cloud Tutorials
Рет қаралды 3 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 252 М.
Kubernetes Ingress in 5 mins
5:41
IBM Technology
Рет қаралды 182 М.
CKAD Exam | CKAD 2024 | Application Design and Build  20%
28:24
anishrana2001
Рет қаралды 1,1 М.
Kubernetes Network Policy Tutorial - yaml explained + Demo Calico
15:35
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 6 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 948 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 14 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 905 М.