Container Essentials: How to monitor resource utilization
search cancel

Container Essentials: How to monitor resource utilization

book

Article ID: 284719

calendar_today

Updated On:

Products

Carbon Black Cloud Container

Issue/Introduction

Display Resource (CPU/Memory) usage of pods.

Environment

  • VMWare Carbon Black Container Essentials: All Versions

Resolution

  1. Show metrics for all pods in the default namespace:
    kubectl top pod
  2. Show metrics for all pods in the given namespace (replace NAMESPACE with octarine-dataplane, for example):
    kubectl top pod --namespace=NAMESPACE
  3. Show metrics for all pods and namespaces:
    kubectl top pod -A