koko@henqiangmafanrangyirang operator % operator-sdk create api --group prom.my.domain --version v1beta1 --kind Prom
Create Resource [y/n]
y
Create Controller [y/n]
y
Error: failed to create API with "go.kubebuilder.io/v3": multiple groups are not allowed by default, to enable multi-group visit https://kubebuilder.io/migration/multi-group.html
----------
koko@henqiangmafanrangyirang operator % operator-sdk create api --group batch --version v1 --kind Prom
Create Resource [y/n]
y
Create Controller [y/n]
y
Error: failed to create API with "go.kubebuilder.io/v3": multiple groups are not allowed by default, to enable multi-group visit https://kubebuilder.io/migration/multi-group.html
------
koko@henqiangmafanrangyirang ~ % operator-sdk version
operator-sdk version: "v1.5.0", commit: "98f30d59ade2d911a7a8c76f0169a7de0dec37a0", kubernetes version: "1.19.4", go version: "go1.15.5", GOOS: "darwin", GOARCH: "amd64"
为什么创建失败?虽然告诉我不能自定义,但是还是没能使用k8s的组【batch】,怎么办