TsuyoshiUshio / KubernetesTask

Kubernetes Task for Visual Studio Team Services
34 stars 14 forks source link

Endpoint auth data not present while running the kubectl apply task #27

Closed mmisztal1980 closed 5 years ago

mmisztal1980 commented 6 years ago

While attempting to run kubectl apply from VSTS I'm getting the following:

413031Z ##[error]Endpoint auth data not present: 33b867a8-43f0-45ca-a41e-e5dd092fdbf2
2017-10-15T21:56:42.4443028Z ##[section]Finishing: [kubectl] apply (deployment)

Can you explain what does this error represent? I believe I've added the kubernetes service connection properly.

/Maciej

dtzar commented 6 years ago

What cloud provider are you trying to authenticate against K8s? If it is GKE, they require an additional layer of authentication versus just kubeconfig (which is what this task is doing).

mmisztal1980 commented 6 years ago

Can ypu point mento hendocumentation please?

Wysłane z iPhone'a

Wiadomość napisana przez David Tesar notifications@github.com w dniu 16.10.2017, o godz. 17:48:

What cloud provider are you trying to authenticate against K8s? If it is GKE, they require an additional layer of authentication versus just kubeconfig (which is what this task is doing).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dtzar commented 6 years ago

Search for GKE here: https://github.com/dtzar/blog/tree/master/CD-Kubernetes-VSTS