Skip to main content

KQD 2

  • June 15, 2022
  • 7 comments
  • 100 views

Geoff Burke
Forum|alt.badge.img+22

Kubernetes Question of the Day 2 Here we go DAY 2!

Namespaces are used in Kubernetes for isolating resources. However, this does not affect networking. For network isolation you would need to create network policies in order to segregate workloads.

7 comments

vNote42
Forum|alt.badge.img+12
  • On the path to Greatness
  • June 15, 2022

oh, much harder than yesterday...


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • June 15, 2022

oh, much harder than yesterday...

I agree, but we dare not NOT reveal the answer :-) 😁


Chris.Childerhose
Forum|alt.badge.img+21

Fingers crossed I get this one.  Got question 1 wrong. 😋😂


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • June 15, 2022

oh, much harder than yesterday...

Definitely much harder that yesterday. Fingers crossed. 


Geoff Burke
Forum|alt.badge.img+22
  • Author
  • Veeam Vanguard
  • June 16, 2022

The Answer is TRUE!

 

Kuberenetes namespaces will not stop net work traffic. For that you have to implement Network Policies and leverage a CNI (Container Network Interface) that supports Network Policies.

 

For a deeper explanation, as always, the official Kube docs are your friend:
 

https://kubernetes.io/docs/concepts/services-networking/network-policies/

 

If you want to have some fun and play around with Netpol in minikube here is a great post to try:

 

https://simondrake.dev/2022-01-09-testing_network_policies_with_minikube/

 

cheers


Rick Vanover
Forum|alt.badge.img+10

FUN!


Chris.Childerhose
Forum|alt.badge.img+21

Woohoo 1 for 2 so far.  Let’s try 3.  😋🤣