Skip to content

Instantly share code, notes, and snippets.

@erikerlandson
Last active December 8, 2020 20:41
Show Gist options
  • Save erikerlandson/9036801acb2e3ff03c24c0a6319330d0 to your computer and use it in GitHub Desktop.
Save erikerlandson/9036801acb2e3ff03c24c0a6319330d0 to your computer and use it in GitHub Desktop.
notebook pod service template
# https://github.com/opendatahub-io/odh-manifests/blob/master/jupyterhub/jupyterhub/base/jupyterhub-spark-operator-configmap.yaml#L6-L19
notebookPodServiceTemplate: |
apiVersion: v1
kind: Service
metadata:
labels:
name: "jupyterhub-nb-{{ user }}"
spec:
clusterIP: None
selector:
jupyterhub.opendatahub.io/user: "{{ user }}"
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment