cannot create resource "inferenceservices" in API group "serving.kubeflow.org" in the namespace "..."
See original GitHub issue/kind bug
I don’t seem to be able to create inference services from within Jupyter. Doing so results in the following error:
inferenceservices.serving.kubeflow.org is forbidden: User "system:serviceaccount:karl-schriek:default-editor" cannot create resource "inferenceservices" in API group "serving.kubeflow.org" in the namespace "karl-schriek": RBAC: clusterrole.rbac.authorization.k8s.io
Authorisation does not appear to be present in the kubeflow-edit
ClusterRole. As a workaround I currently have to create the following RoleBinding:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: inferenceservice-edit
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/inference-service
rules:
- apiGroups:
- "*"
resources:
- inferenceservice
verbs:
- "*"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: inferenceservice-edit
namespace: karl-schriek
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: inferenceservice-edit
subjects:
- kind: ServiceAccount
name: default-editor
namespace: karl-schriek
Environment:
- Istio Version: 1.16
- Knative Version: 0.11.1
- KFServing Version: 0.3.0
- Kubeflow version: 1.0.0
- Kubernetes version: (use
kubectl version
): 1.14 (EKS)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
cannot create resource "inferenceservices" in API group ...
kind bug I don't seem to be able to create inference services from within ... in API group "serving.kubeflow.org" in the namespace "....
Read more >User system:serviceaccount:kubeflow-user-example-com ...
Kubeflow forbidden: User system:serviceaccount:kubeflow-user-example-com:default-editor cannot create resource inferenceservices in API group.
Read more >Models UI - Kubeflow
The Models web app is responsible for allowing the user to manipulate the Model Servers in their Kubeflow cluster.
Read more >https://raw.githubusercontent.com/kubeflow/kfservi...
creationTimestamp name: Age type: date group: serving.kubeflow.org names: kind: ... ://git.k8s.io/community/contributors/devel/api-conventions.md#resources' ...
Read more >Getting the error cannot create resource "tokenreviews" in API ...
cannot create resource \"tokenreviews\" in API group ... The service account is configured in kubernetes initial namespaces such as ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! Links: app homepage, dashboard and code for this bot.
@yuzisun: Closing this issue.
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.