Closed albertomurillo closed 7 years ago
@albertomurillo thanks for this! I'm about to merge #5 though so that will cause a rebase for sure :(
@albertomurillo could you rebase and I'll give this a try asap?
So I provisioned a 3 node cluster with this playbook in this PR but somehow kubeadm init
doesn't work anymore, I'm re-trying another cluster with master to understand if this PR is the issue.
so it does work with master, I'm retrying one more time with this PR before saying it's an issue with this PR :(
@albertomurillo have you tested if this is working on Fedora? I couldn't get it work as per our previous IRC chat :(
@runcom no but it didnt work either with master... I think is an issue with not restarting crio and kubelet services after /etc/crio/crio.conf
and /etc/systemd/system/kubelet.service.d/0-crio.conf
are changed
@runcom no but it didnt work either with master... I think is an issue with not restarting crio and kubelet services after /etc/crio/crio.conf and /etc/systemd/system/kubelet.service.d/0-crio.conf are changed
may be right, actually, we should do a daemon-reload after we install the systemd drop in. WRT crio.conf I think crio isn't started when we edit it, so that's probably ok.
I have the change to reload daemons ready since yesterday im testing them right now but my internet is a bit slow :P
This is ready now.
I still can't make this to work on Fedora 25 :confused:
[certificates] Generated service account token signing key and public key.
[certificates] Generated front-proxy CA certificate and key.
[certificates] Generated front-proxy client certificate and key.
[certificates] Valid certificates and keys now exist in "/etc/kubernetes/pki"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/admin.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/kubelet.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/controller-manager.conf"
[kubeconfig] Wrote KubeConfig file to disk: "/etc/kubernetes/scheduler.conf"
[apiclient] Created API client, waiting for the control plane to become ready
[apiclient] All control plane components are healthy after 145.514402 seconds
[apiclient] Waiting for at least one node to register
[apiclient] Temporarily unable to list nodes (will retry)
[apiclient] Temporarily unable to list nodes (will retry)
[apiclient] Temporarily unable to list nodes (will retry)
[apiclient] Temporarily unable to list nodes (will retry)
Im splitting this PR into smaller ones.
Fix https://github.com/cri-o/cri-o-ansible/issues/7