-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added experimental kubeflow dashboard chart
- Loading branch information
1 parent
926efbc
commit 2ae17ed
Showing
15 changed files
with
441 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v2 | ||
appVersion: 0.1.0 | ||
description: A Helm chart for Kubernetes | ||
name: kubeflow-dashboard | ||
type: application | ||
version: 0.1.0 | ||
dependencies: | ||
- name: corvid | ||
version: 0.12.0 | ||
repository: "file://../corvid" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# kubeflow-dashboard | ||
|
||
A Helm chart for Kubernetes | ||
|
||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `kubeflow-dashboard`, run the following commands: | ||
|
||
```console | ||
$ helm repo add raven https://gitlab.com/api/v4/projects/55284972/packages/helm/stable | ||
$ helm repo update raven | ||
$ helm install kubeflow-dashboard raven/kubeflow-dashboard | ||
``` | ||
|
||
## Requirements | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| file://../corvid | corvid | 0.12.0 | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| args | string | `nil` | | | ||
| autoscaling.enabled | bool | `false` | | | ||
| autoscaling.maxReplicas | int | `100` | | | ||
| autoscaling.minReplicas | int | `1` | | | ||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | | | ||
| command | string | `nil` | | | ||
| cron.enabled | bool | `false` | enable or disable cronjob | | ||
| cron.schedule | string | `"@midnight"` | schedule for cronjob using Cron syntax https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#schedule-syntax | | ||
| cron.suspend | bool | `false` | cronjob will not trigger on schedule but can be manually triggered | | ||
| deployment.strategy | string | `""` | rollout strategy `Recreate` or `RollingUpdate` this chart defaults to Recreate only if we detect a single replica with a volume | | ||
| dnsConfig | object | `{}` | | | ||
| dnsPolicy | string | `""` | | | ||
| envFrom | string | `nil` | | | ||
| env[0].name | string | `"kubeflow-dashboard_EXAMPLE_VARIABLE"` | | | ||
| env[0].value | string | `"false"` | | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.registry | string | `"docker.io"` | | | ||
| image.repository | string | `"kubeflow-dashboard/kubeflow-dashboard"` | | | ||
| image.tag | string | `""` | | | ||
| imagePullSecrets | list | `[]` | | | ||
| ingress.annotations | object | `{}` | | | ||
| ingress.className | string | `""` | | | ||
| ingress.enabled | bool | `false` | | | ||
| ingress.hosts[0].host | string | `"kubeflow-dashboard.org.example"` | | | ||
| ingress.hosts[0].paths[0].path | string | `"/"` | | | ||
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ||
| ingress.tls | list | `[]` | | | ||
| initContainers | list | `[]` | | | ||
| livenessProbe | string | `nil` | raw liveness probe overrides for user | | ||
| livenessProbeDefault | object | `{"httpGet":{"path":"/","port":"http"}}` | default liveness probe if not specified by user | | ||
| livenessProbeEnabled | bool | `true` | enable or disable liveness probe entirely | | ||
| nameOverride | string | `""` | | | ||
| netpol.enabled | bool | `true` | | | ||
| nodeSelector | object | `{}` | | | ||
| persistence.accessModes[0] | string | `"ReadWriteOnce"` | | | ||
| persistence.enabled | bool | `false` | | | ||
| persistence.existingClaim | string | `""` | | | ||
| persistence.size | string | `"8Gi"` | | | ||
| podAnnotations | object | `{}` | | | ||
| podLabels | object | `{}` | | | ||
| podSecurityContext | object | `{}` | podSecurityContext for consumer overrides | | ||
| podSecurityContextDefault | object | `{"fsGroup":1000}` | default podSecurityContext if none specified | | ||
| podSecurityContextEnabled | bool | `true` | enable or disable podSecurityContext entirely | | ||
| ports[0].containerPort | int | `8082` | | | ||
| ports[0].name | string | `"http"` | | | ||
| ports[0].protocol | string | `"TCP"` | | | ||
| ports[0].servicePort | int | `80` | | | ||
| readinessProbe | string | `nil` | raw readiness probe overrides for user | | ||
| readinessProbeDefault | object | `{"httpGet":{"path":"/","port":"http"}}` | default readiness probe if not specified by user | | ||
| readinessProbeEnabled | bool | `true` | enable or disable readiness probe entirely | | ||
| replicaCount | int | `1` | | | ||
| resources | string | `nil` | raw resources block overrides for user | | ||
| resourcesDefault | object | `{"limits":{"memory":"128Mi"},"requests":{"cpu":"100m"}}` | default resources if not specified by user | | ||
| resourcesEnabled | bool | `true` | enable or disable resources entirely | | ||
| restartPolicy | string | `"Always"` | | | ||
| runtimeClassName | string | `nil` | | | ||
| secrets | list | `[]` | | | ||
| securityContext | object | `{}` | securityContext for consumer overrides | | ||
| securityContextDefault | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}` | default securityContext if none specified | | ||
| securityContextEnabled | bool | `true` | enable or disable securityContext entirely | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.annotations | object | `{}` | | | ||
| serviceAccount.automount | bool | `true` | | | ||
| serviceAccount.create | bool | `true` | | | ||
| serviceAccount.name | string | `""` | | | ||
| startupProbe | string | `nil` | raw startup probe overrides for user | | ||
| startupProbeDefault | object | `{"httpGet":{"path":"/","port":"http"}}` | default startup probe if not specified by user | | ||
| startupProbeEnabled | bool | `true` | enable or disable startup probe entirely | | ||
| tolerations | list | `[]` | | | ||
| volumeMounts | list | `[]` | | | ||
| volumes | list | `[]` | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{{- define "kubeflow-dashboard-container" -}} | ||
name: {{ .Chart.Name }}-override | ||
{{- if or .Values.volumeMounts .Values.persistence.enabled }} | ||
volumeMounts: | ||
{{- if .Values.persistence.enabled }} | ||
- name: data | ||
mountPath: /data/ | ||
subPath: data | ||
{{- end }} | ||
{{- with .Values.volumeMounts }} | ||
{{- toYaml . | nindent 0 }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{- define "kubeflow-dashboard-podSpec" -}} | ||
containers: | ||
- {{ include "corvid.container" (list . "kubeflow-dashboard-container") | indent 2 | trim }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "kubeflow-dashboard.deploy" }} | ||
spec: | ||
template: | ||
spec: | ||
{{ include "corvid.podSpec" (list . "kubeflow-dashboard-podSpec") | indent 6 | trim }} | ||
{{- end }} | ||
{{- include "corvid.deploy" (list . "kubeflow-dashboard.deploy") }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- define "kubeflow-dashboard.hpa" -}} | ||
{{- end -}} | ||
{{- if .Values.autoscaling.enabled }} | ||
{{- include "corvid.hpa" (list . "kubeflow-dashboard.hpa") -}} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- if .Values.ingress.enabled }} | ||
{{- include "corvid.ing" (list . "kubeflow-dashboard.ing") -}} | ||
{{- end }} | ||
{{- define "kubeflow-dashboard.ing" -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- if .Values.netpol.enabled }} | ||
{{- include "corvid.netpol" (list . "kubeflow-dashboard.netpol") -}} | ||
{{- end }} | ||
{{- define "kubeflow-dashboard.netpol" -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} | ||
{{- include "corvid.pvc" (list . "kubeflow-dashboard.pvc") -}} | ||
{{- end }} | ||
{{- define "kubeflow-dashboard.pvc" -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{- if .Values.serviceAccount.create }} | ||
{{- include "corvid.sa" (list . "kubeflow-dashboard.sa") -}} | ||
{{- end }} | ||
{{- define "kubeflow-dashboard.sa" -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{- include "corvid.svc" (list . "kubeflow-dashboard.svc") -}} | ||
{{- define "kubeflow-dashboard.svc" -}} | ||
{{- end -}} |
3 changes: 3 additions & 0 deletions
3
charts/kubeflow-dashboard/templates/tests/test-connection.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{- include "corvid.testConnectivity" (list . "kubeflow-dashboard.testConnectivity") -}} | ||
{{- define "kubeflow-dashboard.testConnectivity" -}} | ||
{{- end -}} |
Oops, something went wrong.