Azure / acs-engine

WE HAVE MOVED: Please join us at Azure/aks-engine!
https://github.com/Azure/aks-engine
MIT License
1.03k stars 560 forks source link

Kubectl Connection Errors #4311

Closed sam-cogan closed 5 years ago

sam-cogan commented 5 years ago

Is this a request for help?: Yes

Is this an ISSUE or FEATURE REQUEST? (choose one): Issue

What version of acs-engine?: 0.25.3

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) 1.11

What happened:

I had been using ACS-Engine for some time now to deploy a mixed Windows and Linux cluster, now issue. I stepped away from teh project for a few months and have now come back to deploying exactly the same templates, but with the latest version of ACS engine. The deploymnet works, but now when I attempt to connect to the cluster I see two issues:

  1. When I attempt to use Kubectl I get an error about an invalid certificate - Unable to connect to the server: x509: certificate signed by unknown authority

  2. If I use the --insecure-skip-tls-verify flag I then get an error stating: You must be logged in to the server (Unauthorized)

As I mentioned, I have not altered my templates from ones that were working fine a few months ago. Any ideas what is causing these issues?

What you expected to happen: To be able to run Kubectl Commands

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. Note that acs-engine is deprecated--see https://github.com/Azure/aks-engine instead.