高级Helm Chart 配置¶
Seldon Core Operator Chart 配置¶
本页提供了使用 Helm 3.x 安装Seldon Core安装参数的详细概述。可以在高级别 安装工作流 查看更多信息。
下面参数配置可在 seldon-core-operator Helm chart 的 values.yaml 文件找到,它包含了所有基础的配置和值,使用 --set value.path=YOUR_VALUE 在你的安装中进行配置的自定义设置。
该文件已被设置为自动记录所有核心参数及说明,文件中进一步的信息需要引用特定文档。(翻译版本更新不同步)
1# # Seldon Core Operator
2# Below are the default values when installing Seldon Core
3
4# Defaults to .Release.Namespace
5namespaceOverride: ""
6
7# ## Ingress Options
8# You are able to choose between Istio and Ambassador
9
10# If you have ambassador installed you can just use the enabled flag
11ambassador:
12 enabled: true
13 singleNamespace: false
14# When activating Istio, respecive virtual services will be created
15# You must make sure you create the seldon-gateway as well
16istio:
17 enabled: false
18 gateway: istio-system/seldon-gateway
19 tlsMode: ""
20# If you have KEDA installed you can use it for autoscaling
21keda:
22 enabled: false
23# ## Install with Cert Manager
24# See installation page in documentation for more information
25certManager:
26 enabled: false
27
28# ## Install with limited namespace visibility
29# If you want to ensure seldon-core-controller can only have visibility
30# to specify namespaces you can set the controllerId
31controllerId: ""
32
33# Whether operator should create the webhooks and configmap on startup (false means created from chart)
34managerCreateResources: false
35
36# Default user id to add to all Pod Security Context as the default
37# Use this to ensure all container run as non-root by default
38# For openshift leave blank as usually this will be injected automatically on an openshift cluster
39# to all pods.
40defaultUserID: "8888"
41
42# runtime user to use for manager
43managerUserID: 8888
44
45# ## Service Orchestrator (Executor)
46# The executor is the default service orchestrator which has superceded the "Java Engine"
47executor:
48 port: 8000
49 metricsPortName: metrics
50 image:
51 pullPolicy: IfNotPresent
52 registry: docker.io
53 repository: seldonio/seldon-core-executor
54 tag: 1.14.0
55 resources:
56 cpuLimit: 500m
57 cpuRequest: 500m
58 memoryLimit: 512Mi
59 memoryRequest: 512Mi
60 prometheus:
61 path: /prometheus
62 serviceAccount:
63 name: default
64 user: 8888
65# If you want to make available your own request logger for ELK integration you can set this
66# For more information see the Production Integration for Payload Request Logging with ELK in the docs
67 requestLogger:
68 defaultEndpoint: 'http://default-broker'
69 workQueueSize: 10000
70 writeTimeoutMs: 2000
71 # Whether to run full protocol API based health checks on models in deployment graph. False will just do TCP connects
72 fullHealthChecks: false
73
74
75# ## Seldon Core Controller Manager Options
76image:
77 pullPolicy: IfNotPresent
78 registry: docker.io
79 repository: seldonio/seldon-core-operator
80 tag: 1.14.0
81manager:
82 cpuLimit: 500m
83 cpuRequest: 100m
84 memoryLimit: 300Mi
85 memoryRequest: 200Mi
86 logLevel: INFO
87 leaderElectionID: a33bd623.machinelearning.seldon.io
88 annotations: {}
89 containerSecurityContext: {}
90 deploymentNameAsPrefix: false
91 priorityClassName:
92rbac:
93 configmap:
94 create: true
95 create: true
96serviceAccount:
97 create: true
98 name: seldon-manager
99singleNamespace: false
100storageInitializer:
101 cpuLimit: "1"
102 cpuRequest: 100m
103 image: seldonio/rclone-storage-initializer:1.14.0
104 memoryLimit: 1Gi
105 memoryRequest: 100Mi
106usageMetrics:
107 enabled: false
108# In scenarios like EKS with non-standard CNI plugin like calico, the control plane cannot reach the webhook
109# hence it is needed to set hostNetwork: true
110hostNetwork: false
111webhook:
112 port: 4443 # If 'hostNetwork: true' you might need to change this port if it is already used by the node
113metrics: # these are the metrics exposed by the controller pod
114 port: 8080 # If 'hostNetwork: true' you might need to change this port if it is already used by the node
115
116# ## Predictive Unit Values
117predictiveUnit:
118 httpPort: 9000
119 grpcPort: 9500
120 metricsPortName: metrics
121 # If you would like to add extra environment variables to the init container to make available
122 # secrets such as cloud credentials, you can provide a default secret name that will be loaded
123 # to all the containers. You can then override this using the envSecretRefName in SeldonDeployments
124 defaultEnvSecretRefName: ""
125predictor_servers:
126 MLFLOW_SERVER:
127 protocols:
128 seldon:
129 defaultImageVersion: "1.14.0"
130 image: seldonio/mlflowserver
131 v2:
132 defaultImageVersion: "1.1.0-mlflow"
133 image: seldonio/mlserver
134 SKLEARN_SERVER:
135 protocols:
136 seldon:
137 defaultImageVersion: "1.14.0"
138 image: seldonio/sklearnserver
139 v2:
140 defaultImageVersion: "1.1.0-sklearn"
141 image: seldonio/mlserver
142 TENSORFLOW_SERVER:
143 protocols:
144 seldon:
145 defaultImageVersion: "1.14.0"
146 image: seldonio/tfserving-proxy
147 tensorflow:
148 defaultImageVersion: 2.1.0
149 image: tensorflow/serving
150 XGBOOST_SERVER:
151 protocols:
152 seldon:
153 defaultImageVersion: "1.14.0"
154 image: seldonio/xgboostserver
155 v2:
156 defaultImageVersion: "1.1.0-xgboost"
157 image: seldonio/mlserver
158 TRITON_SERVER:
159 protocols:
160 v2:
161 defaultImageVersion: "21.08-py3"
162 image: nvcr.io/nvidia/tritonserver
163 HUGGINGFACE_SERVER:
164 protocols:
165 v2:
166 defaultImageVersion: "1.1.0-huggingface"
167 image: seldonio/mlserver
168 TEMPO_SERVER:
169 protocols:
170 v2:
171 defaultImageVersion: "1.1.0-slim"
172 image: seldonio/mlserver
173
174# ## Other
175# You can choose the crds to not be installed if you already installed them
176# This applies to just the yaml template. If you set managerCreateResources=true then
177# it will try to create the CRD but only if it does not exist
178crd:
179 create: true
180 # Whether to force the use of the v1beta1 or v1 CRD.
181 forceV1: false
182 forceV1beta1: false
183 annotations: {} # Annotations to add to the CRD if not created by the Manager
184
185# Warning: credentials will be depricated soon, please use defaultEnvSecretRefName above
186# For more info please check the documentation
187credentials:
188 gcs:
189 gcsCredentialFileName: gcloud-application-credentials.json
190 s3:
191 s3AccessKeyIDName: awsAccessKeyID
192 s3SecretAccessKeyName: awsSecretAccessKey
193
194kubeflow: false
195
196# Explainer image
197explainer:
198 image: seldonio/alibiexplainer:1.14.0
199 image_v2: seldonio/mlserver:1.1.0-alibi-explain