Configuration File Examples
Provides example configuration files.
Example 2-1 Set some default options to create remote libvirt clusters
This example uses a specific SSH key to connect to a remote system to create clusters, includes the proxy server configuration, and doesn't install the UI.
providers:
libvirt:
uri: qemu+ssh://myuser@host.example.com/system
sshKey: /home/username/.ssh/id_rsa.ocne
proxy:
httpsProxy: http://myproxy.example.com:2138
httpProxy: http://myproxy.example.com:2138
noProxy: .example.com,127.0.0.1,localhost,169.254.169.254,10.96.0.0/12,10.244.0.0/16
headless: true
Example 2-2 Set some default options to create local libvirt clusters
This example sets several options, including the sizes for the Kubernetes nodes in a libvirt cluster.
provider: libvirt
name: mycluster
workerNodes: 2
controlPlaneNodes: 1
providers:
libvirt:
controlPlaneNode:
cpu: 2
memory: 8Gi
storage: 20Gi
workerNode:
cpu: 2
memory: 8Gi
storage: 20Gi