Hi Stephan,

Which ISO do you use ? There are some ISOs on
https://download.cloudstack.org/cks/ , but they are out-of-date.
You can use create-kubernetes-binaries-iso.sh to create your own ISO with
specific cni/cri/weave/dashboard versions.


-Wei


On Wed, 24 May 2023 at 18:05, Stephan Bienek <stephan....@bienek.org> wrote:

> Hi Stanley,
>
> i finally found a hint, that for k8s v1.26 you need containerd >=1.6
>
> But the containerd version installed is < 1.6
>
> I made the "kubeadm init --token ..." command from the script
> /opt/bin/deploy-kube-system working after updating containerd on the
> controller node to >1.6
>
> echo "deb [arch=$(dpkg --print-architecture)
> signed-by=/etc/apt/keyrings/docker.gpg]
> https://download.docker.com/linux/debian $(lsb_release -cs) stable" |
> sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
> apt-get update
> apt-get remove containerd runc
> apt-get install containerd.io
> containerd config default | tee /etc/containerd/config.toml
> sed -i 's/SystemdCgroup \= false/SystemdCgroup \= true/'
> /etc/containerd/config.toml
> systemctl restart containerd
>
> bash -e /opt/bin/deploy-kube-system
>
> I'm now trying to find out which component is installing containerd and
> where it's possible to adjust that.
>
> Best regards,
> Stephan
>
> > Stanley Burkee <stanley.bur...@gmail.com> hat am 04.05.2023 09:29 CEST
> geschrieben:
> >
> >
> > Hi Stephan,
> >
> > Thanks for your response.
> >
> > Please update if you were able to find any solution to the issue.
> >
> > Your help is much appreciated.
> >
> > Thanks
> >
> > Stanley
> >
> > On Tue, May 2, 2023 at 7:16 PM Stephan Bienek <stephan....@bienek.org>
> > wrote:
> >
> > > Hi Stanley,
> > >
> > > i probably ran into the same issue on Cloudstack 4.17.0.1 and was not
> sure
> > > if it's an issue not beeing in 4.18 yet.
> > >
> > > The instances are up and running, but the kubebernetes cluster
> deployment
> > > issued on the control node via kubeadm is failing.
> > >
> > > When logging in to the control node and checking the kubeadm logs or
> > > manually executing the bash script, which is executing kubeadm to
> deploy
> > > the cluster you will probably find the error
> > >
> > > CRI v1 runtime API is not implemented for endpoint
> > > "unix:///run/containerd/containerd.sock": rpc error: code =
> Unimplemented
> > > desc = unknown service runtime.v1.RuntimeService
> > >
> > > and/or
> > > [ERROR CRI]: container runtime is not running
> > >
> > > What i tried unsuccessful so far
> > > - editing /etc/containerd/config.toml and adding a few tipps from
> google
> > > searches here and there
> > > - deleting /etc/containerd/config.toml
> > > - installing the more up to date version of containerd
> > >
> > > Unfortunately i couldn't find the time to fully troubleshoot the issue
> yet
> > > and went the easy way of using Kubernetes ISO v1.25 which works like a
> > > charm.
> > >
> > > Maybe someone with more insight to it found an easy solution?
> > >
> > > Best regards,
> > > Stephan
> > >
> > > > Stanley Burkee <stanley.bur...@gmail.com> hat am 02.05.2023 15:23
> CEST
> > > geschrieben:
> > > >
> > > >
> > > > Hi guys,
> > > >
> > > > We are trying to create a Kubernetes cluster v.1.26 in Cloudstack
> 4.18.
> > > The
> > > > controller & worker nodes are provisioned and show in a running
> state but
> > > > Kubernetes Cluster is stuck in the starting state.
> > > >
> > > > Thanks a lot in advance.
> > > >
> > > >
> > > > Regards
> > > >
> > > > Stanley
> > >
>

Reply via email to