I am using the Minikube environment and I have defined the max memory using
$] minikube config set memory 2048
Now I want to get this memory value using the Kubernetes API call in GO. I have tried the following,
import (
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
)
availableMem := kubernetes.Interface.StorageV1beta1().RESTClient().Get().Name("config")
But the output is not in readable manner.