Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
None
-
None
Description
Here's the following kubernetes client/server info on my local machine:
➜ incubator-yunikorn-k8shim git:(master) ✗ kubectl version Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/arm64"} Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:42:41Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/arm64"}
This results in the following error when running the `helm install` command from the docs:
➜ incubator-yunikorn-k8shim git:(master) ✗ helm install yunikorn yunikorn/yunikorn --namespace yunikornError: INSTALLATION FAILED: failed pre-install: unable to build kubernetes object for deleting hook yunikorn/templates/rbac.yaml: unable to recognize "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
I believe this is because ClusterRoleBinding is removed from rbac.authorization.k8s.io/v1beta1 as of version 1.22 of Kubernetes. We should instead use the following apiVersion for this resource in the yaml: rbac.authorization.k8s.io/v1.
Attachments
Issue Links
- Is contained by
-
YUNIKORN-941 split scheduler and admission controller deployment
- Closed
- is related to
-
YUNIKORN-997 Use K8s fine-grained access control for YuniKorn scheduler
- Closed
- relates to
-
YUNIKORN-987 remove references to Cloudera jiras
- Closed
- links to