[
https://issues.apache.org/jira/browse/YUNIKORN-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469533#comment-17469533
]
Anuraag Nalluri edited comment on YUNIKORN-995 at 1/5/22, 8:17 PM:
-------------------------------------------------------------------
Thanks [~wwei]. It does look similar to all the linked issues in YUNIKORN-976.
Changed the title of this ticket to be more specific. Can you add me as a
contributor to this project, so I can assign this ticket to myself?
>From looking at previous changelogs, it seems the releases batch more
>significant changes together before new charts are released. Is it advisable
>to make a PR for the chart changes _without_ publishing a new version as is
>done here:
>[https://github.com/apache/incubator-yunikorn-k8shim/pull/271/files]?
I can ensure modifying the ClusterRoleBinding apiVersion here won't change the
status of the [supported K8s
versions|https://artifacthub.io/packages/helm/yunikorn/yunikorn#supported-k8s-versions]
before merging, except for getting us a step closer to supporting v1.22.
was (Author: JIRAUSER283086):
Thanks [~wwei]. It does look similar to all the linked issues in YUNIKORN-976.
Changed the title of this ticket to be more specific. Can you add me as a
contributor to this project, so I can assign this ticket to myself?
>From looking at previous changelogs, it seems the releases batch more
>significant changes together before new charts are released. Is it advisable
>to make a PR for the chart changes _without_ publishing a new version as is
>done
>[here|[https://github.com/apache/incubator-yunikorn-k8shim/pull/271/files]]?
I can ensure modifying the ClusterRoleBinding apiVersion here won't change the
status of the [supported K8s
versions|https://artifacthub.io/packages/helm/yunikorn/yunikorn#supported-k8s-versions]
before merging, except for getting us a step closer to supporting v1.22.
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]