apiVersion: v1 kind: Service metadata: name: {{ include "jupyterlab.name" . }} namespace: {{ .Release.Namespace }} labels: {{- include "jupyterlab.labels" . | nindent 4 }} {{- with .Values.service.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} spec: type: ClusterIP selector: app: {{ include "jupyterlab.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} ports: - name: http port: 8888 targetPort: 8888 protocol: TCP