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

Failed to build clientset config in local mode #75

@Jeffwan

Description

@Jeffwan

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions