-
We have a running Kubernetes cluster with one x86 master node, and when add/expand a s390x master node into this cluster, the etcd got panic error with
both of x86 and s390x master node use same version etcd 3.5.5 We did a test on both of x86 and s390x to use bbolt to check the database created by x86 and s390x:
on x86 machine:
Question: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It's expected behaviour. You can't move db file from one platform to another platform, because different platforms may have different pageSize and endian. You can compare the differences using https://github.com/ahrtr/systeminfo. Building a cluster using machines from different platforms might be feasible in the beginning. But it will be problematic once sending a snapshot from the leader to a follower with a different platform. But of course, I do not have such environment to test it out. So the suggest for now is to always use machines with the same systeminfo (pageSize and endian) to run an etcd cluster. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer! |
Beta Was this translation helpful? Give feedback.
It's expected behaviour. You can't move db file from one platform to another platform, because different platforms may have different pageSize and endian. You can compare the differences using https://github.com/ahrtr/systeminfo.
Building a cluster using machines from different platforms might be feasible in the beginning. But it will be problematic once sending a snapshot from the leader to a follower with a different platform. But of course, I do not have such environment to test it out.
So the suggest for now is to always use machines with the same systeminfo (pageSize and endian) to run an etcd cluster.