Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(component): Add apps component centraldashboard #121

Merged
merged 2 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 136 additions & 0 deletions kustomize/apps/centraldashboard/centraldashboard-config.yaml
Original file line number Diff line number Diff line change
@@ -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
}
20 changes: 20 additions & 0 deletions kustomize/apps/centraldashboard/deployment.yaml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions kustomize/apps/centraldashboard/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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