This repository contains the Rancher Node Driver for Nutanix. Nutanix Node driver are used to provision hosts on Nutanix Enterprise Cloud, which Rancher uses to launch and manage Kubernetes clusters.
- Ability to select VM's Main Memory in Megabytes
- Ability to select VM's vCPU count
- Ability to set a custom name for the newly created VM
- Ability to set the number of cores per vCPU
- Ability to specify the network(s) of the VM
- Ability to specify the template disk in the VM by image name and modify his size (increase only)
- Ability to specify categories to applied to the VM ( flow, leap, ...)
- Ability to add one additional disk by specifying disk-size and storage-container
- Enable passthrough the host's CPU features to the newly created VM
If you want to use Nutanix Node Driver, you need add it in order to start using them to create node templates and eventually node pools for your Kubernetes cluster.
- From the Home view, choose Cluster Management > Drivers in the navigation bar. From the Drivers page, select the Node Drivers tab.
- Click Add Node Driver.
- Complete the Add Node Driver form. Then click Create.
- Wait for the driver to become "Active"
- Go to RKE1 Configuration > Node Templates, your can create a Nutanix Template and custom UI should show up.
Arg | Description | Required | Default |
---|---|---|---|
--nutanix-endpoint |
The hostname/ip-address of the Prism Central | yes | |
--nutanix-username |
The username of the nutanix management account | yes | |
--nutanix-password |
The password of the nutanix management account | yes | |
--nutanix-insecure |
Set to true to force SSL insecure connection | no | false |
--nutanix-cluster |
The name of the cluster where deploy the VM (case sensitive) | yes | |
--nutanix-vm-mem |
The amount of RAM of the newly created VM (MB) | no | 2 GB |
--nutanix-vm-cpus |
The number of cpus in the newly created VM (core) | no | 2 |
--nutanix-vm-cores |
The number of cores per vCPU | no | 1 |
--nutanix-vm-network |
The network(s) to which the VM is attached to | yes | |
--nutanix-vm-image |
The name of the Image we use as a template for the newly created VM | yes | |
--nutanix-vm-image-size |
The new size of the Image we use as a template (in GiB) | no | |
--nutanix-vm-categories |
The name of the categories who will be applied to the newly created VM | no | |
--nutanix-disk-size |
The size of the additional disk to add to the VM (in GiB) | no | |
--nutanix-storage-container |
The storage container UUID of the additional disk to add to the VM | no | |
--nutanix-vm-cpu-passthrough |
Enable passthrough the host's CPU features to the newly created VM | no | false |
build linux/amd64 binary => make
build local binary => make local
- v1 is the original Nutanix docker machine driver that connect to Prism Element
- v2.x add Rancher 2.0 support
- v3.x is a rewrite of the driver that connect to Prism Central