操作系统信息
虚拟机,Centos7.9
KubeSphere版本信息
使用kk 3.0.13安装kubesphere和kubernetes。报错,信息如下:
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:00:56 CST retry: [node1]
17:00:56 CST message: [node2]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:00:56 CST retry: [node2]
17:00:56 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:00:56 CST retry: [master]
17:01:01 CST message: [node1]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:01 CST message: [node2]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:01 CST message: [master]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:01 CST message: [node2]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:01 CST retry: [node2]
17:01:01 CST message: [node1]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:01 CST retry: [node1]
17:01:01 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:01 CST retry: [master]
17:01:06 CST message: [node2]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:06 CST message: [node2]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:06 CST message: [node1]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:06 CST message: [master]
downloading image: registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
17:01:06 CST message: [master]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:06 CST message: [node1]
pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
17:01:06 CST failed: [node2]
17:01:06 CST failed: [master]
17:01:06 CST failed: [node1]
error: Pipeline[CreateClusterPipeline] execute failed: Module[PullModule] exec failed:
failed: [node2] [PullImages] exec failed after 3 retries: pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
failed: [master] [PullImages] exec failed after 3 retries: pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
failed: [node1] [PullImages] exec failed after 3 retries: pull image failed: Failed to exec command: sudo -E /bin/bash -c “env PATH=$PATH docker pull registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6 –platform amd64”
unknown flag: –platform
See ‘docker pull –help’.: Process exited with status 125
yaml文件:
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
{name: master, address: 192.168.1.60, internalAddress: 172.15.4.60, user: root, password: 123456}
{name: node1, address: 192.168.1.61, internalAddress: 172.15.4.61, user: root, password: 123456}
{name: node2, address: 192.168.1.62, internalAddress: 172.15.4.62, user: root, password: 123456}
roleGroups:
etcd:
master
control-plane:
master
worker:
node1
node2
controlPlaneEndpoint:
Internal loadbalancer for apiservers
internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
kubernetes:
version: –with-kubesphere
clusterName: cluster.local
autoRenewCerts: true
containerManager:
etcd:
type: kubekey
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
multusCNI:
enabled: false
registry:
privateRegistry: ""
namespaceOverride: ""
registryMirrors: []
insecureRegistries: []
addons: []