-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Seldon Core 1.15.0-rc1 Helm charts (#16)
* add Seldon Core 1.15.0 helm charts * release this chart as 1.15.0-rc1 * Update helm-charts/seldon-core-operator/Chart.yaml Co-authored-by: Alex Rakowski <[email protected]> Co-authored-by: Alex Rakowski <[email protected]>
- Loading branch information
1 parent
a859d89
commit 4c55326
Showing
31 changed files
with
25,652 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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 | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
|
||
|
||
|
||
|
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,12 @@ | ||
apiVersion: v1 | ||
appVersion: 1.15.0 | ||
description: Seldon Core v1 CRD and controller Helm chart for Kubernetes. | ||
keywords: | ||
- kubernetes | ||
- machine-learning | ||
name: seldon-core-operator | ||
sources: | ||
- https://github.com/SeldonIO/seldon-core | ||
- https://github.com/SeldonIO/seldon-core/tree/master/helm-charts/seldon-core-operator | ||
- https://docs.seldon.io/projects/seldon-core/en/latest/workflow/install.html | ||
version: 1.15.0-rc1 |
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,130 @@ | ||
# seldon-core-operator | ||
|
||
![Version: 1.15.0-dev](https://img.shields.io/static/v1?label=Version&message=1.15.0--dev&color=informational&style=flat-square) | ||
|
||
Seldon Core CRD and controller helm chart for Kubernetes. | ||
|
||
## Usage | ||
|
||
To use this chart, you will first need to add the `seldonio` Helm repo: | ||
|
||
```bash | ||
helm repo add seldonio https://storage.googleapis.com/seldon-charts | ||
helm repo update | ||
``` | ||
|
||
Once that's done, you should then be able to deploy the chart as: | ||
|
||
```bash | ||
kubectl create namespace seldon-system | ||
helm install seldon-core-operator seldonio/seldon-core-operator --namespace seldon-system | ||
``` | ||
|
||
## Source Code | ||
|
||
* <https://github.com/SeldonIO/seldon-core> | ||
* <https://github.com/SeldonIO/seldon-core/tree/master/helm-charts/seldon-core-operator> | ||
* <https://docs.seldon.io/projects/seldon-core/en/latest/workflow/install.html> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| ambassador.enabled | bool | `false` | | | ||
| ambassador.singleNamespace | bool | `false` | | | ||
| ambassador.version | string | `"v2"` | | | ||
| certManager.enabled | bool | `false` | | | ||
| controllerId | string | `""` | | | ||
| crd.annotations | object | `{}` | | | ||
| crd.create | bool | `true` | | | ||
| crd.forceV1 | bool | `false` | | | ||
| crd.forceV1beta1 | bool | `false` | | | ||
| credentials.gcs.gcsCredentialFileName | string | `"gcloud-application-credentials.json"` | | | ||
| credentials.s3.s3AccessKeyIDName | string | `"awsAccessKeyID"` | | | ||
| credentials.s3.s3SecretAccessKeyName | string | `"awsSecretAccessKey"` | | | ||
| defaultUserID | string | `"8888"` | | | ||
| executor.fullHealthChecks | bool | `false` | | | ||
| executor.image.pullPolicy | string | `"IfNotPresent"` | | | ||
| executor.image.registry | string | `"docker.io"` | | | ||
| executor.image.repository | string | `"seldonio/seldon-core-executor"` | | | ||
| executor.image.tag | string | `"1.15.0-dev"` | | | ||
| executor.metricsPortName | string | `"metrics"` | | | ||
| executor.port | int | `8000` | | | ||
| executor.prometheus.path | string | `"/prometheus"` | | | ||
| executor.requestLogger.defaultEndpoint | string | `"http://default-broker"` | | | ||
| executor.requestLogger.workQueueSize | int | `10000` | | | ||
| executor.requestLogger.writeTimeoutMs | int | `2000` | | | ||
| executor.resources.cpuLimit | string | `"500m"` | | | ||
| executor.resources.cpuRequest | string | `"500m"` | | | ||
| executor.resources.memoryLimit | string | `"512Mi"` | | | ||
| executor.resources.memoryRequest | string | `"512Mi"` | | | ||
| executor.serviceAccount.name | string | `"default"` | | | ||
| executor.user | int | `8888` | | | ||
| explainer.image | string | `"seldonio/alibiexplainer:1.15.0-dev"` | | | ||
| explainer.image_v2 | string | `"seldonio/mlserver:1.2.0-alibi-explain"` | | | ||
| hostNetwork | bool | `false` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.registry | string | `"docker.io"` | | | ||
| image.repository | string | `"seldonio/seldon-core-operator"` | | | ||
| image.tag | string | `"1.15.0-dev"` | | | ||
| istio.enabled | bool | `false` | | | ||
| istio.gateway | string | `"istio-system/seldon-gateway"` | | | ||
| istio.tlsMode | string | `""` | | | ||
| keda.enabled | bool | `false` | | | ||
| kubeflow | bool | `false` | | | ||
| manager.annotations | object | `{}` | | | ||
| manager.containerSecurityContext | object | `{}` | | | ||
| manager.cpuLimit | string | `"500m"` | | | ||
| manager.cpuRequest | string | `"100m"` | | | ||
| manager.deploymentNameAsPrefix | bool | `false` | | | ||
| manager.leaderElectionID | string | `"a33bd623.machinelearning.seldon.io"` | | | ||
| manager.leaderElectionLeaseDurationSecs | int | `15` | | | ||
| manager.leaderElectionRenewDeadlineSecs | int | `10` | | | ||
| manager.leaderElectionResourceLock | string | `nil` | | | ||
| manager.leaderElectionRetryPeriodSecs | int | `2` | | | ||
| manager.logLevel | string | `"INFO"` | | | ||
| manager.memoryLimit | string | `"300Mi"` | | | ||
| manager.memoryRequest | string | `"200Mi"` | | | ||
| manager.priorityClassName | string | `nil` | | | ||
| managerCreateResources | bool | `false` | | | ||
| managerUserID | int | `8888` | | | ||
| metrics.port | int | `8080` | | | ||
| namespaceOverride | string | `""` | | | ||
| predictiveUnit.defaultEnvSecretRefName | string | `""` | | | ||
| predictiveUnit.grpcPort | int | `9500` | | | ||
| predictiveUnit.httpPort | int | `9000` | | | ||
| predictiveUnit.metricsPortName | string | `"metrics"` | | | ||
| predictor_servers.HUGGINGFACE_SERVER.protocols.v2.defaultImageVersion | string | `"1.2.0-huggingface"` | | | ||
| predictor_servers.HUGGINGFACE_SERVER.protocols.v2.image | string | `"seldonio/mlserver"` | | | ||
| predictor_servers.MLFLOW_SERVER.protocols.seldon.defaultImageVersion | string | `"1.15.0-dev"` | | | ||
| predictor_servers.MLFLOW_SERVER.protocols.seldon.image | string | `"seldonio/mlflowserver"` | | | ||
| predictor_servers.MLFLOW_SERVER.protocols.v2.defaultImageVersion | string | `"1.2.0-mlflow"` | | | ||
| predictor_servers.MLFLOW_SERVER.protocols.v2.image | string | `"seldonio/mlserver"` | | | ||
| predictor_servers.SKLEARN_SERVER.protocols.seldon.defaultImageVersion | string | `"1.15.0-dev"` | | | ||
| predictor_servers.SKLEARN_SERVER.protocols.seldon.image | string | `"seldonio/sklearnserver"` | | | ||
| predictor_servers.SKLEARN_SERVER.protocols.v2.defaultImageVersion | string | `"1.2.0-sklearn"` | | | ||
| predictor_servers.SKLEARN_SERVER.protocols.v2.image | string | `"seldonio/mlserver"` | | | ||
| predictor_servers.TEMPO_SERVER.protocols.v2.defaultImageVersion | string | `"1.2.0-slim"` | | | ||
| predictor_servers.TEMPO_SERVER.protocols.v2.image | string | `"seldonio/mlserver"` | | | ||
| predictor_servers.TENSORFLOW_SERVER.protocols.seldon.defaultImageVersion | string | `"1.15.0-dev"` | | | ||
| predictor_servers.TENSORFLOW_SERVER.protocols.seldon.image | string | `"seldonio/tfserving-proxy"` | | | ||
| predictor_servers.TENSORFLOW_SERVER.protocols.tensorflow.defaultImageVersion | string | `"2.1.0"` | | | ||
| predictor_servers.TENSORFLOW_SERVER.protocols.tensorflow.image | string | `"tensorflow/serving"` | | | ||
| predictor_servers.TRITON_SERVER.protocols.v2.defaultImageVersion | string | `"21.08-py3"` | | | ||
| predictor_servers.TRITON_SERVER.protocols.v2.image | string | `"nvcr.io/nvidia/tritonserver"` | | | ||
| predictor_servers.XGBOOST_SERVER.protocols.seldon.defaultImageVersion | string | `"1.15.0-dev"` | | | ||
| predictor_servers.XGBOOST_SERVER.protocols.seldon.image | string | `"seldonio/xgboostserver"` | | | ||
| predictor_servers.XGBOOST_SERVER.protocols.v2.defaultImageVersion | string | `"1.2.0-xgboost"` | | | ||
| predictor_servers.XGBOOST_SERVER.protocols.v2.image | string | `"seldonio/mlserver"` | | | ||
| rbac.configmap.create | bool | `true` | | | ||
| rbac.create | bool | `true` | | | ||
| serviceAccount.create | bool | `true` | | | ||
| serviceAccount.name | string | `"seldon-manager"` | | | ||
| singleNamespace | bool | `false` | | | ||
| storageInitializer.cpuLimit | string | `"1"` | | | ||
| storageInitializer.cpuRequest | string | `"100m"` | | | ||
| storageInitializer.image | string | `"seldonio/rclone-storage-initializer:1.15.0-dev"` | | | ||
| storageInitializer.memoryLimit | string | `"1Gi"` | | | ||
| storageInitializer.memoryRequest | string | `"100Mi"` | | | ||
| usageMetrics.enabled | bool | `false` | | | ||
| webhook.port | int | `4443` | | |
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,54 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "seldon.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "seldon.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "seldon.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create chart namespace based on override value. | ||
*/}} | ||
{{- define "seldon.namespace" -}} | ||
{{- if .Values.namespaceOverride -}} | ||
{{- .Values.namespaceOverride -}} | ||
{{- else -}} | ||
{{- .Release.Namespace -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "seldon.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create -}} | ||
{{ default (include "seldon.fullname" .) .Values.serviceAccount.name }} | ||
{{- else -}} | ||
{{ default "default" .Values.serviceAccount.name }} | ||
{{- end -}} | ||
{{- end -}} |
21 changes: 21 additions & 0 deletions
21
helm-charts/seldon-core-operator/templates/certificate_seldon-serving-cert.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,21 @@ | ||
{{- if .Values.certManager.enabled }} | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
labels: | ||
app: seldon | ||
app.kubernetes.io/instance: '{{ .Release.Name }}' | ||
app.kubernetes.io/name: '{{ include "seldon.name" . }}' | ||
app.kubernetes.io/version: '{{ .Chart.Version }}' | ||
name: seldon-serving-cert | ||
namespace: '{{ include "seldon.namespace" . }}' | ||
spec: | ||
commonName: '{{- printf "seldon-webhook-service.%s.svc" (include "seldon.namespace" .) -}}' | ||
dnsNames: | ||
- '{{- printf "seldon-webhook-service.%s.svc.cluster.local" (include "seldon.namespace" .) -}}' | ||
- '{{- printf "seldon-webhook-service.%s.svc" (include "seldon.namespace" .) -}}' | ||
issuerRef: | ||
kind: Issuer | ||
name: seldon-selfsigned-issuer | ||
secretName: seldon-webhook-server-cert | ||
{{- end }} |
Oops, something went wrong.