Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8sAutoscale cannot get client #2012

Closed
paulinalei opened this issue Aug 4, 2018 · 1 comment
Closed

k8sAutoscale cannot get client #2012

paulinalei opened this issue Aug 4, 2018 · 1 comment

Comments

@paulinalei
Copy link

paulinalei commented Aug 4, 2018

I can't seem to get the k8sAutoscale node to work.

I keep getting the error

cannot use the k8sAutoscale node, could not create kubernetes client: unknown kubernetes cluster "", cannot get client

I was trying to run the example from: https://github.com/influxdata/k8s-kapacitor-autoscale

However, this example seems outdated. It asked me for .cluster() property method. I tried adding in 'minikube' but it doesn't seem to be working. Is it possible for someone to update this example or give me some direction into how to solve this issue?

I also noticed from a previous issue #1608 that someone also had this issue and was wondering if it had been solved.

Background information:

I am running Kapacitor v1.5 locally on my machine, running Kubernetes on Windows Server 2016, using Hyper-V and an Internal Switch to run minikube.

My kapacitor.conf file is one generated by running the command kapacitor > kapacitor.conf as the Windows download from InfluxData had a configuration file for Linux directories.

@paulinalei
Copy link
Author

paulinalei commented Aug 6, 2018

To anyone else having this issue:

When I started using Linux containers instead of Windows containers, I no longer had this problem.

You do not need to specify any string for the .cluster() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant