Try Policy Controller
You can create a trial report of Policy Controller in the Google Cloud console to audit your Anthos or GKE clusters. This trial lets you audit a cluster against the Policy Essentials bundle, a set of baseline policies based on Google-recommended best practices. You can then view any policy violations in a dashboard in the Google Cloud console.
The trial does not install Policy Controller on your clusters and does not incur any billing charges. You can install Policy Controller to leverage more capabilities such as policy enforcement at CI/CD or admission time, continuous auditing of clusters, and access to the full constraint template library, which you can use to apply constraints to enforce policies without writing custom constraints.
To follow step-by-step guidance for this task directly in the Google Cloud console, click Guide me:
Before you begin
Before you start, make sure you have access to an Anthos cluster or a Google Kubernetes Engine cluster that is running a Kubernetes version 1.14.x or later.
Create a Policy Controller trial report
- In the Google Cloud console:
Select Try Policy Controller.
Select the cluster that you want to audit for the Policy Controller trial.
Select Create report.
After a few minutes, you will see the report generated for your cluster. You can view the number of policy violations in your cluster and details of those violations.
To delete the report, along with resources created to run the trial, select Delete report.
- Learn more about Policy Controller.
- Learn more about Policy Controller bundles.
- Install Policy Controller.
- Learn how to create a constraint.
- Use the constraint template library provided by Google.
- Find out how to Use CIS Kubernetes Benchmark policy constraints.