Gatekeeper is a customizable policy controller and auditor for Kubernetes. Gatekeeper accepts incoming requests to clusters and validates them in real time to make sure they comply with predefined policies.
Gatekeeper improves on the Open Policy Agent (OPA) and offers the following benefits:
- Extendable parameterized policy library.
- Native Kubernetes CRDs (constraints and constraint templates) for creating instances and extending the policy library.
- Native Kubernetes CRDs for mutations.
- Audit mode.
- Support of external data sources.
-
Configure the application:
-
Namespace: Select a namespace or create a new one.
-
Application name: Enter a name for the application.
-
Audit interval: Set the interval between audits in seconds.
0
disables audits. -
Constraint violations limit: Set the maximum number of violations to be logged for each constraint.
-
Only matching resource types: Select this option if you only need to validate those Kubernetes resource types for each constraint, which are explicitly specified in the respective constraint. If no resource types are specified or the option is disabled, all resources will be validated.
-
Create events at audit: Select this option to create a Kubernetes event for each constraint violation detected during the audit, with detailed information about the violation.
-
Events in affected namespace: Select this option if events with violation details should be created in the namespace in which a constraint violation was logged. Only applies if the Create events at audit option is enabled.
If the Events in affected namespace option is disabled, events will be created in the namespace in which Gatekeeper is installed.
-
Allow external data: Select this option to enable experimental support of external data sources.
-
-
Click Install.
-
Wait for the application to change its status to
Deployed
.
- Creating policies for Kubernetes cluster resources.
- Automatically applying the set policies across a cluster.
- Auditing cluster resources.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
Helm chart | Version | Pull-command | Documentation |
---|---|---|---|
gatekeeper | 3.12.0 | Open |
Docker image | Version | Pull-command |
---|---|---|
yandex-cloud/gatekeeper/manager1692970899580962032404619931866420091548227214435 | 3.12.0 | |
yandex-cloud/gatekeeper/crds1692970899580962032404619931866420091548227214435 | 3.12.0 | |
yandex-cloud/gatekeeper/crds1692970899580962032404619931866420091548227214435 | 3.12.0 | |
yandex-cloud/gatekeeper/crds1692970899580962032404619931866420091548227214435 | 3.12.0 | |
yandex-cloud/curl/curl1692970899580962032404619931866420091548227214435 | 7.83.1 | |
yandex-cloud/gatekeeper/crds1692970899580962032404619931866420091548227214435 | 3.12.0 |