Hi Team, Is there any imperative command to create network policies or extract y . . .

HITESH RATHOD:
Hi Team,
Is there any imperative command to create network policies or extract yaml via commands ?

Tej_Singh_Rana:
Hello, @HITESH RATHOD
There is no imperative command to extract yaml instead of that you can copy template from official k8s docs.
https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource

HITESH RATHOD:
Thanks a lot Tej for your response and guidance