rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 655 forks source link

RancherOS died in days after install k8s with RKE #2990

Closed Kation closed 4 years ago

Kation commented 4 years ago

RancherOS Version: 1.5.5

Where are you running RancherOS? Hyper-V

I found that Hyper-V must have some problem with ros and k8s. I have 6 vm install k8s with RKE. They are 3 for etcd, 3 for controlplane and worker. About 2 days later, this 3 controlplane and worker vms all died. SSH could be connect but there is no command input place. And connection closed by foregin host in few minutes. CPU always uses around 8%. Kubectl unable to connect.

About 2 years ago I face the same problem. And It was good when I install them in physical machine with same configuration.

Kation commented 4 years ago

I found that this is cased by dynamic memory enable in Hyper-V. I close that and everything is ok.