Kubernetes VM

This page is a work in progress.

This page assumes that a management VM was built locally.

  1. Copy the kubernetes VM image from node-images into the management VM.

    scp node-images/output-kubernetes-vm-qemu/kubernetes-vm-x86_64.qcow2 root@192.168.0.2:~/
  2. Log in to the Management VM From the hypervisor you can log in using the isolated network. The address of the first management-vm will be 192.168.0.2. The management-vm will resolve from /etc/hosts, its IP may also be found by running virsh net-dhcp-leases isolated.

    ssh root@192.168.0.2
  3. Move the kubernetes VM into the proper location

    mkdir -p /vms/images
    mv ~/kubernetes-vm-x86_64.qcow2 /vms/images/
  4. Change to the working directory for deploying the first Kubernetes Master VM

    cd /srv/cray/terraform
  5. Review the plan for terraform

    terraform plan
  6. Execute terraform

    terraform apply