Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
pharos-addons/packet-ccm
README.md
cluster.yml
main.tf
terraform.example.tfvars

README.md

Pharos Cluster on Packet.net (using Terraform)

Prerequisities

  • Kontena Pharos toolchain installed locally
  • Terraform installed locally
  • Packet.net credentials

Clone this repository

$ git clone https://github.com/kontena/pharos-cluster.git
$ cd pharos-cluster/examples/terraform-packet/

Configure Terraform

Copy terraform.example.tfvars example file to terraform.tfvars:

$ cp terraform.example.tfvars terraform.tfvars

Edit project_id and auth_token. Optionally you can also configure number of machines and their types. Once done save the file.

Create Cluster

$ pharos tf apply

This command will first execute Terraform to create the infrastructure, collects host information and passes this information back to pharos. Finally it will configure

Teardown Cluster

$ pharos tf destroy
You can’t perform that action at this time.