shoes-provider for LXD
please set Environment values
shoes-lxd needs information of worker.
use LXD_HOSTS and ignore LXD_HOST if set both.
LXD_HOST- FQDN or IP address of running LXD daemon
LXD_CLIENT_CERT- File path of client cert
LXD_CLIENT_KEY- File path of client cert key
LXD_HOSTS
[
{
"host": "https://192.0.2.100:8443",
"client_cert": "./node1/client.crt",
"client_key": "./node1/client.key"
},
...
]LXD_IMAGE_ALIAS- set runner image alias
- default:
ubuntu:bionic - e.g.) for remote image server:
https://192.0.2.110:8443/ubuntu-custom
LXD_RESOURCE_TYPE_MAPPING- mapping
resource_typeand CPU / Memory. - need JSON format. keys is
resource_type_name,cpu,memory. - e.g.)
[{"resource_type_name": "nano", "cpu": 1, "memory": "1GB"}, {"resource_type_name": "micro", "cpu": 2, "memory": "2GB"}] - become no limit if not set resource_type.
- mapping
LXD Server can't use zfs in storageclass if use --privileged. ref: https://discuss.linuxcontainers.org/t/docker-with-overlay-driver-in-lxd-cluster-not-working/9243
We recommend using btrfs.