Skip to main content

KQD 2


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+13
  • On the path to Greatness
  • 1246 comments
  • June 15, 2022

oh, much harder than yesterday...


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • 1395 comments
  • June 15, 2022
vNote42 wrote:

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
  • Veeam Legend
  • 809 comments
  • June 15, 2022
vNote42 wrote:

oh, much harder than yesterday...

Definitely much harder that yesterday. Fingers crossed. 


Geoff Burke
Forum|alt.badge.img+22
  • Author
  • Veeam Legend, Veeam Vanguard
  • 1318 comments
  • 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.  πŸ˜‹πŸ€£


Comment