Set up for GKE

This page provides an overview of how to set up Binary Authorization in your environment for use with Google Kubernetes Engine (GKE). You can set up Binary Authorization by using the Google Cloud console or the Google Cloud CLI. You can also perform some setup steps by using the Binary Authorization REST API.

For an end-to-end tutorial that includes the following setup steps, see Get started using the Google Cloud CLI or Get started using the Google Cloud console.

To set up Binary Authorization, perform the following steps:

  1. Enable Binary Authorization.
  2. Create a cluster with Binary Authorization enabled or enable Binary Authorization on an existing cluster.

  3. Configure your Binary Authorization policy.

    You can configure the following features in your policy:

  4. Optional: Use the built-by-cloud-build attestor to deploy only images built by Cloud Build (Preview).

  5. Optional: Use attestations.

  6. Deploy container images.

  7. View events in Cloud Audit Logs.