QuestionQ61

VerifiedPerform Day 2 Operations

Refer to the exhibit.

Question Image

A DevOps team is increasingly challenged by managing logs from multiple applications in an NKP cluster. Because several teams work on separate projects, a Multi-Tenant Logging system is needed so that each team can securely and efficiently access only its own logs.

Initially, two namespaces for the projects have been configured, as shown in the exhibit. A ConfigMap containing the logging configuration has also been configured for each tenant.

Which YAML output corresponds to a 30-day retention period for tenant-innovation and a seven-day retention period for tenant-analytics?

Explanation

A Loki retention override is defined in the ConfigMap’s values.yaml data under loki.structuredConfig.limits_config.retention_period, and the ConfigMap must be placed in the tenant’s namespace. The tenant-innovation configuration therefore requires namespace: tenant-innovation with retention_period: 30d. NKP/DKP documentation uses this exact nested ConfigMap structure for project-level Grafana Loki retention overrides.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!