diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index 587229b..8ba30af 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -120,6 +120,7 @@ jobs: --set kuberay-operator.enabled=false \ --set nebariapp.enabled=true \ --set nebariapp.hostname=rayserve.nebari.local \ + --set nebariapp.serve.enabled=true \ --set nebariapp.dashboard.enabled=true \ --set nebariapp.dashboard.hostname=ray-dashboard.nebari.local \ --set head.resources.requests.cpu=500m \ @@ -174,6 +175,7 @@ jobs: --set kuberay-operator.enabled=false \ --set nebariapp.enabled=true \ --set nebariapp.hostname=rayserve.nebari.local \ + --set nebariapp.serve.enabled=true \ --set nebariapp.dashboard.enabled=true \ --set nebariapp.dashboard.hostname=ray-dashboard.nebari.local \ --set nebariapp.auth.enabled=true \ diff --git a/chart/templates/nebariapp.yaml b/chart/templates/nebariapp.yaml index 3f86fa6..59285d3 100644 --- a/chart/templates/nebariapp.yaml +++ b/chart/templates/nebariapp.yaml @@ -57,5 +57,40 @@ spec: {{- toYaml .Values.nebariapp.auth.scopes | nindent 6 }} {{- end }} + {{- with .Values.nebariapp.dashboard.landingPage }} + landingPage: + enabled: {{ .enabled | default false }} + {{- with .displayName }} + displayName: {{ . | quote }} + {{- end }} + {{- with .description }} + description: {{ . | quote }} + {{- end }} + {{- with .icon }} + icon: {{ . | quote }} + {{- end }} + {{- with .category }} + category: {{ . | quote }} + {{- end }} + {{- if kindIs "float64" .priority }} + priority: {{ .priority }} + {{- end }} + {{- with .externalUrl }} + externalUrl: {{ . | quote }} + {{- end }} + {{- with .healthCheck }} + healthCheck: + enabled: {{ .enabled | default false }} + {{- with .path }} + path: {{ . | quote }} + {{- end }} + {{- if .intervalSeconds }} + intervalSeconds: {{ .intervalSeconds }} + {{- end }} + {{- if .timeoutSeconds }} + timeoutSeconds: {{ .timeoutSeconds }} + {{- end }} + {{- end }} + {{- end }} gateway: {{ .Values.nebariapp.gateway }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index 0cfc487..64d0cfc 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -7,10 +7,22 @@ nebariapp: enabled: false # hostname: rayserve.nebari.example.com # Required when serve.enabled is true serve: - enabled: true # Set to false to keep the serve endpoint internal-only + enabled: false # Set to true and provide nebariapp.hostname to expose the serve endpoint externally dashboard: enabled: true # hostname: ray-dashboard.nebari.example.com # Separate hostname for dashboard + landingPage: + enabled: false + displayName: "Ray Dashboard" + description: "Monitor and manage Ray clusters and Serve deployments" + icon: "https://raw.githubusercontent.com/ray-project/ray/master/doc/source/images/serve.svg" + category: "Data Science" + priority: 20 + healthCheck: + enabled: true + path: /api/component_activities + intervalSeconds: 30 + timeoutSeconds: 5 service: name: "" # Defaults to --serve-svc (serve) or -head-svc (dashboard) servePort: 8000