When doing things in China, you have to solve network issues daily.
It’s okay locally, but it’s a bit painful on the server.
Today when fiddling with the k3s cluster, I accidentally wiped out etcd.
So I started reinstalling the entire cluster.
Everything else is fine, the images are all on some cloud, but traefik is painful.
This thing uses docker hub source.
If it was a few years ago, it would be fine, there were so many mirror sources in China, just configure one and it’s done.
But after last year, the mirror sources died one by one.
Can’t give the server a scientific internet either.
And the premise of scientific internet is that you have to scientific internet first to download things.
Dead end.
After fiddling for several hours, I had a sudden idea.
Just export the image locally and import it, isn’t that done.
k3s although it doesn’t use docker runtime, but it has compatible commands.
Asked GPT, very simple.
| |
Done.
Yes. That’s how simple it is.
Everything is so harmonious.