Send feedback
Set up for GKE
Stay organized with collections
Save and categorize content based on your preferences.
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:
Enable Binary Authorization .
Create a cluster
with Binary Authorization enabled or
enable Binary Authorization on an existing cluster .
Note: Binary Authorization doesn't enforce init containers.
Configure your Binary Authorization policy.
Note: Skip this step if you want to use attestations.
You can configure the following features in your policy:
Optional: Use the built-by-cloud-build
attestor to deploy only images built by Cloud Build (Preview ).
Optional: Use attestations .
Deploy container images .
View events in Cloud Audit Logs .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?