Stay organized with collections Save and categorize content based on your preferences.

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:

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

  1. In the Google Cloud console:
  2. Select Try Policy Controller.

    Screenshot of Anthos Config Management page in the Google Cloud console

  3. Select the cluster that you want to audit for the Policy Controller trial.

  4. 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.

    Screenshot of Anthos Config Management violations report in the Google Cloud console

  5. To delete the report, along with resources created to run the trial, select Delete report.

What's next