Simply amazing......... whats makes this video super duper is the practical implementation of all the possible options during the tutorial..... somethings which I guess are missed are the options is matchlables={}, [], AND & OR ie parent and child features w.r.t AND & OR
Can you please prepare a content related to CNI plugin deployment & set up in K8s cluster. Your all the content is very knowledgeable for student & IT professional.
This is one of the best video for network policy with the great example . Thanks much. Do you have a separate session on network policy using ip cidr for accessing ingress or egress?
I think I missed that in the video do you want me to explain that here, other best way would be to schedule a call with me using the link on my website, and we can discuss anything there.
Great explanation. I have doubt here. If i want to create a network policy with IPBlock CIDR to allow all the internal IPs of the kubernetes cluster nodes.(control,worker,edge). For example, From: IPBlock: CIDR: 10.91.122.158/32 Except: From: IPBlock: CIDR: 10.91.122.159/32 Except: Is it possible to create network policy resource automatically pick the IP address without giving them manually in the yaml.
Hi Gopi, That's a great question, unfortunately I am not sure if that's possible. If that's not already possible, you can maybe try to write your own controller that is going to do this for you. But we would be over engineering the things I think 🤔.
@Vivek Singh Do you see any other way to automate to get this network policy created. I have to deploy our applications in multiple clusters. Do not want to have it manually apply the network policy as pre-requisites. or controller is the only option.(If yes, any example you have already to refer)
Hi, I am not sure if there are other ways that can be leveraged. But writing custom controller should work. I have a playlist where I wrote a kubernetes custom controller from scratch. See, if that can help you.
Hey, I am sorry about that. Can you please explain a bit more about what exactly it is that you didn't like so that I can try to improve in next videos. For example did I not explain what network policies are or what I said was incorrect.