Stackdriver Trace on GKE 403

4/18/2017

I have a GKE cluster with "https://www.googleapis.com/auth/trace.append" scope enabled.

node.js client library is used as the first line as written in the docs. I get 403.

ERROR:@google-cloud/trace-agent: TraceWriter: error: 403 ApiError: The caller does not have permission

-- Or Elimelech
google-cloud-platform
google-kubernetes-engine
stackdriver

1 Answer

7/10/2017

Did you add the trace.append OAuth scope when creating the cluster as the docs describe?

gcloud container clusters create example-cluster-name --scopes https://www.googleapis.com/auth/trace.append
-- Rodrigo Queiro
Source: StackOverflow