An open API service indexing awesome lists of open source software.

https://github.com/nthings/terraform-rancher-gcp-nodes-example

Quick reference project to deploy worker nodes for Rancher in GCP
https://github.com/nthings/terraform-rancher-gcp-nodes-example

Last synced: 3 months ago
JSON representation

Quick reference project to deploy worker nodes for Rancher in GCP

Awesome Lists containing this project

README

          

# Terraform-Rancher-GCP-Nodes-Example
Terraform configuration for quickly standup k8s workers in an existing Rancher Server.

I used this for a quick hello world.

# Set Up
1.- Put `credentials.json` GCP file in root of the project.

2.- I create a variables.conf file in project source and put this values:
```
export TF_VAR_token=""
export TF_VAR_checksum=""
export TF_VAR_address=""
export TF_VAR_gcp_project=""
export TF_VAR_gcp_region="us-west1"
export TF_VAR_nodes=2
```

You can create also a `terraform.tfvars` for this :)