Closed nsalfos closed 1 year ago
I had a similar issue on ubuntu 22.04. It seems that containerd version provided by ubuntu repo is too old for the lasted kubernetes version releases 1 week ago see also: https://kubernetes.io/blog/2022/11/18/upcoming-changes-in-kubernetes-1-26/#cri-api-removal I solved by manually upgrading the version but maybe sender would suggest a better approach. Those are the command I used:
sudo su
wget https://github.com/containerd/containerd/releases/download/v1.6.15/containerd-1.6.15-linux-amd64.tar.gz
tar xvf containerd-1.6.15-linux-amd64.tar.gz
systemctl stop containerd
cd bin
cp * /usr/bin/
systemctl start containerd
Thanks for your much appreciated feedback. I have integrated your solution in the setup-container.sh script, while waiting for a container update to be released in the Ubuntu repositories. Please let me know if you have any additional feedback.
On 25 Jan 2023, at 15:09, @. @.> wrote:
I had a similar issue on ubuntu 22.04. It seems that containerd version provided by ubuntu repo is too old for the lasted kubernetes version releases 1 week ago see also: https://kubernetes.io/blog/2022/11/18/upcoming-changes-in-kubernetes-1-26/#cri-api-removal https://kubernetes.io/blog/2022/11/18/upcoming-changes-in-kubernetes-1-26/#cri-api-removal I solved by manually upgrading the version but maybe sender would suggest a better approach. Those are the command I used: sudo su wget https://github.com/containerd/containerd/releases/download/v1.6.15/containerd-1.6.15-linux-amd64.tar.gz https://github.com/containerd/containerd/releases/download/v1.6.15/containerd-1.6.15-linux-amd64.tar.gz tar xvf containerd-1.6.15-linux-amd64.tar.gz systemctl stop containerd cd bin cp * /usr/bin/ systemctl start containerd
— Reply to this email directly, view it on GitHub https://github.com/sandervanvugt/cka/issues/12#issuecomment-1403681158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3TNVUL5QTZG53E2CJEUPTWUEXZ3ANCNFSM6AAAAAAUFLLDG4. You are receiving this because you are subscribed to this thread.
Hey @sandervanvugt thanks for coming back, it seems you updated the script but left out CentOS completely there.
Sorry, I’ll work on CentOS later and provide a full update. The old code was CentOS 7 only anyway, and I’m too busy now to give that an update as well now.
On 26 Jan 2023, at 12:27, nsalfos @.***> wrote:
Hey @sandervanvugt https://github.com/sandervanvugt thanks for coming back, it seems you updated the script but left out CentOS completely there.
— Reply to this email directly, view it on GitHub https://github.com/sandervanvugt/cka/issues/12#issuecomment-1404874336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3TNVRO2MDCGQD5GXXURALWUJNTHANCNFSM6AAAAAAUFLLDG4. You are receiving this because you were mentioned.
@sandervanvugt no worries, thanks for the quick reply, i'll try to go over the kubernets doc, document the steps i do and send you PR later.
@sandervanvugt sent that PR, feel free to check and modify as you please, hope it helps!