Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

The "Update Deployment" operation of the Dataiku DSS node allows users to update an existing deployment in the Dataiku Project Deployer service. This operation is useful when you want to modify the configuration or settings of a deployment that has already been created, such as changing deployment parameters or updating deployment metadata.

Typical scenarios include:

  • Adjusting deployment settings after initial creation.
  • Updating deployment configurations to reflect changes in the project or environment.
  • Automating deployment updates as part of CI/CD pipelines.

For example, if you have a deployment running a machine learning model and need to update its resource allocation or version, this operation enables you to do so programmatically via the Dataiku DSS API.

Properties

Name Meaning
Deployment ID The unique identifier of the deployment to update.
Request Body A JSON object containing the fields and values to update in the deployment configuration.

Output

The output of this operation is the JSON response from the Dataiku DSS API after updating the deployment. It typically contains the updated deployment details or confirmation of the update action.

If the API returns binary data (not typical for update operations), it would be provided as binary output, but for this operation, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials.
  • Missing Deployment ID: The operation requires a Deployment ID; omitting this will cause an error.
  • Invalid JSON in Request Body: The request body must be valid JSON; malformed JSON will cause the API call to fail.
  • API Errors: Any errors returned by the Dataiku DSS API (e.g., unauthorized, not found, bad request) will be surfaced as node errors with messages indicating the issue.
  • Network Issues: Connectivity problems to the Dataiku DSS server will result in request failures.

To resolve these issues:

  • Ensure credentials are correctly configured.
  • Provide all required parameters, especially Deployment ID.
  • Validate the JSON structure of the request body.
  • Check network connectivity and API endpoint accessibility.

Links and References

Discussion