Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.08 KB

gcloud-setup.md

File metadata and controls

42 lines (35 loc) · 1.08 KB

GCloud Setup

Helpful quickstart info:

Download google-cloud-sdk:

Install:

$ ./google-cloud-sdk/install.sh

If gcloud is not in your path:

$ source ~/.bash_profile

Initialize/Authenticate:

This will open your browser for login to your GCP account

$ gcloud init

Setup kubectl:

$ gcloud components install kubectl

Uninstall your existing kubectl if you see warnings about version clash

$ brew uninstall kubernetes-cli

Get Credentials

$ gcloud container clusters list
$ gcloud container clusters get-credentials enfuse-kafka-connect-gke --zone us-central1-a

Connecting To Kafka APIs

In the web interface, you can click on a service link, and then toward the bottom of the page you'll see a "port forwarding option", click this to get a command to enable local browser/curl access to the kafka API.