seldon-core icon indicating copy to clipboard operation
seldon-core copied to clipboard

How to set type of K8s Service created by SeldonDeployment

Open tomaszstachera opened this issue 1 year ago • 1 comments

Describe the bug

I don't know how to change Service type created by SeldonDeployment.

To reproduce

apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
  name: multi
  namespace: tomasz
spec:
  predictors:
  - graph:
      implementation: TRITON_SERVER
      logger:
        mode: all
      modelUri: pvc://ts-seldon-4-volume/triton/multi
      name: multi
      type: MODEL
      endpoint:
        type: NodePort
    componentSpecs:
    - spec:
        containers:
        - name: multi
        tolerations:
          - key: SystemResources
            value: reservedFor
            effect: NoSchedule
    explainer:
      endpoint:
        type: NodePort
    name: default
    replicas: 1
    labels:
      sidecar.istio.io/inject: "true"
  protocol: v2

Expected behaviour

I would like to have NodePort service.

tomaszstachera avatar Feb 09 '24 16:02 tomaszstachera