I've got some deployment on a basic k8s cluster withouth defining requests and limits. Is there any way to check how much the pod is asking for memory and cpu?
After installing the Metrics Server, you can query the Resource Metrics API directly for the resource usages of pods and nodes:
kubectl get --raw=/apis/metrics.k8s.io/v1beta1/nodes
kubectl get --raw=/apis/metrics.k8s.io/v1beta1/nodes/{node}
kubectl get --raw=/apis/metrics.k8s.io/v1beta1/pods
kubectl get --raw=/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods
kubectl get --raw=/apis/metrics.k8s.io/v1beta1/namespaces/{namespace}/pods/{pod}
The API returns you the absolute CPU and memory usages of the pods and nodes.
From this, you should be able to figure out how much resources each pod consumes and how much free resources are left on each node.
Depending on whether the metrics-server is installed in your cluster, you can use:
kubectl top pod
kubectl top node