This section provides step-by-step guides to solve specific problems you encounter during Kubernetes operations. Each guide presents clear objectives with concrete solutions.

Selecting the Right Guide#

If you’re not sure which guide to follow, use the flowchart below.

flowchart TD
    START[Problem Occurred] --> Q1{Is Pod status<br>normal?}

    Q1 -->|Pending/Error/CrashLoop| A[Pod Troubleshooting]
    Q1 -->|Running| Q2{What is the problem?}

    Q2 -->|Performance issue| B[Resource Optimization]
    Q2 -->|Connection failure| C[Network Troubleshooting]
    Q2 -->|Need log inspection| D[Log Collection & Analysis]

    A --> A1["Identify cause by status<br>Analyze events/logs"]
    B --> B1["Measure usage<br>Adjust requests/limits"]
    C --> C1["Diagnose connection flow<br>Service/DNS/Ingress"]
    D --> D1["Use kubectl logs<br>Pattern analysis"]

    style A fill:#f9f,stroke:#333
    style B fill:#bbf,stroke:#333
    style C fill:#bfb,stroke:#333
    style D fill:#fbf,stroke:#333
SymptomRecommended Guide
Pod won’t start, CrashLoopBackOffPod Troubleshooting
Slow response, OOMKilled, CPU throttlingResource Optimization
Service/Ingress connection failure, DNS errorNetwork Troubleshooting
Finding error causes, log analysisLog Collection & Analysis

Guide List#

GuideSituationEstimated Time
Pod TroubleshootingWhen Pod fails to start or terminates abnormally30 min
Resource OptimizationWhen you need to find appropriate CPU/memory settings45 min
Network TroubleshootingWhen Service or Ingress fails to connect30 min
Log Collection & AnalysisWhen you need to effectively collect and analyze logs25 min

How to Use These Guides#

  1. Select the guide that matches the problem you’re experiencing
  2. Verify prerequisites in the Before You Begin section
  3. Follow the step-by-step instructions in order
  4. Confirm progress using the Success Check items at each step
  5. If the problem isn’t resolved, refer to the Common Errors section