Skip to content

Simple template to deploy an IBM Cloud Kubernetes cluster (native k8s or OpenShift)

License

Notifications You must be signed in to change notification settings

Cloud-Schematics/cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cluster

Simple template to deploy an IBM Cloud Kubernetes cluster

Prerequisite

  1. Download Terraform binary. Unzip it and keep the binary in path ex- /usr/local/bin.
  2. Download IBM Cloud Provider Plugin. Unzip it and keep the binary in path in the same directory where you placed Terraform binary in previous step. You can also build the binary yourself. Please look into documentation.

To run this project locally execute the following steps:

You'll need to export the following environment variables:

  • TF_VAR_ibmcloud_api_key - your IBM Cloud api key

On OS X this is achieved by entering the following into your terminal, replacing the <value> characters with the actual values (remove the <>:

  • export TF_VAR_ibmcloud_api_key=<value>

Variables

Variable Name Description Default Value
machine_type The type of the machine flavor b2c.8x32
hardware The level of hardware isolation for your worker node shared
datacenter The datacenter to provision cluster wdc07
default_pool_size No of workers in default pool 3
private_vlan_id The private vlan ID. Run ic ks vlans datacenter to retrieve vlans
public_vlan_id The public vlan ID.Run ic ks vlans datacenter to retrieve vlans
kube_version The desired Kubernetes version of the created cluster. Run ic ks kube-versions to get latest verions. 1.14

About

Simple template to deploy an IBM Cloud Kubernetes cluster (native k8s or OpenShift)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages