https://github.com/bryanlabs/terraform-gke
Demo of using Terraform to create Google Kubernetes Engine
https://github.com/bryanlabs/terraform-gke
Last synced: 3 months ago
JSON representation
Demo of using Terraform to create Google Kubernetes Engine
- Host: GitHub
- URL: https://github.com/bryanlabs/terraform-gke
- Owner: bryanlabs
- Created: 2019-08-07T02:59:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T04:09:01.000Z (almost 7 years ago)
- Last Synced: 2025-06-04T23:18:45.779Z (about 1 year ago)
- Language: HCL
- Homepage: https://github.com/llarsson/gke-cluster-terraform
- Size: 13.6 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-gke
Install Terraform
Install kubectl
Install google-cloud-sdk
# From the GCP console
* Create a Project
* Create a service account for terraform
* Add the Roles
* * Kubernetes Engine Admin
* * Storage Admin
* * Service Account User
* export service account key as 'account.json'
# Enable the Kubernetes Engine API
# Create storage bucket
* update google.tf with storage bucket name
* Enable Versioning
````
export BUCKET_ID=bryanlabs
gsutil versioning set on gs://${BUCKET_ID}
````
run
````gcloud init````
Follow the prompts to select your project
run deploy.sh