github.com/pachyderm/pachyderm@v1.13.4/doc/docs/master/contributing/gcloud-setup.md (about) 1 # Gcloud cluster setup 2 3 In order to develop pachyderm against a gcloud-deployed cluster, follow these instructions. 4 5 ## First steps 6 7 First follow the [general setup instructions](https://github.com/pachyderm/pachyderm/blob/master/doc/contributing/setup.md). 8 9 ## gcloud 10 11 [Download Page](https://cloud.google.com/sdk/) 12 13 Setup Google Cloud Platform via the web 14 15 - login with your Gmail or G Suite account 16 - click the silhouette in the upper right to make sure you're logged in with the right account 17 - get your owner/admin to setup a project for you (e.g. YOURNAME-dev) 18 - then they need to go into the project > settings > permissions and add you 19 - hint to owner/admin: its the permissions button in one of the left hand popin menus (GKE UI can be confusing) 20 - you should have an email invite to accept 21 - click 'use google APIS' (or something along the lines of enable/manage APIs) 22 - click through to google compute engine API and enable it or click the 'get started' button to make it provision 23 24 Then, locally, run the following commands one at a time: 25 26 gcloud auth login 27 gcloud init 28 29 # This should have you logged in / w gcloud 30 # The following will only work after your GKE owner/admin adds you to the right project on gcloud: 31 32 gcloud config set project YOURNAME-dev 33 gcloud compute instances list 34 35 # Now create instance using our bash helper 36 create_docker_machine 37 38 # And attach to the right docker daemon 39 eval "$(docker-machine env dev)" 40 41 Setup a project on gcloud 42 43 - go to console.cloud.google.com/start 44 - make sure you're logged in w your gmail account 45 - create project 'YOURNAME-dev' 46 47 ## kubectl 48 49 Now that you have gcloud, just do: 50 51 gcloud components update kubectl 52 # Now you need to start port forwarding to allow kubectl client talk to the kubernetes service on GCE 53 54 portfowarding 55 # To see this alias, look at the bash_helpers 56 57 kubectl version 58 # should report a client version, not a server version yet 59 60 make launch-kube 61 # to deploy kubernetes service 62 63 kubectl version 64 # now you should see a client and server version 65 66 docker ps 67 # you should see a few processes 68 69 ## Pachyderm cluster deployment 70 71 make launch