VK Cloud logo

Add-ons

Various add-ons (additional services) are available for Kubernetes clusters in the Managed Containers service. They can be selected in any combination and installed either when creating a cluster using Terraform, or later in already an existing cluster. The installation process is automated and requires minimal user intervention.

Features of installing add-ons

  • Add-ons are installed on the worker nodes of the cluster and consume their computing resources.

    The following are the system requirements of add-ons based on the standard values requests and limits for Kubernetes resources in the add-on setup code. When using non-standard values, the system requirements of add-ons will change.

  • Add-ons can be installed on a dedicated group of worker nodes or on Kubernetes worker nodes selected by the scheduler. Using the first approach allows you to exclude the influence of add-ons on the operation of production services deployed in the cluster.

    The computing resources of a dedicated group of worker nodes should be sufficient for all add-ons, even if each add-on consumes the maximum resources specified in the system requirements. It is recommended to set up automatic scaling for such a group of nodes.

  • There are three options for installing add-ons:

    • Standard installation on Kubernetes worker nodes selected by the scheduler with a change in the add-on configuration code.
    • Installation on dedicated worker nodes with a change in the add-on configuration code.
    • Quick installation on Kubernetes worker nodes selected by the scheduler without changing the add-on setup code (with default settings).

    Not all add-ons support all three installation options.

    The installation process is described in the section Configuring and installing add-ons.

Available add-ons

The availability of specific add-ons depends on the region in which the cluster is planned to be placed.

Argo CD

Argo CD is a continuous delivery (CD) tool for Kubernetes that uses the GitOps approach. It automatically deploys and updates applications in the cluster based on their configuration in the Git repository. Argo CD helps to:

  • Accelerate and simplify GitOps processes: it reduces the time needed to launch, scale, and deploy changes, as well as the complexity of implementing them.
  • Improve the reliability and manageability of clusters: it minimizes manual steps and errors when changing cluster configurations. Argo CD automatically detects the differences and returns the cluster to the state described in its Git repository.
  • Ensure actions in clusters are more transparent and improve cluster security by controlling and auditing all changes through Git.

For Argo CD to work correctly, it needs stable access to Git repositories that contain cluster configurations. The add-on must also have the rights to create applications in clusters that you specify through the Kubernetes Role-Based Access Control (RBAC) model. Otherwise, it might result in errors when attempting to synchronize the state of the cluster with its repository.

cert-manager

cert-manager helps to manage certificates in Kubernetes clusters:

  • Issue certificates, including self-signed certificates. To do this, cert-manager sends requests to sources acting as certificate authority (CA).

    Examples of the sources:

    • Cybersecurity solutions providers such as Venafi.
    • Certificate providers, such as Let’s Encrypt.
    • Storage for secrets, such as HashiCorp Vault.
    • Local containers containing the public part of a certificate and private key.
  • Automatically reissue expiring certificates.

A certificate issued with cert-manager will be available to other Kubernetes resources. For example, it can be used by Ingress.

cert-operator

The cert-operator add-on from VK Cloud lets you pull images from container registries that have self-signed certificates. The add-on makes the registry trusted automatically.

The add-on works as follows:

  1. You create a RegistryCertificate object in the cluster. In the object, you specify the registry address in the host[:port] format and the CA certificate of the registry in PEM format.

  2. The add-on automatically synchronizes the CA certificate on the worker nodes of the cluster. The synchronization interval is set by the reconcileInterval parameter. By default, it is 30 seconds. You can change it in the add-on code.

  3. The object status shows the result for each node:

    • Synced — the add-on applied the CA certificate.
    • Failed — the add-on did not apply the CA certificate. The message shows the reason.

Features of the add-on:

  • If you create several objects for one registry address, the add-on applies the first object in alphabetical order.
  • If the registry address in an object is not valid, the add-on does not apply this object.
  • If the certificate in an object is not valid, the add-on does not apply it. If the add-on applied a CA certificate for this registry before, this certificate does not change.
  • If you change the CA certificate in an object, the add-on replaces the old certificate on the nodes with the new one.
  • If you delete a RegistryCertificate object, the add-on removes the CA certificate from the nodes. The add-on does not apply this certificate anymore, and the registry is not trusted.
  • If you delete the add-on, the CA certificates that are already on the nodes stay there, but the synchronization of RegistryCertificate objects stops. To resume the synchronization, install the add-on again.

The add-on works only with CA certificates and certificate chains. It does not use client certificates, private keys, or mutual TLS (mTLS) authentication.

Container Storage Interface (CSI) for S3

Container Storage Interface for S3 (S3-CSI) is a Container Storage Interface driver for Kubernetes that allows to mount S3-compatible object storages (VK Object Storage, AWS S3, MinIO, and others) as PVs (persistent volumes).

S3-CSI is based on a high-performance file system GeeseFS powered by FUSE. The add-on is almost completely POSIX-compatible and supports the following actions with objects:

  • read and write
  • block
  • rename and delete

S3-CSI operates at the bucket level of the object storage and can function in two modes:

  • Dynamic provisioning of buckets. When creating a PVC (persistent volume claim) with a specified storage class, the add-on automatically creates a new bucket in the target S3-compatible storage. After creating a PVC, this bucket is immediately ready for use as a PV.
  • Static provisioning of existing buckets. You can use a pre-created bucket in any S3-compatible storage. To do this, the add-on creates a PV with the name of the existing bucket, and then the PVC is associated with this PV.

S3-CSI can create buckets in any S3-compatible storage that you specify when installing the add-on.

Docker Registry

Docker Registry is designed to host and store Docker images. It works in a high availability (HA) configuration. Registry images can be used when deploying services in a cluster.

See Connecting to the Docker registry for details.

DRA Driver for NVIDIA GPUs

Dynamic Resource Allocation (DRA) is a Kubernetes mechanism for flexibly requesting, configuring, and sharing specialized devices, such as GPUs, between pods. Unlike the standard Device Plugin mechanism, which allocates a GPU as an indivisible resource, DRA allows requesting only a portion of GPU memory or computing resources for an individual workload.

Benefits of the DRA Driver for NVIDIA GPUs add-on:

  • It allows running multiple workloads on a single GPU card, limiting memory and computing resource consumption for each of them.
  • It increases the utilization of GPU worker nodes and reduces the total cost of owning GPU infrastructure.
  • It lowers the entry barrier for machine learning and AI teams that do not need a whole GPU card for tasks such as inference, RAG, or image processing.
  • It provides a supported and standardized approach to managing GPU sharing in a cluster instead of custom development via Helm charts, access policies, and workload placement rules.

The add-on includes:

  • DRA Kubelet Plugin for preparing and attaching GPUs to pods on worker nodes.
  • Node Feature Discovery for detecting and registering features available on cluster nodes. The component includes the following services:
    • NFD-Master is responsible for connecting to the Kubernetes API server and updating node objects.
    • NFD-Worker connects to the NFD-Master service to advertise hardware features.
    • NFD Garbage-Collector ensures that all Node Feature Discovery objects have corresponding nodes and deletes stale objects for non-existent nodes.

External Secrets Operator

External Secrets Operator allows you to securely manage Kubernetes secrets that are stored outside the cluster in a cloud storage (for example, in the VK Cloud Secret Manager, AWS Secrets Manager, Azure Key Vault, etc).

For the details on how to use the addon with the VK Cloud Secrets Manager, refer to Using External Secrets Operator.

Fluent Bit

Fluent Bit allows you to flexibly configure log collection in clusters and analyze them in the Cloud Logging service, for example, using Elasticsearch or Loki plugins.

The sources of the logs are kubelet services and pods located on cluster nodes.

Fluent Bit for Cloud Logging (logaas-integration)

Fluent Bit in combination with special filters, written in Lua, allows you to organize the delivery of logs from clusters to the Cloud Logging service for further analysis of these logs.

The sources of the logs are kubelet services and pods located on cluster nodes. For more information about how the add-on works, see Installing the add-on.

GPU Operator

GPU Operator allows you to manage GPUs on cluster nodes to perform machine learning or big data processing.

The following options for using GPUs in a cluster are available:

  • One pod uses one or more GPUs.
  • The add-on distributes one GPU between several pods using the MIG strategy.
  • The add-on distributes one GPU between several pods using the MPS strategy.

add-on components:

  • NVIDIA GPU Operator for GPU management.

  • Service validators for CUDA (Compute Unified Device Architecture) validation after configuration changes.

  • Operator self-diagnosis tools.

  • NVIDIA device plugin for automating GPU resource binding and allocation.

  • Node Feature Discovery for identifying and registering features available on cluster nodes. The component contains the following services:

    • NFD-Master is responsible for connecting to the Kubernetes API server and updating node objects.
    • NFD-Worker connects to the NFD-Master service to advertise hardware features.
    • NFD Garbage-Collector ensures that all Node Feature Discovery objects have corresponding nodes and removes stale objects for non-existent nodes.

Read more about the add-on and its components: NVIDIA GPU Operator, NVIDIA device plugin, Node Feature Discovery.

HAMi

HAMi (Heterogeneous AI Computing Virtualization Middleware) is a set of tools for managing heterogeneous AI accelerators for Kubernetes.

The HAMi add-on in Managed Containers allows to share GPU resources (memory, computing power, or virtual cards) among different processes, for example, to run more ML models on existing hardware. This way, a single physical card can handle multiple tasks simultaneously with no changes required for your application code.

The HAMi add-on helps to:

  • Effectively divide the GPU among pods, with the ability to allocate a specific portion of resources to each pod.
  • Isolate the memory and computing resources of the GPU at the level of an individual pod.
  • Increase the utilization of worker nodes on the GPU and reduce the total cost of ownership of the GPU infrastructure.
  • Lower the entry threshold for teams using machine learning and artificial intelligence, who do not need a full GPU card for tasks such as inference, RAG, and image processing.

For more details on the add-on and its architecture, refer to the official HAMi documentation.

Ingress Controller (NGINX)

Ingress controller based on NGINX works as a reverse proxy and allows to organize single entry point for services in cluster which work via HTTP or HTTPS.

If you have a controller, it is sufficient to create Ingress resource to make such services available from outside of the cluster.

The pre-installed Ingress controller integrates tightly with the VK Cloud platform. For more information, see Network in cluster.

Istio

Istio allows you to monitor and manage the network interaction between your services without having to change the application code. Istio uses the service mesh approach, which means that all traffic between services goes through a managed proxy layer. The addon supports this as both a classic model with sidecar proxies at the pod level and the Ambient Mesh mode, which doesn't use sidecar containers (node-level proxies). Use Istio to:

  • set security and traffic management policies between services
  • use TLS for communication between services
  • expand monitoring of inter-service traffic (metrics collection, logging, distributed tracing)
  • configure complex routing and balancing of traffic between services
  • configure query replays, timeouts, and other means of fault tolerance control
  • use Canary Deployment and Blue-Green Deployment for gradual deployment

Jaeger

In distributed systems based on microservices, requests are constantly exchanged. The Jaeger platform created for distributed query tracing. Jaeger tracks the flow of requests through microservices and allows you to:

  • collect information about the interrelationships of the system components in terms of the flow of requests;
  • detect query problems or bottlenecks in the system architecture related to processing the request stream.

Such a tool is necessary because query-related factors can significantly affect the behavior and performance of these systems as a whole. It is not enough to provide monitoring only for individual microservices.

Jaeger performs query tracing based on the data it receives from microservices. Therefore, it is necessary to integrate into microservices tool stack OpenTelemetry to send data about requests. You can get learn about the integration of OpenTelemetry into a microservice application using the example of Hot ROD in the Using Jaeger section.

Kgateway

Kgateway is a tool for routing and traffic management in Kubernetes via the Gateway API. The add-on:

  • Provides publication of Kubernetes services and proxying requests to external services.
  • Automatically scales to the load.
  • Reduces the startup time of applications and services.
  • Allows to centrally set entry points, TLS, routes, and access policies.

For more details on working with the add-on, refer to the Using Kgateway section.

Kube Prometheus Stack

The system for monitoring the status of the cluster and the services deployed in it is implemented on the basis of Prometheus and visualization tool Grafana.

See Cluster Monitoring for details.

Add-on version 68.3.3 includes built-in cluster resource consumption forecasting.

Velero

Velero is an open source tool for backing up and restoring Kubernetes clusters.

With the Velero add-on, you can easily configure and automate backup of Kubernetes workloads, namespaces, and resources, perform cluster migration, and recover from failures, misconfigurations, bad releases, and data incidents. Backups created by the add-on are stored in buckets with the Hotbox storage class in the VK Object Storage service.

The Velero add-on does not support backing up persistent volumes (Persistent Volumes, PV).

For more information about working with the add-on, see Using Velero.

Was this article helpful?