seldon_deps/test01/pipeline2.yaml

105 lines
3.0 KiB
YAML
Raw Normal View History

2023-10-06 20:15:13 +00:00
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
name: pipeline2
spec:
name: pipeline-deployment2
predictors:
- componentSpecs:
- spec:
containers:
- image: mxfox.ru/palkan/seldon1:latest
name: router
imagePullPolicy: Always
ports:
- containerPort: 8080
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: model-a
imagePullPolicy: Always
ports:
- containerPort: 8081
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: model-b
imagePullPolicy: Always
ports:
- containerPort: 8082
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: model-c
imagePullPolicy: Always
ports:
- containerPort: 8083
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: model-d
imagePullPolicy: Always
ports:
- containerPort: 8084
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: combiner
imagePullPolicy: Always
ports:
- containerPort: 8085
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: input-transformer
imagePullPolicy: Always
ports:
- containerPort: 8086
name: http
- image: mxfox.ru/palkan/seldon1:latest
name: output-transformer
imagePullPolicy: Always
ports:
- containerPort: 8087
name: http
graph:
name: output-transformer
type: OUTPUT_TRANSFORMER
endpoint:
type: REST
children:
- name: input-transformer
type: TRANSFORMER
endpoint:
type: REST
children:
- name: router
type: ROUTER
endpoint:
type: REST
children:
- name: model-a
endpoint:
type: REST
type: MODEL
children:
- name: model-b
endpoint:
type: REST
type: MODEL
children: []
- name: combiner
endpoint:
type: REST
type: COMBINER
children:
- name: model-c
endpoint:
type: REST
type: MODEL
children: []
- name: model-d
endpoint:
type: REST
type: MODEL
children: []
name: pipeline-predictor2
2023-10-06 20:25:37 +00:00
replicas: 1
svcOrchSpec:
env:
- name: SELDON_LOG_LEVEL
value: DEBUG