Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Container Essentials: How to monitor resource utilization

Container Essentials: How to monitor resource utilization

Environment

  • VMWare Carbon Black Container Essentials: All Versions

Objective

Display Resource (CPU/Memory) usage of pods.

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

Labels (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-13-2021
Views:
309
Contributors