Drift Analysis - Service Comparison

Overview

The Drift Analysis feature in Komodor addresses the challenges of maintaining consistent service configurations across complex Kubernetes environments. 

Manual Service Comparison empowers users to identify configuration discrepancies across clusters and namespaces, supporting operational reliability and efficiency.

With Manual Service Comparison, you can:

  • Compare configurations for up to 10 services side-by-side.
  • Identify discrepancies in critical attributes such as resource requests, limits, replicas, and container configurations.
  • Maintain consistent configurations across regions and clusters.
  • Troubleshoot service malfunctions by pinpointing configuration mismatches.
drift final final final screen main.png

Accessing Drift Analysis

  1. Navigate to Drift Analysis:
    • Access the new Drift Analysis tab located in the left-hand navigation bar.
drift navbar.png
  1. Initiate Service Comparison:
    • Use the Detect Drift button in the service view to compare the selected service with others.
btn from service view drift docs.png

Key Capabilities

  1. Service Comparison:

    • Compare configurations for up to 10 services across clusters and namespaces.
    • Supported attributes for comparison include:
      • Service-level: 
        1. Cluster
        2. Namespace
        3. Desired Replicas
        4. Labels
        5. Containers 
drift final final final screen main.png
  • Container-level: 
    1. Image
    2. CPU/Memory Requests and Limits
    3. Environment Variables
    4. Probes (Liveness, Readiness, Startup).
drift container section docs.png
  • Results indicate:
    • Identical attributes ✅
      no diff for docs.png
    • Attribute differences ↔️
      diff for docs.png
    • Missing attributes ✖️
      NA drift docs.png
  1. Supported Services:

    • The feature supports only Komodor-managed service types:
      • Deployments
      • DaemonSets
      • ReplicaSets
      • Rollouts
    • Baseline Service Selection: The base service can be selected using the Comparison Baseline selector. If accessing the feature from a specific service, that service will automatically be set as the baseline.
      baseline for docs.png
    • Compared Services Selection: Compared services can be selected via the Compared Services selector. This allows you to choose any service across clusters, provided they are of the same resource kind as the baseline. You can quickly select up to 10 services in one click.
      You'll first see identically named services.
      compared for docs.png
  2. Visual Indicators:

    • Differences are highlighted for quick identification.
      drift .png
    • Tooltips provide additional details for mismatched or missing attributes.
    • For long content a diff modal will be available
      env diff docs.png
  3. Metrics Comparison:

    • View CPU and memory utilization graphs for the selected services and their containers.
    • Metrics include Average, P90, P95, P99, and Maximum values over configurable timeframes (e.g., 24 hours, 7 days).
      metrics drift.png
  4. Customizable Views:

    • Toggle between “Show Only Differences” and “Show Everything” to focus on relevant information.
      show only drift docs.png

Permissions

  • You must have view permissions for all compared services.
  • Service suggestions are scoped to the user’s workspace, ensuring relevant comparisons.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.