Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change zone as location #35

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

sbuvaneshkumar
Copy link
Contributor

@sbuvaneshkumar sbuvaneshkumar commented Dec 31, 2019

This pull request fixes the issue #34.

student_01_5baa690b0dc9@cloudshell:~/gke-logging-sinks-demo (qwiklabs-gcp-01-3d7a402c8541)$ make create
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Operation "operations/acf.bd9e8ec9-7091-4ef0-89ce-b7f78ad3997c" finished successfully.
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]

Initializing the backend...

Initializing provider plugins...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.google: version = "~> 3.3"
* provider.random: version = "~> 2.2"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
data.google_container_engine_versions.on-prem: Refreshing state...
random_id.server: Creating...
random_id.server: Creation complete after 0s [id=c2zUtiPc7MI]
google_container_cluster.primary: Creating...
google_bigquery_dataset.gke-bigquery-dataset: Creating...
google_storage_bucket.gke-log-bucket: Creating...
google_storage_bucket.gke-log-bucket: Creation complete after 1s [id=stackdriver-gke-logging-bucket-736cd4b623dcecc2]
google_logging_project_sink.storage-sink: Creating...
google_bigquery_dataset.gke-bigquery-dataset: Creation complete after 1s [id=projects/qwiklabs-gcp-01-3d7a402c8541/datasets/gke_logs_dataset]
google_logging_project_sink.bigquery-sink: Creating...
google_logging_project_sink.bigquery-sink: Creation complete after 4s [id=projects/qwiklabs-gcp-01-3d7a402c8541/sinks/gke-bigquery-sink]
google_project_iam_binding.log-writer-bigquery: Creating...
google_logging_project_sink.storage-sink: Creation complete after 5s [id=projects/qwiklabs-gcp-01-3d7a402c8541/sinks/gke-storage-sink]
google_project_iam_binding.log-writer-storage: Creating...
google_container_cluster.primary: Still creating... [10s elapsed]
google_project_iam_binding.log-writer-bigquery: Still creating... [10s elapsed]
google_project_iam_binding.log-writer-storage: Still creating... [10s elapsed]
google_container_cluster.primary: Still creating... [20s elapsed]
google_project_iam_binding.log-writer-storage: Creation complete after 16s [id=qwiklabs-gcp-01-3d7a402c8541/roles/storage.objectCreator]
google_project_iam_binding.log-writer-bigquery: Creation complete after 17s [id=qwiklabs-gcp-01-3d7a402c8541/roles/bigquery.dataEditor]
google_container_cluster.primary: Still creating... [30s elapsed]
google_container_cluster.primary: Still creating... [40s elapsed]
google_container_cluster.primary: Still creating... [50s elapsed]
google_container_cluster.primary: Still creating... [1m0s elapsed]
google_container_cluster.primary: Still creating... [1m10s elapsed]
google_container_cluster.primary: Still creating... [1m20s elapsed]
google_container_cluster.primary: Still creating... [1m30s elapsed]
google_container_cluster.primary: Still creating... [1m40s elapsed]
google_container_cluster.primary: Still creating... [1m50s elapsed]
google_container_cluster.primary: Still creating... [2m0s elapsed]
google_container_cluster.primary: Still creating... [2m10s elapsed]
google_container_cluster.primary: Still creating... [2m20s elapsed]
google_container_cluster.primary: Still creating... [2m30s elapsed]
google_container_cluster.primary: Still creating... [2m40s elapsed]
google_container_cluster.primary: Still creating... [2m50s elapsed]
google_container_cluster.primary: Still creating... [3m0s elapsed]
google_container_cluster.primary: Provisioning with 'local-exec'...
google_container_cluster.primary (local-exec): Executing: ["/bin/sh" "-c" "gcloud container clusters get-credentials stackdriver-logging --zone us-central1-a --project qwiklabs-gcp-01-3d7a402c8541"]
google_container_cluster.primary (local-exec): Fetching cluster endpoint and auth data.
google_container_cluster.primary (local-exec): kubeconfig entry generated for stackdriver-logging.
google_container_cluster.primary: Provisioning with 'local-exec'...
google_container_cluster.primary (local-exec): Executing: ["/bin/sh" "-c" "kubectl --namespace default run hello-server --image gcr.io/google-samples/hello-app:1.0 --port 8080"]
google_container_cluster.primary (local-exec): kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.
google_container_cluster.primary (local-exec): deployment.apps/hello-server created
google_container_cluster.primary: Provisioning with 'local-exec'...
google_container_cluster.primary (local-exec): Executing: ["/bin/sh" "-c" "kubectl --namespace default expose deployment hello-server --type \"LoadBalancer\" "]
google_container_cluster.primary: Still creating... [3m10s elapsed]
google_container_cluster.primary (local-exec): service/hello-server exposed
google_container_cluster.primary: Creation complete after 3m10s [id=projects/qwiklabs-gcp-01-3d7a402c8541/locations/us-central1-a/clusters/stackdriver-logging]

Apply complete! Resources: 8 added, 0 changed, 0 destroyed.

@helmsman-bot
Copy link

Can one of the admins verify this patch?

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-oss-robot google-oss-robot added the gke-helmsman PSO helmsman project label Dec 31, 2019
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sbuvaneshkumar
To complete the pull request process, please assign robinpercy
You can assign the PR to them by writing /assign @robinpercy in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sbuvaneshkumar
Copy link
Contributor Author

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@sbuvaneshkumar
Copy link
Contributor Author

@SamolazovRoman Can you merge this PR if it looks good :) ?

@kaariger kaariger merged commit e882a20 into GoogleCloudPlatform:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants