How to Find Memory Metrics for a Kubernetes Pod

To find memory metrics for a Kubernetes pod, you can use the `kubectl top` command, which provides real-time resource usage statistics. Make sure the Metrics Server is installed in your cluster, as it collects and provides these metrics. Run the following command to view memory usage:

kubectl top pod <pod-name> --namespace=<namespace>

Replace `<pod-name>` and `<namespace>` with your specific pod name and namespace to get accurate memory metrics.