Upgrading Seldon Core

This page provides with instructions on how to upgrade from previous versions. Each of these have to be run sequentially if it’s expected for previous running models to be upgraded without disruption (i.e if you are running version 0.4.2, you will first have to upgrade to 0.5.2 and then to 1.1, etc).

If you were running our Openshift 0.4.2 certified operator and are looking to upgrade to our 1.1 certified operator, you will also need to follow the “upgrading process” steps in the “Upgrading to 0.5.2 from previous versions” section.

Make sure you also read the CHANGELOG to see the detailed features and bug-fixes in each version.

Upgrading to 1.12

Support for Kubernetes 1.22

Seldon Core adds support for Kubernetes 1.22 by upgrading all ValidatingWebhookConfiguration resources to v1 intead of v1beta1. There are no specific breaking steps that were identified when upgrading using the helm charts for each respective version, but you need to make sure to check that this works as expected.

Updated Python wrapper folder configurations

  • The default running user in Seldon Core is 8888

  • Some servers like the MLFlow Server v1 installs installations in runtime

  • Access required to modify files in the local folder are required so the application folder should be writable

  • The default base image now changes the owner of the /microservice folder to user 8888

Upgrading to 1.11

Python S2I Wrapper

  • The default wrapper seldonio/seldon-core-s2i-python3 is now Python 3.8

  • Python 3.7 wrapper is still available as seldonio/seldon-core-s2i-python37

Upgrading to 1.10

Seldon Core Wrapper

  • With introduction of multi-processing in gRPC module the SO_REUSEPORT socket option is required. On certain Python distributions you may see AttributeError: module 'socket' has no attribute 'SO_REUSEPORT' error which would render gRPC endpoint non-operational. For Anaconda Python distributions we confirmed that upgrading to Python 3.7.10 or 3.8.10 removes the problem.

Server Updates

  • SKLearn server has been updated to use sklearn 0.24.2

  • XGBoost server has been updated to use xgboost 1.4.2

Alibi Server Updates

  • Alibi has been updated to 0.6.0

  • Alibi server python has been updated to 3.7.10

Upgrading to 1.8

Rclone Storage Initailizer

In Seldon Core 1.8 the rclone-based storage initializer becomes the default one.

The storage initailizer image that is being used is controlled by the helm value:

  image: seldonio/rclone-storage-initializer:1.12.0-dev

and can be customised on per-deployment basis as described in Prepackaged Model Servers documentation by setting value of storageInitializerImage variable in the graph definition.

This transition requires creation of the new secrets for the prepackaged model servers that will be compatible with the rclone configuration format as described here. Read more:

If you do not wish to configure these secrets now and wish to preserve prior behaviour you can opt for usage of previous storage initializer by using following helm value:

  image: gcr.io/kfserving/storage-initializer:v0.4.0

See further documentation here.

Request Logger

In Seldon Core 1.9 we will be moving seldon-request-logger to separate repository.

Legacy Java Engine Orchestrator

In Seldon Core 1.9 final deprecation of Java Engine will happen with removal of all the related code from the repository.

Upgrading to 1.7

Python Dependency Updates

Various CVEs were resolved via #2970, which included several packages upgrades which may affect applications that install packages which may not be compatible. This also includes the installation of pip==20.2, however this version of pip still uses the older resolver.

Upgrading to 1.6

Webhook Removal

As part of the 1.6.0 release we are removing the Seldon Core Mutating Webhook. This won’t cause any noticeable changes, but it is recommended that you manually remove the webhook once you upgrade to version 1.6.0

Upgrading to 1.5


To take advantage of the ability to handle both REST and gRPC on any deployed model python model images will need to be recreated using the 1.5 python wrapper. If they are not updated they will only expose the protocol they were originally wrapped for.

You can use and extend the backwards compatibility notebook to check your deployments will work if you do not intend to upgrade them.

Upgrading to Kubernetes version >= 1.18

If you have a Kubernetes cluster with Seldon Core installed, and you want to upgrade the Kubernetes cluster, you have to carry out a set of manual steps due to the more strict validation that this version of Kubernetes introduced.

To be more specific, we had to provide two versions of the CRD as part of the seldon core install helm chart. Similarly the CRD for Seldon Core in Kubernetes post-1.18 is actually differnt - namely, you can actually see that in version 1.3.0 we introduced new CRD changes in the helm chart via an IF statement to use a different CRD depending on the k8s version. Due to this, the path to upgrade from pre-1.18 to post-1.18 requires the following manual steps to be carried out:

  1. Start with kubernetes cluster pre 1.18 with seldon core pre-1.3.0

  2. Upgrade Kubernetes cluster to post 1.18 (seldon core CRD is now “invalid” but still installed as still in etcd)

  3. Manually add “spec.preserveUnknownFields”, to helm chart and install CRD (so it ignores invalid fields of now invalid CRD)

  4. Remove the “spec.preserveUnknownFields”, from helm chart manually again, and re-install now the current CRD

Upgrading to 1.3

Breaking Changes

The version of sklearn used by the default sklearn server will be 0.23.2. To use a different version you will need to follow the steps described in the sklearn server documentation.

Upgrading to 1.2.1

[NOTE] 1.2.0 has issue where all Seldon Deployments are marked as “NotReady” as there is a bug caused by a volumeName update. This can be resolved by following the 1.2.0 volume patch as outlined by this example. It is recommended to upgrade to version 1.2.1 directly instead.

All seldon-managed pods will be subject to a rolling update as part of this upgrade.

New Features / Breaking Changes

  • The helm value createResources has been renamed managerCreateResources.

  • To allow CRDs to be created by the manager. If managerCreateResources is true then extra RBAC to create CRDs is added from the previous versions RBAC which was to just list and get.

  • If upgrading the analytics helm chart then a kubectl delete deployment -n seldon-system -l app=grafana should be run first

  • All the prepackaged model servers are now created with RedHat UBI images. One consequence of this is that they will all run as non-root as it best practice.

Request Logger

The values.yaml for the seldon-core-operator helm chart has changed. The field defaultRequestLoggerEndpointPrefix is replaced by:

  defaultEndpoint: 'http://default-broker'

This default value will find a broker in the model’s namespace. To point to another namespace it would be default-broker.anothernamespace.

Upgrading to 1.1 from previous versions

As we moved to 1.x+ there are several breaking changes that need to be considered. These are outlined below

New Features / Breaking Changes

Deployment Naming and Rolling Updates

The deployments created by Seldon Core have been changed to follow a fixed scheme. It will now be:

<seldondeployment name>-<predictor name>-<podspec idx>-<container names>

So for example:

apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
  name: rest-seldon
  name: restseldon
  protocol: seldon
  transport: rest
  - componentSpecs:
    - spec:
        - image: seldonio/mock_classifier_rest:1.3
          name: classifier
      name: classifier
      type: MODEL
    name: model
    replicas: 1

For the above resource, one Deployment will be created with name:


This will change how rolling updates are done. Now any change to the first PodSpec above will be updated via a rolling update as expected if the names of the containers are not changed. If however you changed “classifier” to “classifier2” you would get a new deployment created which would replace the old deployment when running.

New Service Orchestrator

From version 1.1 Seldon Core comes with a new service orchestrator written in Go which replaces the previous Java engine. Some breaking changes are present:

  • Metadata fields in the Seldon Protocol are no longer added. Any custom metata data will need to be added and exposed to Prometheus metrics by the individual components in the graph

  • All components in the graph must either be REST or gRPC and only the given protocol is exposed externally.

  • The metric names placed in Prometheus have changed to include the executor name rather than engine : see the analytics docs

The new service orchestrator comes with several advantages including ability to handle Tensorflow REST and gRPC protocols and full metrics and tracing support for both REST and gRPC.

For those wishing to use the deprecated Java engine service orchestrator see the service orchestrator docs for details.

Ambassador Retries

Ambassador retries has been removed from the previous hardwired value of 3. Retries is now available via an annotation for Ambassador.

Python Wrapper Tag Update

The Python Wrapper was using naming convention in the format 0.1 … 0.18. In this release we have renamed the version of the Python Wrapper tag to match the same convention as the Executor, Operator, etc. This means that the Python Wrapper tag for this release is 1.1, and the snapshot would be 1.1.1-SNAPSHOT


Whenever a new PR was merged to master, we have set up our CI to build a “SNAPSHOT” version, which would contain the Docker images for that specific development / master-branch code.

Previously, we always had the SNAPSHOT tag being overridden with the latest. This didn’t allow us to know what version someone may be trying out when using master, so we wanted to introduce a way to actually get unique tags for every image that gets landed into master.

Now every time that a PR is landed to master, a new “dated” SNAPSHOT version is created, which pushes images with the tag "<next-version>-SNAPSHOT_<timestamp>". A new branch is also created with the name "v<next-version>-SNAPSHOT_<timestamp>", which contains the respective helm charts, and allows for the specific version (as outlined by the version in version.txt) to be installed.

You can follow the instructions in the installation page to install the snapshot version.

Wrapper compatibility table

To verify if Seldon Core v1.0 and v.1.1 is compatible with older s2i wrapper versions we conducted a simple test with a one-node model. The model has been deployed both with REST and GRPC API with both new orchestrator and the deprecated Java engine (v1.0 only with Java Engine). Test verifies if model can successfully serve inference requests.

NOTE: Full support of custom metrics and tags with new orchestrator is only available from Python wrapper version 0.19. If you need to use older version of Python wrapper you can continue to use Java engine as described above until the next release.

Language Wrapper


API Type

New Orchestrator

Deprecated Java engine







full support of custom metrics and tags


0.11 … 0.18


















< 0.10






0.2 & 0.1




minor difference in request format


0.2 & 0.1





Example of request format difference with Java wrapper deployed with REST API:

  1. Using new orchestrator:

    curl -s -X POST \
     -d 'json={"data": {"names": ["a", "b"], "ndarray": [[1.0, 2.0]]}}' \
  2. Using deprecated Java engine:

    curl -s -X POST -H 'Content-Type: application/json' \
     -d '{"data": {"names": ["a", "b"], "ndarray": [[1.0, 2.0]]}}' \

Upgrading to 0.5.2 from previous versions

This version included significant improvements and features, including the addition of pre-packaged model servers, fixing several critical bugs.

This was the version that also dropped support for kubernetes 1.11, and added changes in the mutating and validating webhooks that you need to make sure are transitioned as outlined below.

Upgrading process

In order to upgrade, the main requirement is to make sure that the Kubernetes cluster is updated to 1.12 or higher.

Once this is done, it’s necessary to delete the old webhooks. This can be done with the following commands (you need to make sure that the commands are executed in the namespace in which seldon core was installed).

Upgrading to 0.2.8 from previous versions.

Upgrading process

Installation process now with Helm

The helm charts to install Seldon Core have changed. There is now a single Helm chart seldon-core-operator that installs the CRD and its controller. Ingress options are now separate and you need to choose between the available options which are at present:

  • Ambassador - via its official Helm chart

  • Istio

For more details see the install docs.

The Helm chart seldon-core-operator will require clusterwide RBAC and should be installed by a cluster admin.

Dropping support for KSonnet

Ksonnet is now deprecated. You should convert to using Helm to install Seldon Core.