Skip to content

Macpro M1 failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2 #2866

Closed Answered by camilamacedo86
opvexe asked this question in Support
Discussion options

You must be logged in to vote

Hi @shumintao,

Apple Silicon (darwin/arm64) is supported using the go/v4-alpha plugin which provides support for this platform.

kubebuilder init --domain my.domain --repo my.domain/guestbook --plugins=go/v4-alpha
Note: The go/v4-alpha plugin is an unstable version and can have breaking changes in future releases. The previous kustomize version (v3.Y.Z) used in the go/v3 has no available binaries for this platform kubernetes-sigs/kustomize#4612 Because of this, we cannot support this darwin/arm64 on the stable scaffold done by default with the Kubebuilder with the go/v3 plugin.

This info is in the readme and in the quick start already,

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@opvexe
Comment options

Answer selected by opvexe
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants