Add Longhorn Storage
Prerequisites
Section titled “Prerequisites”This follows on from Create a vagrant 3 node cluster so be sure to complete that section before proceeding with this one.
Familiarise yourself with …
Section titled “Familiarise yourself with …”A pipeline file vagrant-longhorn.json uses
- longhorn_prereqs.sh which uses an ansible playbook install_longhorn_prereqs.yaml
- install_longhorn.sh
kubectl
installs longhorn storage - wait_for_longhorn.sh waits for longhorn setup to be complete.
Run the pipeline …
Section titled “Run the pipeline …”From the previous directory in our example which was /home/user/projects/infctl-cli
we need to change directory cd vagrant/dev/ubuntu/
so we can ssh
to the workstation
vagrant ssh workstation
and once logged in to the workstation we can install longhorn with
LOG_FORMAT=basic infctl -f pipelines/vagrant-longhorn.json