<html><head></head><body><div class="ydp48a1cb5cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">Fortunately that bug didnt last that long ;-)</div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
        
        </div><div id="ydpd6241473yahoo_quoted_6300210041" class="ydpd6241473yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Sunday, 14 March 2021, 18:14:26 GMT, James Courtier-Dutton via Wolves <wolves@mailman.lug.org.uk> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Kubernetes problems solved.<br clear="none">Kubernetes 1.20.2 has bugs related to btrfs and will not work with btrfs.<br clear="none">Kubernates 1.20.4 has fixed those bugs and it works fine with btrfs<br clear="none"><div class="ydpd6241473yqt7547519693" id="ydpd6241473yqtfd44950"><br clear="none">On Sun, 14 Mar 2021 at 11:14, James Courtier-Dutton<br clear="none"><<a shape="rect" href="mailto:james.dutton@gmail.com" rel="nofollow" target="_blank">james.dutton@gmail.com</a>> wrote:<br clear="none">><br clear="none">> Hi.<br clear="none">><br clear="none">> After further investigations.<br clear="none">> microk8s version 1.20.2  is not compatible with btrfs.<br clear="none">> My problem is btrfs specific:<br clear="none">> 30>1 2021-03-14T10:03:03.965578+00:00 thread microk8s.daemon-kubelet<br clear="none">> 33517 - -  F0314 10:03:03.965459   33517 kubelet.go:1350] Failed to<br clear="none">> start ContainerManager failed to get rootfs info: failed to get device<br clear="none">> for dir "/var/snap/microk8s/common/var/lib/kubelet": could not find<br clear="none">> device with major: 0, minor: 29 in cached partitions map<br clear="none">><br clear="none">> Essentially, btrfs reports fs device major/minor number differently<br clear="none">> from say ext4, and thus is not appearing in /proc/X/mountinfo<br clear="none">> So, kubelet cannot find the mount point for a btrfs mount.<br clear="none">><br clear="none">> So, my advice to people is don't use btrfs with kubernetes for now.<br clear="none">><br clear="none">> Kind Regards<br clear="none">><br clear="none">> James<br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Sat, 13 Mar 2021 at 17:46, James Courtier-Dutton<br clear="none">> <<a shape="rect" href="mailto:james.dutton@gmail.com" rel="nofollow" target="_blank">james.dutton@gmail.com</a>> wrote:<br clear="none">> ><br clear="none">> > Hi,<br clear="none">> ><br clear="none">> > I thought I would have a play with microk8s on a home pc.<br clear="none">> > Suffice to say I have got nowhere fast.<br clear="none">> > The initial install looked ok, but it failed to start the process that<br clear="none">> > listens on port 16443. I fixed that with the command:<br clear="none">> > microk8s disable ha-cluster<br clear="none">> ><br clear="none">> > Now it is complaining of disk problems. I.e. overlayfs not working.<br clear="none">> > I have so far narrowed this down to overlayfs not being compatible with btrfs.<br clear="none">> > Does anyone have any clues with regards to making microk8s play nicely<br clear="none">> > with btrfs?<br clear="none">> ><br clear="none">> > It looks like containerd supports btrfs as it has a btrfs folder, but<br clear="none">> > I cannot find any documentation that explains how to get it working.<br clear="none">> ><br clear="none">> > I am pleased that kubernetes is using just containerd now, instead of<br clear="none">> > all of docker. So, at least kubernetes is getting a little less<br clear="none">> > complex over time.<br clear="none">> ><br clear="none">> > Any help would be welcome.<br clear="none">> ><br clear="none">> > Kind Regards<br clear="none">> ><br clear="none">> > James<br clear="none"><br clear="none">-- <br clear="none">Wolves LUG mailing list<br clear="none">Homepage: <a shape="rect" href="http://www.wolveslug.org.uk/" rel="nofollow" target="_blank">http://www.wolveslug.org.uk/</a><br clear="none">Mailing list: <a shape="rect" href="mailto:Wolves@mailman.lug.org.uk" rel="nofollow" target="_blank">Wolves@mailman.lug.org.uk</a><br clear="none">Mailing list home: <a shape="rect" href="https://mailman.lug.org.uk/mailman/listinfo/wolves" rel="nofollow" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/wolves</a></div></div></div>
            </div>
        </div></body></html>