Skip to content

Instantly share code, notes, and snippets.

View vpavlin's full-sized avatar

Vaclav Pavlin vpavlin

View GitHub Profile
# This is the config to install Kubeflow on an existing k8s cluster.
# If the cluster already has istio, comment out the istio install part below.
apiVersion: kfdef.apps.kubeflow.org/v1beta1
kind: KfDef
metadata:
# If name is not set, kfctl will infer app name from the directory.
# name: myapp2
namespace: kubeflow
spec:
applications:
apiVersion: kfdef.apps.kubeflow.org/v1beta1
kind: KfDef
metadata:
name: opendatahub-jupyterhub
namespace: opendatahub
spec:
applications:
- kustomizeConfig:
repoRef:
name: manifests
# This is the config to install Kubeflow on an existing k8s cluster.
# If the cluster already has istio, comment out the istio install part below.
apiVersion: kfdef.apps.kubeflow.org/v1beta1
kind: KfDef
metadata:
# If name is not set, kfctl will infer app name from the directory.
# name: myapp2
namespace: kubeflow
spec:
applications:
# This is the config to install Kubeflow on an existing k8s cluster.
# If the cluster already has istio, comment out the istio install part below.
apiVersion: kfdef.apps.kubeflow.org/v1beta1
kind: KfDef
metadata:
# If name is not set, kfctl will infer app name from the directory.
# name: myapp2
namespace: kubeflow
spec:
applications:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
c.JupyterHub.log_level = 'DEBUG'
c.KubeSpawner.user_storage_pvc_ensure = True
c.KubeSpawner.user_storage_capacity = '2Gi'
c.KubeSpawner.pvc_name_template = '%s-nb-{username}-pvc' % c.KubeSpawner.hub_connect_ip
c.KubeSpawner.volumes = [dict(name='data', persistentVolumeClaim=dict(claimName=c.KubeSpawner.pvc_name_template))]
c.KubeSpawner.volume_mounts = [dict(name='data', mountPath='/opt/app-root/src')]
from oauthenticator.openshift import OpenShiftOAuthenticator
c.JupyterHub.authenticator_class = OpenShiftOAuthenticator
OpenShiftOAuthenticator.scope = ['user:info']
services:
- hash: 08fea9057d04e2afc5e516d1810636a2cc93c8ad
name: launchpad-backend
parameters:
IMAGE: registry.devshift.net/openshiftio/launchpad-backend
path: /openshift/template.yaml
url: https://github.com/openshiftio/launchpad-backend
hash_length: 7
environment:
- name: staging
services:
- hash: fe41fc5f647c4a2f31050de53d2b54030b1629fb
name: fabric8-wit
path: /openshift/core.app.yaml
url: https://github.com/fabric8-services/fabric8-wit
hash_length: 7
- hash: fe41fc5f647c4a2f31050de53d2b54030b1629fb
name: fabric8-wit-cm
path: /openshift/core.configmap.yaml
url: https://github.com/fabric8-services/fabric8-wit
@vpavlin
vpavlin / saas-configmap-example-2.yaml
Created November 17, 2017 13:42
saas-configmap-example-2.yaml
services:
- hash: fe41fc5f647c4a2f31050de53d2b54030b1629fb
name: fabric8-online-docs
path: /openshift/fabric8-online-docs.app.yaml
url: https://github.com/fabric8io/fabric8-online-docs
hash_length: 7
- hash: 35aa4a02a632dbd93738e33dd9ecf8f6c525cc5c
name: fabric8-online-docs-cm
environments:
- name: production
@vpavlin
vpavlin / saas-configmap-example.yaml
Created November 17, 2017 13:37 — forked from anonymous/saas-configmap-example.yaml
saas-configmap-example.yaml
services:
- hash: fe41fc5f647c4a2f31050de53d2b54030b1629fb
name: fabric8-online-docs
path: /openshift/fabric8-online-docs.app.yaml
url: https://github.com/fabric8io/fabric8-online-docs
hash_length: 7
- hash: fe41fc5f647c4a2f31050de53d2b54030b1629fb
name: fabric8-online-docs-cm
path: /openshift/fabric8-online-docs.configmap.yaml
url: https://github.com/fabric8io/fabric8-online-docs