Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMicrok8s 1.19.0 never ready, not working. #1570
Comments
|
Hi @WereCatf In the logs of kubelet (
and
I assume you are on btrfs and kubelet cannot query the stats of the underling filesystem. I wonder what our options are here? Is moving to another file system an option or do we need to further digg into this? I am not familiar with btrfs but this is a possibly related issue: [1] |
|
@ktsakalozos Wait, are you...are you serious? Using Btrfs breaks Microk8s?? Jesus Christ, that's definitely something I'd classify as a major issue. |
|
Exactly the same problem. / uses btrfs and I get the same errors in the kubelet logs. Ubuntu 18.04 LTS based system. |
|
Hi @GavinB-hpe Could you try one of the two suggestions recommended in #1587 (comment) |
|
Thanks @ktsakalozos --feature-gates="LocalStorageCapacityIsolation=false" Fixed things for me. |
|
Do you think this is something it should be automated? Can we reliably detect the cases where this is needed? |
|
@ktsakalozos Reliably detecting where this workaround is specifically absolutely needed, I dunno, but detecting cases where it might be needed could be as simple as: Personally, I don't think automating such a workaround should be done at all and instead the issue should be fixed properly at the source, but I don't really have a grasp of where it happens or who is in charge of the code and if they even care. |
|
We could detect btrfs in [1] https://github.com/ubuntu/microk8s/blob/master/scripts/inspect.sh#L106 |
|
Setting: |
|
To answer my own question: k8s 1.19 will not work, even with the feature-gates flag. |


Installing microk8s with sudo snap install microk8s --classic appears to go fine, but microk8s status always reports as microk8s not running. microk8s kubectl get all --all-namespaces shows everything as not ready and pending.
Ubuntu 20.04.1 Desktop, network-interfaces are ens33, lo, virbr0 and virbr0-nic, so nothing particularly exciting there. The flannel - interface you'd get with an earlier microk8s - version is a no-show here.
Already tried the solution mentioned in #1554 but that doesn't work.
inspection-report-20200916_031614.tar.gz