Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Failed to build clientset config in local mode #75

Open
Jeffwan opened this issue May 15, 2020 · 2 comments
Open

Failed to build clientset config in local mode #75

Jeffwan opened this issue May 15, 2020 · 2 comments

Comments

@Jeffwan
Copy link
Member

Jeffwan commented May 15, 2020

there is an error for the input config comes from

kcfg, err := clientcmd.BuildConfigFromFlags("", *kubeconfig)

It declares a new kcfg and this value is not assigned to variable outside.

$ ./bin/manager
{"level":"info","ts":1589504573.6995661,"logger":"entrypoint","msg":"setting up client for manager"}
{"level":"info","ts":1589504573.706186,"logger":"entrypoint","msg":"setting up manager"}
{"level":"info","ts":1589504575.017302,"logger":"entrypoint","msg":"Registering Components."}
{"level":"info","ts":1589504575.017332,"logger":"entrypoint","msg":"setting up scheme"}
{"level":"info","ts":1589504575.017494,"logger":"entrypoint","msg":"Setting up controller"}
{"level":"info","ts":1589504575.0175219,"logger":"controller","msg":"Running controller in local mode, using kubeconfig file"}
there is an error for the input config
{"level":"info","ts":1589504575.024375,"logger":"controller","msg":"gang scheduling is set: ","gangscheduling":false}

I will pick it up if no one work on it until end of Friday.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/operator 0.66
kind/bug 0.94

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@merlintang
Copy link
Contributor

yes, please try this, Thanks Jeff

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

No branches or pull requests

2 participants