Тёмный

Kubernetes CKAD Exam - Setup Egress Network Policy 

My Cloud Tutorials
Подписаться 1,6 тыс.
Просмотров 2,2 тыс.
50% 1

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

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 2 года назад
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
Просмотров 1,4 тыс.
Network Policies in kubernetes
34:42
Просмотров 12 тыс.
skibidi toilet multiverse 042
20:57
Просмотров 4,7 млн
Fake Referee Whistle Moments 😅
00:38
Просмотров 4,9 млн
Amazon VPC And Networking - Hands-On Demo
32:08
Просмотров 3,1 тыс.
Network Policies in Kubernetes Explained
26:52
Просмотров 3,8 тыс.
Kubernetes GitOps using ArgoCD
23:37
Просмотров 684