Skip to content

Deployment state#

The status of a deployment corresponds to the status of the predictor configured within it.

Note

Currently, only one predictor is supported in a deployment. Support for multiple predictors (the inference graphs) is coming soon.

Retrieval#

[source]

get_state#

Deployment.get_state()

Get the current state of the deployment

Returns

PredictorState. The state of the deployment.


Properties#

[source]

available_predictor_instances#

Available predicotr instances.


[source]

available_transformer_instances#

Available transformer instances.


[source]

conditions#

Conditions of the current state of predictor.


[source]

deployed#

Whether the predictor is deployed or not.


[source]

hopsworks_inference_path#

Inference path in the Hopsworks REST API.


[source]

internal_port#

Internal port for the predictor.


[source]

model_server_inference_path#

Inference path in the model server


[source]

revision#

Last revision of the predictor.


[source]

status#

Status of the predictor.


Methods#

[source]

describe#

PredictorState.describe()

Print a description of the deployment state


[source]

to_dict#

PredictorState.to_dict()