DEV Community

Discussion on: Learn Kubernetes, part IV, autoscaling

Collapse
 
guymi profile image
Guy Michaelis • Edited

Hi Chris,

Thanks for another great article.
I am getting some troubles setting up autoscaling on minikube.

Running this command:

minikube start --extra-config kubelet.EnableCustomMetrics=true

Results with this error:

Problems detected in "kubelet":
Jun 17 06:42:12 minikube kubelet[3112]: F0617 06:42:12.577169 3112 server.go:152] unknown flag: --EnableCustomMetrics

Running minikube version: v1.1.1 and Kubernetes v1.14.3

Collapse
 
softchris profile image
Chris Noring

hey.. so my minikube version is 0.35. I'm thinking something has changed in later versions. I need to investigate..

Collapse
 
stanleynguyen profile image
Stanley Nguyen

I'm having the same problem with minikube 1.4.0
I don't think this flag is available anymore in kubelet config but not sure what it's been changed to
godoc.org/k8s.io/kubernetes/pkg/ku...