forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update kubeflow overlay (kubeflow#1424)
Additional resources are created when KFServing is installed as a part of Kubeflow in the manifests repository. This commits updates the kubeflow overlay to make it more akin to what is installed with the manifests repo.
- Loading branch information
Showing
5 changed files
with
117 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apiVersion: app.k8s.io/v1beta1 | ||
kind: Application | ||
metadata: | ||
name: kfserving | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: kfserving | ||
app.kubernetes.io/component: kfserving | ||
componentKinds: | ||
- group: apps | ||
kind: StatefulSet | ||
- group: core | ||
kind: Service | ||
- group: core | ||
kind: Secret | ||
- group: core | ||
kind: ConfigMap | ||
- group: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
- group: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
descriptor: | ||
type: kfserving | ||
version: v1beta1 | ||
description: |- | ||
KFServing provides a Kubernetes Custom Resource Definition for serving ML Models on arbitrary frameworks | ||
maintainers: | ||
- name: KFServing | ||
url: https://github.com/kubeflow/kfserving | ||
owners: | ||
- name: KFServing | ||
url: https://github.com/kubeflow/kfserving | ||
keywords: | ||
- kfserving | ||
- inference | ||
links: | ||
- description: About | ||
url: https://github.com/kubeflow/kfserving | ||
addOwnerRef: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kubeflow-kfserving-admin | ||
labels: | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-admin: "true" | ||
aggregationRule: | ||
clusterRoleSelectors: | ||
- matchLabels: | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-kfserving-admin: "true" | ||
rules: [] | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kubeflow-kfserving-edit | ||
labels: | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-edit: "true" | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-kfserving-admin: "true" | ||
rules: | ||
- apiGroups: | ||
- serving.kubeflow.org | ||
resources: | ||
- inferenceservices | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- delete | ||
- deletecollection | ||
- patch | ||
- update | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kubeflow-kfserving-view | ||
labels: | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-view: "true" | ||
rules: | ||
- apiGroups: | ||
- serving.kubeflow.org | ||
resources: | ||
- inferenceservices | ||
verbs: | ||
- get | ||
- list | ||
- watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Remove namespace resource as namespace will already exist. | ||
$patch: delete | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: kfserving-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: kfserving-controller-manager | ||
namespace: kfserving-system | ||
spec: | ||
template: | ||
metadata: | ||
annotations: | ||
sidecar.istio.io/inject: "false" |