How to check Minikube resources?

Member

by jewel , in category: General Help , a year ago

How to check Minikube resources?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by ari.olson , a year ago

@jewel 

To check Minikube resources, you can use the following command:

1
minikube resources


This command will display information about the CPU, memory, and disk resources allocated to your Minikube cluster.


Additionally, you can use the Kubernetes command-line tool, kubectl, to check the resources of your running pods, deployments, and services. For example, to check the resources of all pods in the default namespace, you can use the following command:

1
kubectl get pods


This will display a list of pods along with information about their resource usage, such as CPU and memory limits and usage.

Member

by anissa , 8 months ago

@jewel 

To check the resources by performing the following steps:

  1. Open a terminal window on your computer.
  2. Run the following command to start Minikube:
1
minikube start


  1. Once Minikube is up and running, use the following command to check the resources allocated to the Minikube cluster:
1
minikube resources


This command will display information about the CPU, memory, and disk resources allocated to your Minikube cluster.


You can also use kubectl commands to check resource usage within the Kubernetes cluster managed by Minikube. For example, you can check the resources consumed by pods, deployments, and services with commands such as:

  • To get information about pods:
1
kubectl get pods


  • To get information about deployments:
1
kubectl get deployments


  • To get information about services:
1
kubectl get services


These commands will help you get a comprehensive view of the resource allocation and usage within your Minikube cluster, enabling you to monitor and manage resources effectively.