You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling create cluster --debug, we can see lots of crictl pull usage log:
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull kubesphere/k8s-dns-node-cache:1.22.20 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or help for one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
So all crictl image does not download, caused by crictl doesn't has --platform support.
--platform is a docker special argument, please double check.
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: kubesphere/kube-proxy:v1.28.12
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull kubesphere/kube-proxy:v1.28.12 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: coredns/coredns:1.9.3
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull coredns/coredns:1.9.3 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: kubesphere/k8s-dns-node-cache:1.22.20
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull kubesphere/k8s-dns-node-cache:1.22.20 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: calico/kube-controllers:v3.27.3
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull calico/kube-controllers:v3.27.3 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: calico/cni:v3.27.3
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull calico/cni:v3.27.3 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
18:32:34 CST message: [local-k8s-pre-master-001]
downloading image: calico/node:v3.27.3
18:32:34 CST command: [local-k8s-pre-master-001]
sudo -E /bin/bash -c "env PATH=$PATH crictl pull calico/node:v3.27.3 --platform amd64"
18:32:34 CST stdout: [local-k8s-pre-master-001]
NAME:
crictl pull - Pull an image from a registry
USAGE:
crictl pull command [command options] NAME[:TAG|@DIGEST]
COMMANDS:
help, h Shows a list of commands or helpfor one command
OPTIONS:
--annotation value, -a value [ --annotation value, -a value ] Annotation to be set on the pulled image
--auth AUTH_STRING Use AUTH_STRING for accessing the registry. AUTH_STRING is a base64 encoded 'USERNAME[:PASSWORD]' [$CRICTL_AUTH]
--creds USERNAME[:PASSWORD] Use USERNAME[:PASSWORD] for accessing the registry [$CRICTL_CREDS]
--pod-config pod-config.[json|yaml] Use pod-config.[json|yaml] to override the pull c
--username USERNAME, -u USERNAME Use USERNAME for accessing the registry. The password will be requested on the command line
--help, -h show help
Additional information
No response
The text was updated successfully, but these errors were encountered:
What is version of KubeKey has the issue?
3.1.5
What is your os environment?
Ubuntu 22.04
KubeKey config file
A clear and concise description of what happend.
When calling
create cluster --debug
, we can see lots of crictl pull usage log:So all crictl image does not download, caused by crictl doesn't has
--platform
support.--platform
is a docker special argument, please double check.Reference source code:Link
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: