Skip to content

Commit

Permalink
feat(platform): change pull k8s images tool (tkestack#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed May 18, 2023
1 parent 53f4f03 commit 07a73f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/phases/image/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func PullKubernetesImages(c *v1.Cluster, s ssh.Interface, option *Option) error
return err
}
} else {
cmd = fmt.Sprintf("crictl pull %s", image)
cmd = fmt.Sprintf("nerdctl -n k8s.io pull %s", image)
_, err := s.CombinedOutput(cmd)
if err != nil {
if strings.Contains(err.Error(), "502 Bad Gateway") {
Expand Down

0 comments on commit 07a73f8

Please sign in to comment.