Skip to main content
Managed Service for Kubernetes provides logs about clusters and node groups. Use these logs for troubleshooting and tracking actions on Managed Kubernetes resources. All logs are available on the  Observability → Logs page of the web console. Audit and control plane logs are also available on the Logs tab of a cluster page. The service supports three types of logs:
  • Audit logs: Contain metadata about operations that modify a cluster. For example, who and when created or deleted a Pod. Disabled by default; you can enable them.
  • Control plane logs: Show actions recorded by control plane components of a cluster. For example, you can learn about the cluster scaling, Pod scheduling or node availability. The control plane logs are collected from the following components: In addition, Kubernetes generates node events. They provide information about Kubernetes resources, for example, state changes, node errors, Pod errors or scheduling failures. The control plane logs are enabled by default; you cannot disable them.
  • journald logs: Show entries recorded by systemd services running on cluster nodes. Disabled by default; you can enable them.

Prerequisites

If you use the web console, you don’t need to complete any prerequisites.

How to enable audit logs

Audit logs in Managed Kubernetes are disabled by default. To enable them for a cluster, specify the cluster ID:

How to view audit and control plane logs

  1. In the sidebar, go to  Compute → Kubernetes.
  2. Open the page of the required cluster and then go to the Logs tab.
  3. In the Bucket field, select Managed Kubernetes audit logs or Managed Kubernetes control planes.
  4. (Optional) To check logs for a specific control plane component, select it in the Component field.
  5. Apply the required period.

How to enable journald logs

The monitoring agent installed on cluster nodes can collect journald logs from systemd services and forward them to Observability Logs. To configure journald log collection, set instance metadata labels when you create or update a node group. The settings apply to all nodes in the group.
Updating instance metadata labels recreates all nodes in the group. Enable journald logs when you create a node group to avoid this update. For an existing group, configure its deployment strategy to create replacement nodes before removing existing ones.
To enable journald log collection for a new node group, add the labels when you create the node group:
The --template-instance-metadata-labels parameter accepts the following labels, separated by commas:
  • nebius.o11y.systemd-logs-collection.enabled=true: Enables journald log collection.
  • nebius.o11y.systemd-logs-collection.units=<systemd_units>: Specifies the systemd units to collect logs from. Separate multiple units with semicolons, for example, sshd.service;containerd.service. If you omit this label, logs from all units are collected.
To enable journald log collection for an existing node group, update its instance metadata labels. The --template-instance-metadata-labels parameter replaces all existing instance metadata labels, so include the labels you want to keep as <existing_labels> in the command:

How to view journald logs

  1. In the web console, go to  Observability → Logs.
  2. In the Bucket field, select User logs.
  3. To show only the logs of your cluster, enter the following query:
    The __bucket__ label is required. For more information about the query syntax, see LogQL implementation by Nebius AI Cloud.

See also