Skip to content

Latest commit

 

History

History
28 lines (28 loc) · 1.67 KB

config.md

File metadata and controls

28 lines (28 loc) · 1.67 KB
Parameter Comment Example
backend virtualization backend libvirt
http-proxy proxy address. Accessible via {{ .HTTPProxy }} http://127.0.0.1:8888
https-proxy proxy address. Accessible via {{ .HTTPSProxy }} http://127.0.0.1:8888
pub-key-dir public key for vm ./a.pub
priv-key-dir private key for vm ./a
host-pub-key-dir public key of host machine ./host.pub
image image for vm. Only raw format is supported ./ubuntu.img
cloud-init cloud init yaml file ./cloud-init.yaml
nodes list of node
nodes.name node name node1
nodes.cpu node cpu cores 2
nodes.mem node memory size. Must be formatted as xG, where x can be an integer 2G
kube-init.args list of arguments when initing kubernetes
kube-init.args.key key of parameter pod-network-cidr
kube-init.args.value value of parameter 10.244.0.0/16
tmp_dir working directory for mediumkube
vm_kube_config_dir kube config dir in vm. You don't need to modify in most cases /home/ubuntu/.kube/config
overlay.enabled use overlay network for domains. If this is enabled, mediumkube will use etcd for DNS true
overlay.master IP address of master node. Mediumkube uses master-slave topology, master node has essential services running on it 192.168.1.2
overlay.etcd-port Port of etcd on master 6872
overlay.dns-etcd-prefix prefix of dns in etcd "/xmbsmdsj.co.uk/dns"
overlay.lease-etcd-prefix prefix of lease sync in etcd "xmbsmdsj.co.uk/lease"
overlay.flannel.network flannel cidr 10.114.114.0/16
overlay.flannel.etcd-prefix ETCD key prefix allocated for flannel "/xmbsmdsj.co.uk/network"
overlay.flannel.iface Interface for flannel flannel.1
overlay.flannel.backend flannel backend vxlan