Unable to create Api | Helm Operator

45 views
Skip to first unread message

Vaishali Gupta

unread,
Oct 28, 2021, 8:58:24 AM10/28/21
to Operator Framework
Hello Team,

Need your help to resolve issue with helm operator, we are not able to create API using below command.

root@kubernetes-operator:/home/ubuntu/hsshelm-operator# operator-sdk init --domain example.com --plugins helm 

getting below error

Writing kustomize manifests for you to edit... Next: define a resource with: $ operator-sdk create api root@kubernetes-operator:/home/ubuntu/hsshelm-operator# operator-sdk create api --group demo --version v1alpha1 --kind Hss Writing kustomize manifests for you to edit... Created helm-charts/hss Generating RBAC rules I1028 12:48:38.275538 99584 request.go:665] Waited for 1.046792741s due to client-side throttling, not priority and fairness, request: GET:https://127.0.0.1:6443/apis/scheduling.k8s.io/v1?timeout=32s WARN[0003] Using default RBAC rules: failed to generate RBAC rules: failed to get server resources: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request

Version details on system as below 

root@kubernetes-operator:/home/ubuntu/hsshelm-operator# git version
git version 2.25.1
root@kubernetes-operator:/home/ubuntu/hsshelm-operator# go version
go version go1.16.9 linux/amd64
root@kubernetes-operator:/home/ubuntu/hsshelm-operator# kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-16T02:43:21Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5+k3s2", GitCommit:"724ef700bab896ff252a75e2be996d5f4ff1b842", GitTreeState:"clean", BuildDate:"2021-10-05T19:59:14Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
root@kubernetes-operator:/home/ubuntu/hsshelm-operator# docker version
Client:
 Version:           20.10.8

could you please guide us what we can do to fix this ?

Thanks & Regards,
Vaishali Gupta
vaishal...@gslab.com

Reply all
Reply to author
Forward
0 new messages