AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[Getting this error when running kubectl exec error: unable to upgrade connection: Authorization error (user=masterclient, verb=create, resource=nodes, subresource=proxy)]

Open deepak1185 opened this issue 3 years ago • 29 comments

Describe the bug Getting this error when running kubectl exec error: unable to upgrade connection: Authorization error (user=masterclient, verb=create, resource=nodes, subresource=proxy)] when running the belwo command

kubectl exec -it -n nginx-ingress nginx-ingress-controller-64bf68d79b-4sdwg -- /nginx-ingress-controller --version

To Reproduce Steps to reproduce the behavior:

  1. kubectl exec -it -n nginx-ingress nginx-ingress-controller-64bf68d79b-4sdwg -- /nginx-ingress-controller --version
  2. Unable to use a TTY - input is not a terminal or the right kind of file error: unable to upgrade connection: Authorization error (user=masterclient, verb=create, resource=nodes, subresource=proxy)

Expected behavior give the nginx version in the inside the POD

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:16:20Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"windows/amd64"} Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.19", GitCommit:"ea947be6fad5815bceb695a65a988759a30cda91", GitTreeState:"clean", BuildDate:"2021-05-25T01:16:51Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"} WARNING: version difference between client (1.23) and server (1.18) exceeds the supported minor version skew of +/-1

Additional context Its the Azure AKS cluster using the local RBAC, all other clusters with same configuration are fine except this one

deepak1185 avatar Sep 05 '22 14:09 deepak1185

Related to #3167

n3wt0n avatar Sep 08 '22 05:09 n3wt0n

Action required from @Azure/aks-pm

ghost avatar Oct 08 '22 16:10 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Oct 23 '22 18:10 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Nov 07 '22 18:11 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Nov 23 '22 00:11 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 08 '22 00:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Dec 23 '22 06:12 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 07 '23 12:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jan 22 '23 18:01 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 07 '23 00:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Feb 22 '23 00:02 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 09 '23 06:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Mar 24 '23 06:03 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 08 '23 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Apr 23 '23 12:04 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 08 '23 18:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar May 24 '23 00:05 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 08 '23 06:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jun 23 '23 06:06 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 08 '23 12:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Jul 23 '23 18:07 ghost

Issue needing attention of @Azure/aks-leads

ghost avatar Aug 07 '23 18:08 ghost

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Hi @deepak1185 do you still experience such error in your cluster?

AllenWen-at-Azure avatar Sep 02 '24 08:09 AllenWen-at-Azure

This issue will now be closed because it hasn't had any activity for 7 days after stale. deepak1185 feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.