config.tfvarsfile in the root of the repo having the following properties set. All other options can be left empty.
tectonic_worker_count = <worker count> tectonic_master_count = <master count> tectonic_base_domain = "my.domain" tectonic_cluster_name = "test" tectonic_admin_email = "email@example.com" tectonic_admin_password_hash = "<bcrypt-tool encoded password>" tectonic_license = "..." tectonic_pull_secret = "..."
bcrypt-tool is available at https://github.com/coreos/bcrypt-tool.
The following example flavors are included:
nova: Only Nova computing nodes are being created for etcd, master and worker nodes, assuming the nodes get public IPs assigned.
neutron: A private Neutron network is being created with master/worker nodes exposed via floating IPs connected to an etcd instance via an internal network.
<flavor> with either option in the following commands.
Please refer to the variable Documentation documentation for flavor specific properties which can be overriden in the
Note: If you are using Nova and experience networking issues between pods on different hosts, you might need to disable spoofing protection.
Ensure all prerequsities are met.
To create the necessary configuration in the
build/<name> folder, execute
$ make PLATFORM=openstack/<flavor> CLUSTER=<cluster-name> localconfig
To generate the Terraform plan, execute
$ make PLATFORM=openstack/<flavor> CLUSTER=<cluster-name> plan
To apply and create the cluster using Terraform execute
$ make PLATFORM=openstack/<flavor> CLUSTER=<cluster-name> apply
To destroy the cluster invoke
$ make PLATFORM=openstack/<flavor> CLUSTER=<cluster-name> destroy