Giter Club home page Giter Club logo

googlecloudplatform / gke-cloud-sql-postgres-demo Goto Github PK

View Code? Open in Web Editor NEW
73.0 19.0 47.0 110 KB

This project shows how easy it is to connect an application in Kubernetes Engine to a Cloud SQL instance, using the Cloud SQL Proxy container as a sidecar container. You will deploy a Kubernetes Engine Cluster and a Cloud SQL Postgres instance, and use the Cloud SQL Proxy container to allow communication between them.

License: Apache License 2.0

Makefile 5.52% Shell 62.39% Python 32.08%
kubernetes postgresql google-cloud-platform kubernetes-engine gke-helmsman gke-cluster

gke-cloud-sql-postgres-demo's Issues

Section [container] has no property [new_scopes_behavior] in create.sh

I use the Qwiklab hand-on lab to practice Cloud SQL and the proxy container of k8s
When I start the script ./create.sh to deploy Cloud SQL instance and proxy container,
I found the error:

$ gcloud config set container/new_scopes_behavior true > /dev/null
# ERROR: (gcloud.config.set) Section [container] has no property [new_scopes_behavior].

It make all the creation processes stop!
I have no choice but to set constants and run the rest script file by file in ./script

It may need to be fixed for the new version

Bug: Section [container] has no property [new_scopes_behavior] in create.sh

Running into issues with the ./create.sh command.

After running the command USER_PASSWORD=pword PG_ADMIN_CONSOLE_PASSWORD=pword ./create.sh dbadmin pgadmin

I'm met with the following error:

ERROR: (gcloud.config.set) Section [container] has no property [new_scopes_behavior].

Haven't been successful with any workarounds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.