Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(component): Add apps component notebook-controller #143

Merged
merged 2 commits into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions kustomize/apps/notebook-controller/base/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: deployment
spec:
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
spec:
containers:
- name: manager
image: gcr.io/kubeflow-images-public/notebook-controller:v1.1.0-gd3377cbd
command:
- /manager
env:
- name: ENABLE_CULLING
value: "true"
- name: IDLE_TIME
value: "1440"
- name: CULLING_CHECK_PERIOD
value: "1"
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /metrics
port: 8080
initialDelaySeconds: 30
periodSeconds: 30
serviceAccountName: service-account
8 changes: 8 additions & 0 deletions kustomize/apps/notebook-controller/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/kubeflow/manifests/apps/jupyter/notebook-controller/upstream/overlays/kubeflow?ref=v1.3.1

patchesStrategicMerge:
- deployment.yaml
1 change: 1 addition & 0 deletions kustomize/stacks/aaw/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ resources:
- ../../apps/pipeline/base
- ../../apps/jupyter-web-app/base
- ../../apps/kfserving/base
- ../../apps/notebook-controller/base
- ../../apps/profiles/base
1 change: 1 addition & 0 deletions kustomize/stacks/local/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ resources:
- ../../apps/pipeline/base
- ../../apps/jupyter-web-app/base
- ../../apps/kfserving/base
- ../../apps/notebook-controller/base
- ../../apps/profiles/base
1 change: 1 addition & 0 deletions kustomize/stacks/upstream/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ resources:
- ../../apps/pipeline/base
- ../../apps/jupyter-web-app/base
- ../../apps/kfserving/base
- ../../apps/notebook-controller/base
- ../../apps/profiles/base