- 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:
- API server (kube-apiserver)
- Scheduler (kube-scheduler)
- Cluster autoscaler
- Controller manager (kube-controller-manager)
- Cloud controller manager
Prerequisites
If you use the web console, you don’t need to complete any prerequisites.- CLI
- Go SDK
- Python SDK
- JavaScript SDK
Install and configure the Nebius AI Cloud CLI.
How to enable audit logs
Audit logs in Managed Kubernetes are disabled by default. To enable them for a cluster, specify the cluster ID:- CLI
- Go SDK
- Python SDK
- JavaScript SDK
How to view logs
- Web console
- In the sidebar, go to Compute → Kubernetes.
- Open the page of the required cluster and then go to the Logs tab.
- In the Bucket field, select Managed Kubernetes audit logs or Managed Kubernetes control planes.
- (Optional) To check logs for a specific control plane component, select it in the Component field.
- Apply the required period.