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

Feature: supports cross-architecture deployment #4716

Open
binaryYuki opened this issue Apr 30, 2024 · 0 comments
Open

Feature: supports cross-architecture deployment #4716

binaryYuki opened this issue Apr 30, 2024 · 0 comments
Labels
kind/feature New feature or request

Comments

@binaryYuki
Copy link

What is the problem this feature will solve?

支持跨架构部署 根据架构装 sealctl

If you have solution,please describe it

目前尝试得到:

在安装 Kubernetes 集群.
2024-04-30T22:03:35 info Start to create a new cluster: master [10.0.0.203], worker [10.0.0.198 10.0.0.75], registry 10.0.0.203
2024-04-30T22:03:35 info Executing pipeline Check in CreateProcessor.
2024-04-30T22:03:35 info checker:hostname [10.0.0.203:22 10.0.0.198:22 10.0.0.75:22]
2024-04-30T22:03:37 info checker:timeSync [10.0.0.203:22 10.0.0.198:22 10.0.0.75:22]
2024-04-30T22:03:37 info Executing pipeline PreProcess in CreateProcessor.
2024-04-30T22:03:37 info Executing pipeline RunConfig in CreateProcessor.
2024-04-30T22:03:37 info Executing pipeline MountRootfs in CreateProcessor.
2024-04-30T22:04:05 info Executing pipeline MirrorRegistry in CreateProcessor.     
2024-04-30T22:04:05 info trying default http mode to sync images to hosts [10.0.0.203:22]
2024-04-30T22:04:05 info Executing pipeline Bootstrap in CreateProcessor
 INFO [2024-04-30 22:04:05] >> Check port kubelet port 10249..10259, reserved port 5050..5054 inuse. Please wait... 
10.0.0.75:22     INFO [2024-04-30 22:04:05] >> Check port kubelet port 10249..10259, reserved port 5050..5054 inuse. Please wait... 
10.0.0.198:22    INFO [2024-04-30 22:04:05] >> Check port kubelet port 10249..10259, reserved port 5050..5054 inuse. Please wait... 
10.0.0.198:22    INFO [2024-04-30 22:04:06] >> check root,port,cri success 
10.0.0.75:22     INFO [2024-04-30 22:04:06] >> check root,port,cri success 
 INFO [2024-04-30 22:04:08] >> check root,port,cri success 
2024-04-30T22:04:08 info domain sealos.hub:10.0.0.203 append success
10.0.0.198:22   bash: line 1: /var/lib/sealos/data/default/rootfs/opt/sealctl: cannot execute binary file: Exec format error
10.0.0.75:22    bash: line 1: /var/lib/sealos/data/default/rootfs/opt/sealctl: cannot execute binary file: Exec format error
2024-04-30T22:04:08 error Applied to cluster error: failed to add hosts: failed to execute remote command `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.0.0.203  --domain sealos.hub`: run command `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.0.0.203  --domain sealos.hub` on 10.0.0.198:22, output: bash: line 1: /var/lib/sealos/data/default/rootfs/opt/sealctl: cannot execute binary file: Exec format error
, error: Process exited with status 126,
Error: failed to add hosts: failed to execute remote command `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.0.0.203  --domain sealos.hub`: run command `/var/lib/sealos/data/default/rootfs/opt/sealctl hosts add --ip 10.0.0.203  --domain sealos.hub` on 10.0.0.198:22, output: bash: line 1: /var/lib/sealos/data/default/rootfs/opt/sealctl: cannot execute binary file: Exec format error
, error: Process exited with status 126,

可能是因为 sealctl 是复制过去的?

What alternatives have you considered?

No response

@binaryYuki binaryYuki added the kind/feature New feature or request label Apr 30, 2024
@sealos-ci-robot sealos-ci-robot changed the title Feature: 支持跨架构部署 Feature: supports cross-architecture deployment Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant