Installing kubernetes on localhost using LXD

10/13/2017

I am trying to install kubernetes on localhost using LXD but facing issue. I am using conjure-up for this but on proceeding localhost option is not highlighted stating that LXD not found.

[Error]

enter image description here

I have installed LXD as per commands given. Do I need to provide path somewhere so that conjure-up finds the path or is there some other issue?

-- prasun
kubernetes

3 Answers

11/14/2017

Edit: I had to sudo apt purge lxd first

Then sudo apt upgrade

After installing lxd as suggested on conjure

sudo snap install lxd

/snap/bin/lxd init

Disabled IPV6 with the wizard

And then conjure-up

Don't forget to logout and login after adding the user to the group (I actually did a reboot)

-- user699153
Source: StackOverflow

11/8/2017

This worked for me:

sudo apt install snapd
sudo snap install lxd
sudo snap install conjure-up --classic
sudo lxd init --auto
/snap/bin/lxc network create lxdbr0 ipv4.address=auto ipv4.nat=true ipv6.address=none ipv6.nat=false
conjure-up kubernetes
-- HansQ
Source: StackOverflow

8/1/2018

You'll also need to create an LXD "dir" storage. Else no pods will launch correctly. This is a known issue with conjure-up. You can specify this when you run lxd init.

https://docs.conjure-up.io/stable/en/spellbooks/kubernetes#limitations

-- 2stacks
Source: StackOverflow