diff --git a/kustomize/apps/centraldashboard/centraldashboard-config.yaml b/kustomize/apps/centraldashboard/centraldashboard-config.yaml new file mode 100644 index 0000000..43e870c --- /dev/null +++ b/kustomize/apps/centraldashboard/centraldashboard-config.yaml @@ -0,0 +1,136 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: centraldashboard-config + namespace: kubeflow +data: + defaultLanguage: "en" + links: |- + { + "en": { + "menuLinks": [ + { + "link": "/pipeline/", + "text": "Pipelines" + }, + { + "link": "/jupyter/", + "text": "Notebook Servers" + }, + { + "link": "/katib/", + "text": "Katib" + } + ], + "externalLinks": [], + "quickLinks": [ + { + "text": "Upload a pipeline", + "desc": "Pipelines", + "link": "/pipeline/" + }, + { + "text": "View all pipeline runs", + "desc": "Pipelines", + "link": "/pipeline/#/runs" + }, + { + "text": "Create a new Notebook server", + "desc": "Notebook Servers", + "link": "/jupyter/new?namespace=kubeflow" + }, + { + "text": "View Katib Studies", + "desc": "Katib", + "link": "/katib/" + } + ], + "documentationItems": [ + { + "text": "Advanced Analytics Workspace Docs", + "desc": "Helpful guides about our data and analysis tools", + "link": "https://statcan.github.io/daaas/" + }, + { + "text": "Video Tutorial Series", + "desc": "YouTube playlist of videos for getting started with Advanced Analytics Workspace tools", + "link": "https://www.youtube.com/playlist?list=PL1zlA2D7AHugkDdiyeUHWOKGKUd3MB_nD" + }, + { + "text": "Community Chat", + "desc": "Slack workspace for discussion/support - requires sign-up for emails outside @canada.ca", + "link": "https://statcan-aaw.slack.com/" + }, + { + "text": "Official Kubeflow Docs", + "desc": "Advanced documentation for installing, running, and using Kubeflow", + "link": "https://www.kubeflow.org/docs/" + } + ] + }, + "fr": { + "menuLinks": [ + { + "link": "/pipeline/", + "text": "Pipelines" + }, + { + "link": "/jupyter/", + "text": "Serveur Bloc-notes" + }, + { + "link": "/katib/", + "text": "Katib" + } + ], + "externalLinks": [], + "quickLinks": [ + { + "text": "Télécharger un pipeline", + "desc": "Pipelines", + "link": "/pipeline/" + }, + { + "text": "Voir tous les pipelines exécutés", + "desc": "Pipelines", + "link": "/pipeline/#/runs" + }, + { + "text": "Créer un nouveau serveur bloc-notes", + "desc": "Serveur bloc-notes", + "link": "/jupyter/new?namespace=kubeflow" + }, + { + "text": "Voir Katib Studies", + "desc": "Katib", + "link": "/katib/" + } + ], + "documentationItems": [ + { + "text": "Documents de l'espace d'analyses avancées", + "desc": "Guides utiles pour nos données et outils d'analyse", + "link": "https://statcan.github.io/daaas/" + }, + { + "text": "Série de didacticiels vidéos", + "desc": "Playlist de vidéos YouTube pour commencer avec les outils de l'espace d'analyses avancées", + "link": "https://www.youtube.com/playlist?list=PL1zlA2D7AHugkDdiyeUHWOKGKUd3MB_nD" + }, + { + "text": "Clavardage de la communauté", + "desc": "Espace de travail Slack pour discussion/support - besoin de s'inscrire pour les courriels en dehors de @canada.ca", + "link": "https://statcan-aaw.slack.com/" + }, + { + "text": "Documents Kubeflow Officiels", + "desc": "Documentation avancé pour installer, exécuter et utiliser Kubeflow", + "link": "https://www.kubeflow.org/docs/" + } + ] + } + } + settings: |- + { + "DASHBOARD_FORCE_IFRAME": true + } diff --git a/kustomize/apps/centraldashboard/deployment.yaml b/kustomize/apps/centraldashboard/deployment.yaml new file mode 100644 index 0000000..6f518b9 --- /dev/null +++ b/kustomize/apps/centraldashboard/deployment.yaml @@ -0,0 +1,20 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: centraldashboard + name: centraldashboard +spec: + replicas: 1 + template: + spec: + containers: + - env: + - name: REGISTRATION_FLOW + value: "true" + image: k8scc01covidacr.azurecr.io/kubeflow/centraldashboard:a96d1cd8523f895904051e122fa98db5c0017bd6 + imagePullPolicy: IfNotPresent + name: centraldashboard + serviceAccountName: centraldashboard + imagePullSecrets: + - name: k8scc01covidacr-registry-connection diff --git a/kustomize/apps/centraldashboard/kustomization.yaml b/kustomize/apps/centraldashboard/kustomization.yaml new file mode 100644 index 0000000..a3e2706 --- /dev/null +++ b/kustomize/apps/centraldashboard/kustomization.yaml @@ -0,0 +1,9 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- github.com/kubeflow/manifests/apps/centraldashboard/upstream/overlays/istio?ref=v1.3.1 + +patchesStrategicMerge: +- deployment.yaml +- centraldashboard-config.yaml