Hi, I have successfully installed FCOS in KVM from ISO.
For installation of K8S I run this command sudo rpm-ostree install kubelet kubeadm kubectl
There were no issues during installation. [core@vm192-fcos ~]$ sudo rpm-ostree install kubelet kubeadm kubectl Checking out tree f480038... done Enabled rpm-md repositories: updates fedora kubernetes rpm-md repo 'updates' (cached); generated: 2020-01-21T01:02:46Z rpm-md repo 'fedora' (cached); generated: 2019-10-23T22:52:47Z Updating metadata for 'kubernetes'... done rpm-md repo 'kubernetes'; generated: (invalid timestamp) Importing rpm-md... done Resolving dependencies... done Will download: 10 packages (46.3MB) Downloading from 'fedora'... done Downloading from 'kubernetes'... done Downloading from 'updates'... done Importing packages... done Checking out packages... done Running pre scripts... done Running post scripts... done Running posttrans scripts... done Writing rpmdb... done Writing OSTree commit... done Staging deployment... done Added: conntrack-tools-1.4.5-4.fc31.x86_64 cri-tools-1.13.0-0.x86_64 ebtables-legacy-2.0.10-37.fc31.x86_64 ethtool-2:5.4-1.fc31.x86_64 kubeadm-1.17.2-0.x86_64 kubectl-1.17.2-0.x86_64 kubelet-1.17.2-0.x86_64 libnetfilter_cthelper-1.0.0-16.fc31.x86_64 libnetfilter_cttimeout-1.0.0-14.fc31.x86_64 libnetfilter_queue-1.0.2-14.fc31.x86_64 Run "systemctl reboot" to start a reboot
After reboot I tried to start service /kubelet/, but the status shows that the service fails to run: [core@vm192-fcos ~]$ sudo systemctl status kubelet * kubelet.service - kubelet: The Kubernetes Node Agent Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/kubelet.service.d `-10-kubeadm.conf Active: activating (auto-restart) (Result: exit-code) since Wed 2020-01-22 08:03:05 UTC; 1s ago Docs: https://kubernetes.io/docs/ Process: 2592 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=255/EXCEPTION) Main PID: 2592 (code=exited, status=255/EXCEPTION)
Can you please advise why the service is not starting? Is the procedure for installation of K8S incorrect?
THX
On 1/22/20 3:07 AM, Thomas Schneider wrote:
Can you please advise why the service is not starting? Is the procedure for installation of K8S incorrect?
Hey Thomas,
Unfortunately we don't have a good story for installing K8S on Fedora CoreOS right now. Some people have done it themselves, but we don't have any published or recommended way to do it right now. We have concentrated on getting the OS out the door and now we can start to bite off some of these higher level goals.
Here is an issue you can follow where we are having discussions about this topic: https://github.com/coreos/fedora-coreos-tracker/issues/93
Dusty
Just as an anecdote.
We are still using "old" CoreOS as base OS for Mesosphere DC/OS stack, with excellent results. Now I learned that it has become officially unsupported, surely because now CoreOS is in a kind of no man's land.
We hope that it will become soon a solid and well defined product, to use as modern OS for Mesos, K8s and other container platform.
Bye
________________________________ Da: Dusty Mabe dusty@dustymabe.com Inviato: mercoledì 29 gennaio 2020 19:19 A: Thomas Schneider 74cmonty@gmail.com; coreos@lists.fedoraproject.org coreos@lists.fedoraproject.org Oggetto: [CoreOS] Re: Starting kubelet service in FCOS fails
On 1/22/20 3:07 AM, Thomas Schneider wrote:
Can you please advise why the service is not starting? Is the procedure for installation of K8S incorrect?
Hey Thomas,
Unfortunately we don't have a good story for installing K8S on Fedora CoreOS right now. Some people have done it themselves, but we don't have any published or recommended way to do it right now. We have concentrated on getting the OS out the door and now we can start to bite off some of these higher level goals.
Here is an issue you can follow where we are having discussions about this topic: https://github.com/coreos/fedora-coreos-tracker/issues/93
Dusty _______________________________________________ CoreOS mailing list -- coreos@lists.fedoraproject.org To unsubscribe send an email to coreos-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/coreos@lists.fedoraproject.org
coreos@lists.fedoraproject.org