Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for Kubernetes
  • Comparison with other Yandex Cloud services
  • Getting started
    • All guides
    • Connecting to a node over SSH
    • Connecting to a node via OS Login
    • Updating Kubernetes
    • Configuring autoscaling
      • Getting started with Cloud Marketplace
      • Installing Argo CD
      • Installing Chaos Mesh
      • Installing cert-manager with the Cloud DNS ACME webhook plugin
      • Installing Container Storage Interface for S3
      • Installing Crossplane
      • Installing External Secrets Operator
      • Installing ExternalDNS with a plugin for Cloud DNS
      • Installing Falco
      • Installing Filebeat OSS
      • Installing Fluent Bit
      • Installing Gatekeeper
      • Installing Gateway API
      • Installing the GitLab Agent
      • Installing GitLab Runner
      • Installing HashiCorp Vault
      • Installing Ingress NGINX
      • Installing the Application Load Balancer Ingress controller
      • Upgrading the Application Load Balancer Ingress controller
      • Installing Istio
      • Installing Jaeger
      • Installing Kruise
      • Installing Kyverno & Kyverno Policies
      • Installing Loki
      • Installing Metrics Provider
      • Installing NodeLocal DNS
      • Installing Policy Reporter
      • Installing Prometheus Operator
      • Installing Thumbor
      • Installing Velero
    • Connecting external nodes to the cluster
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Getting started
  • Installation using Yandex Cloud Marketplace
  • Installation using a Helm chart
  • Application versions
  • Uninstalling the application
  • Use cases
  • See also
  1. Step-by-step guides
  2. Installing apps from Cloud Marketplace
  3. Installing Kyverno & Kyverno Policies

Installing Kyverno & Kyverno Policies

Written by
Yandex Cloud
Improved by
Dmitry A.
Updated at May 5, 2025
  • Getting started
  • Installation using Yandex Cloud Marketplace
  • Installation using a Helm chart
  • Application versions
  • Uninstalling the application
  • Use cases
  • See also

Kyverno is an application to manage Kubernetes security policies. Security policies appear in Kyverno as Kubernetes resources. Kyverno supports kubectl, git, and kustomize. You can use the Kyverno command line interface to test policies and validate resources as part of the CI/CD pipeline.

Kyverno policies is a Kyverno extension. Kyverno policies includes an implementation of Kubernetes Pod Security Standards (PSS). The original policies are stored in a separate Kyverno-policies repository.

You can send notifications from Kyverno to other systems using the Policy reporter extension.

Tip

To find vulnerabilities in Kubernetes clusters, use Chaos Mesh. Vulnerability detection will help you configure security policies.

Getting startedGetting started

Make sure that the security groups for the Managed Service for Kubernetes cluster and its node groups are configured correctly. If any rule is missing, add it.

Warning

The configuration of security groups determines the performance and availability of the cluster and the services and applications running in it.

Installation using Yandex Cloud MarketplaceInstallation using Yandex Cloud Marketplace

  1. Navigate to the folder dashboard and select Managed Service for Kubernetes.
  2. Click the name of the Managed Service for Kubernetes cluster you need and select the Marketplace tab.
  3. Under Application available for installation, select Kyverno & Kyverno Policies and click Go to install.
  4. Configure the application:
    • Namespace: Create a new namespace, e.g., kyverno-space. If you leave the default namespace, Kyverno may work incorrectly.
    • Application name: Specify the application name.
    • Activating Kyverno Policies: Select to install the Kyverno Policies extension.
    • Pod Security Standard profile: Select a Pod Security Standard profile:
      • baseline: Policy with minimum restrictions which prevents known risks of privilege abuse.
      • restricted: Policy with severe restrictions aligned with the latest pod security practices.
      • privileged: Unrestricted policy granting maximum privileges.
    • Validation failure action: Select a response to Kyverno triggering:
      • audit: Notify.
      • enforce: Block.
  5. Click Install.
  6. Wait for the application to change its status to Deployed.

Installation using a Helm chartInstallation using a Helm chart

  1. Install Helm v3.8.0 or higher.

  2. Install kubect and configure it to work with the new cluster.

  3. To install a Helm chart with Kyverno, run the following command:

    helm pull oci://cr.yandex/yc-marketplace/multi-kyverno \
      --version 1.0.0 \
      --untar && \
    helm install \
      --namespace <namespace> \
      --create-namespace \
      multi-kyverno ./multi-kyverno/
    

    If you set namespace to the default namespace, Kyverno may work incorrectly. We recommend you to specify a value different from all existing namespaces (e.g., kyverno-space).

    Note

    If you are using a Helm version below 3.8.0, append the export HELM_EXPERIMENTAL_OCI=1 && \ string to the command to enable Open Container Initiative (OCI) support in the Helm client.

Application versionsApplication versions

For each Kubernetes version, a certain Kyverno version is supported. The required Kyverno version is installed by default depending on your Kubernetes version.

Kubernetes version Kyverno version Documentation
1.21 or older 1.6 Kyverno 1.6 documentation
1.22 1.7 Kyverno 1.7 documentation
1.23 1.8 Kyverno 1.8 documentation
1.24 and higher 1.9 Kyverno 1.9 documentation

Uninstalling the applicationUninstalling the application

If you no longer need the Kyverno application, uninstall it:

Yandex Cloud Marketplace
Helm
  1. Navigate to the folder dashboard and select Managed Service for Kubernetes.
  2. Click the name of the Kubernetes cluster you need and select the Marketplace tab.
  3. Under Installed applications, in the row of the Kyverno & Kyverno Policies application, first click image and then Uninstall.
  4. Connect to the cluster using kubectl.
  5. Clear the application's webhook configurations, or else the cluster will not run properly.
  1. Connect to the cluster using kubectl.

  2. Delete the application:

    helm uninstall --namespace <namespace> multi-kyverno ./multi-kyverno/
    
  3. Clear the application's webhook configurations, or else the cluster will not run properly.

Use casesUse cases

  • Setting up Kyverno & Kyverno Policies.

See alsoSee also

  • Kyverno documentation.

Was the article helpful?

Previous
Installing Kruise
Next
Installing Loki
© 2025 Direct Cursus Technology L.L.C.