forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds notebook-controller manifest (kubeflow#9)
* adds ambassador and argo components to manifests * removes ksonnet labels * removed unused stubs for overlays * adds jupyter web app * adds notebook-controller
- Loading branch information
1 parent
ccdb844
commit b406647
Showing
8 changed files
with
108 additions
and
0 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
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,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: notebooks-controller | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: notebooks-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: notebook-controller | ||
namespace: kubeflow |
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,24 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: notebooks-controller | ||
rules: | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- statefulsets | ||
- deployments | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- services | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- kubeflow.org | ||
resources: | ||
- notebooks | ||
verbs: | ||
- '*' |
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,14 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: notebooks.kubeflow.org | ||
spec: | ||
group: kubeflow.org | ||
names: | ||
kind: Notebook | ||
plural: notebooks | ||
singular: notebook | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha1 |
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,21 @@ | ||
apiVersion: apps/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
name: notebooks-controller | ||
namespace: kubeflow | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: notebooks-controller | ||
template: | ||
metadata: | ||
labels: | ||
app: notebooks-controller | ||
spec: | ||
containers: | ||
- command: | ||
- /manager | ||
image: gcr.io/kubeflow-images-public/notebook-controller:v20190214-v0.4.0-rc.1-142-ge7e38b0f-dirty-73cae0 | ||
imagePullPolicy: Always | ||
name: manager | ||
serviceAccountName: notebook-controller |
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,18 @@ | ||
namePrefix: notebooks-controller- | ||
|
||
resources: | ||
- crd.yaml | ||
- cluster-role.yaml | ||
- service-account.yaml | ||
- cluster-role-binding.yaml | ||
- service.yaml | ||
- deployment.yaml | ||
|
||
commonLabels: | ||
kustomize.component: notebooks-controller | ||
|
||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
images: | ||
- name: gcr.io/kubeflow-images-public/notebook-controller | ||
newTag: v20190214-v0.4.0-rc.1-142-ge7e38b0f-dirty-73cae0 |
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,7 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
labels: | ||
app: notebook-controller | ||
name: notebook-controller | ||
namespace: kubeflow |
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: v1 | ||
kind: Service | ||
metadata: | ||
name: notebooks-controller | ||
namespace: kubeflow | ||
spec: | ||
ports: | ||
- port: 443 | ||
selector: | ||
app: notebooks-controller |