2

컨테이너 엔진 클러스터의 Google Compute Engine 인스턴스에서 실행중인 일부 Java 응용 프로그램이 있습니다. 클러스터를 최신 버전 (1.7.8)으로 업그레이드하고 노드 이미지를 컨테이너 최적화 된 OS에서 Ubuntu로 변경했습니다.응용 프로그램 기본 자격 증명을 사용할 수 없습니다.

The Application Default Credentials are not available. They are available if running in Google Compute Engine. 
Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. 
See https://developers.google.com/accounts/docs/application-default-credentials for more information. 

서비스 계정이 https://www.googleapis.com/auth/sqlservice.admin

사람이 생각하는 이유가 있습니까 범위와 업그레이드 이전과 동일 :이 오류 메시지와 함께 클라우드 SQL 데이터베이스에 연결하려고 할 때 이제 내 포드 충돌하는 지금이 오류가 발생합니까? 가장 좋은 해결책은 환경 변수를 만드는 것입니까?

답변