Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap Docker CRI with containerd #13

Closed
onedr0p opened this issue Feb 13, 2020 · 6 comments
Closed

Swap Docker CRI with containerd #13

onedr0p opened this issue Feb 13, 2020 · 6 comments

Comments

@onedr0p
Copy link
Owner

onedr0p commented Feb 13, 2020

Using Docker isn't really needed, or is it? A couple concerns are:

@onedr0p onedr0p changed the title Redeploy cluster with containerd Redeploy cluster with containerd over Docker Feb 13, 2020
@onedr0p onedr0p changed the title Redeploy cluster with containerd over Docker Swap Docker CRI with containerd Feb 13, 2020
@onedr0p
Copy link
Owner Author

onedr0p commented Feb 19, 2020

I did this for my two worker nodes, one at a time:

kubectl drain <node>
kubectl delete node <node>

# on the node itself I ran
docker system prune -a --force
sudo reboot
k3s-killall.sh
k3s-uninstall.sh
k3s-agent-uninstall.sh
sudo reboot
docker system prune -a --force
sudo apt remove --purge docker-ce
sudo apt auto-remove
# removed docker repo from /etc/apt/sources.list
sudo apt update
sudo reboot
# joined the nodes back with k3sup without the `--docker` flag

Now I am unsure if doing this on my master and storage nodes will have a negative impact.

@carpenike
Copy link

Doing your master would probably brick ya wouldn't it?

Storage (Ceph) should be able to do one at a time... treat it like a ceph OSD failure and flatten the node entirely / bring it back in.

@carpenike
Copy link

... but take a backup first. :-D

@onedr0p
Copy link
Owner Author

onedr0p commented Feb 20, 2020

Yea, master is the hard one :)
I will probably wait until I can get my app data properly backed up and a way to restored before I do the rest. I can tear it all down and stand it back up.

@onedr0p
Copy link
Owner Author

onedr0p commented Mar 25, 2020

Implementing this on my iteration of my cluster

@onedr0p
Copy link
Owner Author

onedr0p commented Apr 8, 2020

Done

@onedr0p onedr0p closed this as completed Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants