Replies: 4 comments
-
The recommended way to do this is to make use of Nebari's plugin system. Furthermore, you'll probably need to deploy your service in the k8s cluster, so using a Helm chart would be a good option. You can see a good example of this, including Keycloak interaction in the Nebari Self Registration plugin. Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
-
Just to provide a more in-depth explanation, here are some considerations:
Quick Helm ExampleIf you want to prototype a base application in Nebari via Helm:
This approach lets you use the Kubernetes cluster’s built-in features (scaling, updating, monitoring, etc.) without manually creating each Kubernetes object. Once it is running, you’ll see your new “service” under the Nebari cluster, accessible via the For example, below is a few custom values for the values.yaml file to run a ngix application on Nebari: replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
tag: "stable"
service:
type: ClusterIP
port: 80 you will need to replace the current ingress.yaml under templates to this one instead: apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`<YOUR-NEBARI-DOMAIN>`) && PathPrefix(`/<YOUR-ENDPOINT-PREFIX>/`)
services:
- name: {{ include "poc-app.fullname" . }}
port: {{ $.Values.service.port }} and in your nebari config file include: helm_extensions:
- name: poc-app
chart: /home/.../nebari/poc-app
repository: ""
version: <SAME-VERSION-UNDER-CHART.YAML> |
Beta Was this translation helpful? Give feedback.
-
Hey @verhulstm, just following up to check if you still need help with this. |
Beta Was this translation helpful? Give feedback.
-
I'm closing this discussions as it does not seem to be active anymore. Feel free to re-open it if necessary. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
do you have a recommended way for users/developers to create fully custom flask/django sites and authenticate their user logins with nebari's keycloak?
Beta Was this translation helpful? Give feedback.
All reactions