Mohammad Samiullah:
I can’t seem to apply the audit policy and getting this error in the lab section for use audit logs " error: unable to recognize “prod-audit.yaml”: no matches for kind “Policy” in version “http://audit.k8s.io/v1|audit.k8s.io/v1”
Vijin Palazhi:
Are you trying to use kubectl create/apply to create this object? If so, that is incorrect. You should enable this file within the kube-apiserver
1 Like