-
Notifications
You must be signed in to change notification settings - Fork 3.3k
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. Expected key users in kube-config #236
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
Comments
does |
apiVersion: v1
|
I uploaded a PR that should fix this issue, could you test please? |
I commented on your (merged) PR. I think it is in the right direction but needs more fixes. It may fix @sidd14491 issue (sidd14491 can you confirm?) but need to fix this for all cases where user is missing. |
For verification which build I need to take. |
You have to install the latest version from sources. The following commands will do:
Then you can execute an example script with your client config. The following command will load the default context of your kube.cfg:
|
@mbohlool before closing this PR I think that we must update the git submodule to a revision that includes all the fixes. What do you think? |
Definitely. Go for it.
…On Jun 6, 2017 1:23 AM, "Sergi Almacellas Abellana" < ***@***.***> wrote:
@mbohlool <https://github.com/mbohlool> before closing this PR I think
that we must update the git submodule to a revision that includes all the
fixes. What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABic4MI5MdfynXO765yZM8X_Kb9O1U_4ks5sBQyYgaJpZM4NnfuJ>
.
|
I'm waiting for kubernetes-client/python-base#5 to be merged before updating submodules. For now we should keep the issue open. Can you reopen please? |
Hi,
I have one query,
Is there any rest-api in kubernetes to upgrade the container build with
specific on.
Suppose that I want to upgrade from 212 to 214, but I want pass the 214 as
a argument in rest call with specific pods
BR/
Siddharth
…On Fri, May 26, 2017 at 11:34 PM, Mehdy Bohlool ***@***.***> wrote:
does kubectl works? can you share redacted kube config file content at
~/.kube/config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMar1IPl38MFYx0jy0n_qoXkRac3r8xIks5r9xQVgaJpZM4NnfuJ>
.
|
@sidd14491 I don't see how your question is related to the current thread. Can you open a new issue please? |
Hi
It's not related to current bug I am just asking you query is there any to
do that ?
BR?
Siddharth
…On Fri, Jun 16, 2017 at 12:41 PM, Sergi Almacellas Abellana < ***@***.***> wrote:
@sidd14491 <https://github.com/sidd14491> I don't see how your question
is related to the current thread. Can you open a new issue please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMar1AcZaL2gMFqc3CGLYcYBgQFVRI0Oks5sEiqsgaJpZM4NnfuJ>
.
|
So please open a new issue for different questions.... |
of course this is closed. |
Support customizing “Accept” header kubernetes-client#1428
After installing Kubernets package used the script to list of all pods.
But After running the script I am observing following error.
File "1.py", line 4, in
config.load_kube_config()
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 311, in load_kube_config
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 282, in _get_kube_config_loader_for_yaml_file
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 118, in init
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 134, in set_active_context
File "build/bdist.linux-x86_64/egg/kubernetes/config/kube_config.py", line 253, in getitem
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. Expected key users in kube-config
The text was updated successfully, but these errors were encountered: