Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A DTK plugin is created and committed by following these steps:

...

Committing a User Defined Package

For On-Premise, Non-Containerized environment:

New or updated code is inserted into the system using the mzsh Command Line Tool:

Code Block
> mzsh username/password pcommit my_agent.mzp

For Containerized Environment (AWS or private container):

Before committing any user defined packages, your containerized environment needs to have been configured so that the /opt/mz/codeserver-dtk folder is mounted to a persistent storage.

An example configuration for this is provided. Look for the lines "# uncomment in order to load development toolkits from persistent storage" in the following config files:

  • mzhome-pvc.yaml
  • platform-statefulset.yaml

Example of configs can be download fromĀ Release Notes 8.1.

This is a one time configuration. Once done, any user defined package can be committed as per the instructions below.

Transfer the file to theĀ kubernetes container and restart the pod.

Code Block
> kubectl cp my_agent.mzp delivery/platform-0:/opt/mz/codeserver-dtk/packages/active
> kubectl delete pod platform-0