title: enable audit logging in GKE
body: <p>I want to enable dynamic auditing in GKE and send logs to some endpoint.
  How can I enable it?</p>
  
  <p><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#dynamic-backend" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#dynamic-backend</a></p>
  
  <p>According to official doc I need to restart the api server with mentioned flag. But I am not able to access kube-api server pod in GKE</p>
  
  <p>Need to set these 3 flags</p>
  
  <pre><code>--audit-dynamic-configuratio
  --feature-gates=DynamicAuditing=true
  --runtime-config=auditregistration.k8s.io/v1alpha1=true
  </code></pre>
  
  <p>I am expecting it to enable dynamic auditing.</p>