[ 
https://issues.apache.org/jira/browse/YUNIKORN-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469591#comment-17469591
 ] 

Wilfred Spiegelenburg edited comment on YUNIKORN-995 at 1/5/22, 11:23 PM:
--------------------------------------------------------------------------

We need to fix this for v1.0.

We also need to think about the role requirement at this point. I have 
discussed this with different people over time already. I have filed 
YUNIKORN-997 to dive into that a bit more.

 


was (Author: wifreds):
We need to fix this for v1.0.

We also need to think about the role requirement at this point. I have 
discussed this with different people over time already. I have filed 
YUNIKORN-996 to dive into that a bit more.

 

> Use v1 for ClusterRoleBinding rbac.authorization.k8s.io instead of v1beta1
> --------------------------------------------------------------------------
>
>                 Key: YUNIKORN-995
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-995
>             Project: Apache YuniKorn
>          Issue Type: Bug
>            Reporter: Anuraag Nalluri
>            Assignee: Anuraag Nalluri
>            Priority: Critical
>              Labels: newbie
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Here's the following kubernetes client/server info on my local machine:
> {code:java}
> ➜  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"} {code}
> This results in the following error when running the `helm install` command 
> from the docs:
> {code:java}
> ➜  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"{code}
> 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. 
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to